Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001221/0.001221, allocations: 113.7 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 206.7 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.196/0.196, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 75.83 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2675, allocations: 62.44 MB / 0.5316 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01117/0.2787, allocations: 11.5 MB / 0.5429 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00612/0.2849, allocations: 3.056 MB / 0.5459 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001748/0.2867, allocations: 61.97 kB / 0.5459 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003313/0.29, allocations: 1.571 MB / 0.5475 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.2939, allocations: 1.612 MB / 0.549 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.2943, allocations: 111.8 kB / 0.5491 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004269/0.2986, allocations: 3.298 MB / 0.5524 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.3012, allocations: 2.191 MB / 0.5545 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.3028, allocations: 1.148 MB / 0.5556 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003045/0.3058, allocations: 2.425 MB / 0.558 GB, free: 6.609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006413/0.3065, allocations: 228 kB / 0.5582 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.3079, allocations: 0.7138 MB / 0.5589 GB, free: 5.672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001331/0.3092, allocations: 1.504 MB / 0.5604 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001778/0.311, allocations: 1.808 MB / 0.5621 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005846/0.3169, allocations: 5.912 MB / 0.5679 GB, free: 12.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3169, allocations: 7.984 kB / 0.5679 GB, free: 12.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3169, allocations: 0 / 0.5679 GB, free: 12.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001331/0.3171, allocations: 0 / 0.5679 GB, free: 12.4 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.006646/0.3237, allocations: 3.983 MB / 0.5718 GB, free: 8.352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3238, allocations: 12.92 kB / 0.5718 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008772/0.3326, allocations: 2.967 MB / 0.5747 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003391/0.336, allocations: 1.839 MB / 0.5765 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.3362, allocations: 180.9 kB / 0.5767 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006313/0.3368, allocations: 243.8 kB / 0.5769 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.3502, allocations: 9.757 MB / 0.5864 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.358e-05/0.3503, allocations: 19.81 kB / 0.5865 GB, free: 8.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003206/0.3506, allocations: 111.8 kB / 0.5866 GB, free: 8.801 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003143/0.3538, allocations: 2.373 MB / 0.5889 GB, free: 6.426 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.369, allocations: 8.944 MB / 0.5976 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03839/0.4074, allocations: 29.49 MB / 0.6264 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006149/0.4136, allocations: 3.474 MB / 0.6298 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.4152, allocations: 1.107 MB / 0.6309 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009649/0.4248, allocations: 6.453 MB / 0.6372 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.4249, allocations: 55.14 kB / 0.6372 GB, free: 3.445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 5.099e-06/0.4249, allocations: 3.938 kB / 0.6373 GB, free: 3.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.007537/0.4325, allocations: 3.126 MB / 0.6403 GB, free: 316 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.4326, allocations: 119.5 kB / 0.6404 GB, free: 172 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/0.4369, allocations: 2.725 MB / 0.6431 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001698/0.4371, allocations: 41.64 kB / 0.6431 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002223/0.4394, allocations: 2.731 MB / 0.6458 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006643/0.4401, allocations: 0.5206 MB / 0.6463 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/0.4416, allocations: 0.9284 MB / 0.6472 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.4417, allocations: 305.1 kB / 0.6475 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.4437, allocations: 1.403 MB / 0.6489 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00361/0.4474, allocations: 4.233 MB / 0.653 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005909/0.4533, allocations: 6.151 MB / 0.659 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.339e-05/0.4534, allocations: 28 kB / 0.659 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.007969/0.4614, allocations: 5.462 MB / 0.6644 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.096e-05/0.4615, allocations: 48 kB / 0.6644 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/0.4616, allocations: 100 kB / 0.6645 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001161/0.4617, allocations: 132 kB / 0.6646 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.4644, allocations: 0.9949 MB / 0.6656 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001392/0.4645, allocations: 195.2 kB / 0.6658 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/0.4671, allocations: 0.6068 MB / 0.6664 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004031/0.4675, allocations: 292 kB / 0.6667 GB, free: 2.359 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 543 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002538/0.47, allocations: 1.973 MB / 0.6686 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/0.4704, allocations: 232.8 kB / 0.6688 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/0.4709, allocations: 292.8 kB / 0.6691 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/0.4709, allocations: 16 kB / 0.6691 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4709, allocations: 0 / 0.6691 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.4709, allocations: 7.984 kB / 0.6691 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008773/0.4797, allocations: 6.192 MB / 0.6752 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.4798, allocations: 7.938 kB / 0.6752 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005698/0.4803, allocations: 159.8 kB / 0.6753 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/0.4804, allocations: 12 kB / 0.6753 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/0.4804, allocations: 28 kB / 0.6754 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.4804, allocations: 19.92 kB / 0.6754 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/0.4805, allocations: 15.94 kB / 0.6754 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.4825, allocations: 2.002 MB / 0.6773 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/0.4829, allocations: 306 kB / 0.6776 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.4831, allocations: 28 kB / 0.6777 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/0.4837, allocations: 43.95 kB / 0.6777 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.4839, allocations: 88.22 kB / 0.6778 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.902e-05/0.484, allocations: 55.97 kB / 0.6778 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002207/0.4862, allocations: 1.666 MB / 0.6795 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4862, allocations: 0 / 0.6795 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003103/0.4893, allocations: 1.03 MB / 0.6805 GB, free: 3.867 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003036/0.4896, allocations: 147 kB / 0.6806 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004231/0.4938, allocations: 3.282 MB / 0.6838 GB, free: 468 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.4939, allocations: 0 / 0.6838 GB, free: 468 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008566/0.4947, allocations: 0.7949 MB / 0.6846 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.4962, allocations: 318.3 kB / 0.6849 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.508, allocations: 8.123 MB / 0.6928 GB, free: 7.102 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002918/0.5109, allocations: 3.107 MB / 0.6959 GB, free: 3.965 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/0.5115, allocations: 211.4 kB / 0.6961 GB, free: 3.758 MB / 0.545 GB Notification: Performance of SimCode: time 7.52e-07/0.5115, allocations: 0 / 0.6961 GB, free: 3.758 MB / 0.545 GB Notification: Performance of Templates: time 0.2565/0.768, allocations: 44.78 MB / 0.7398 GB, free: 152.3 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches