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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001008/0.001008, allocations: 105.7 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3395/0.3395, allocations: 44.82 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001085, allocations: 67.88 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3216, allocations: 62.01 MB / 0.5151 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02321/0.3449, allocations: 28.98 MB / 0.5434 GB, free: 17.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01584/0.3608, allocations: 5.912 MB / 0.5492 GB, free: 13.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005348/0.3662, allocations: 119 kB / 0.5493 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00337/0.3696, allocations: 1.547 MB / 0.5508 GB, free: 12.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00447/0.3741, allocations: 1.49 MB / 0.5523 GB, free: 11.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.3746, allocations: 112.2 kB / 0.5524 GB, free: 11.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007261/0.3819, allocations: 4.915 MB / 0.5572 GB, free: 10.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004432/0.3864, allocations: 2.184 MB / 0.5593 GB, free: 9.441 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/0.3891, allocations: 1.019 MB / 0.5603 GB, free: 8.906 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005202/0.3943, allocations: 2.884 MB / 0.5631 GB, free: 7.207 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001435/0.3958, allocations: 172.1 kB / 0.5633 GB, free: 7.203 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.3984, allocations: 0.6866 MB / 0.564 GB, free: 6.891 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002451/0.4009, allocations: 1.473 MB / 0.5654 GB, free: 5.961 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004176/0.4051, allocations: 1.789 MB / 0.5672 GB, free: 4.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008496/0.4136, allocations: 5.626 MB / 0.5727 GB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.4137, allocations: 4 kB / 0.5727 GB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.4137, allocations: 0 / 0.5727 GB, free: 14.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002824/0.414, allocations: 0 / 0.5727 GB, free: 14.51 MB / 394.7 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.01195/0.426, allocations: 4.03 MB / 0.5766 GB, free: 10.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.426, allocations: 8.031 kB / 0.5766 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.4364, allocations: 2.963 MB / 0.5795 GB, free: 7.434 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005524/0.442, allocations: 1.808 MB / 0.5813 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/0.4424, allocations: 188.9 kB / 0.5814 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/0.4438, allocations: 239.8 kB / 0.5817 GB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/0.4642, allocations: 9.76 MB / 0.5912 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/0.4644, allocations: 11.88 kB / 0.5912 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001182/0.4656, allocations: 123.7 kB / 0.5913 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004461/0.4701, allocations: 2.358 MB / 0.5936 GB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01946/0.4896, allocations: 8.952 MB / 0.6024 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05136/0.541, allocations: 29.74 MB / 0.6314 GB, free: 1.078 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006607/0.5477, allocations: 3.473 MB / 0.6348 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.5493, allocations: 1.105 MB / 0.6359 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/0.5611, allocations: 6.465 MB / 0.6422 GB, free: 5.355 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.5612, allocations: 47.16 kB / 0.6423 GB, free: 5.301 MB / 458.7 MB Notification: Performance of pre-optimization done (n=135): time 4.138e-06/0.5612, allocations: 0 / 0.6423 GB, free: 5.301 MB / 458.7 MB Notification: Performance of matching and sorting (n=135): time 0.007728/0.5689, allocations: 3.13 MB / 0.6453 GB, free: 2.164 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/0.569, allocations: 123.4 kB / 0.6454 GB, free: 2.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004874/0.5739, allocations: 2.733 MB / 0.6481 GB, free: 15.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.5741, allocations: 45.69 kB / 0.6481 GB, free: 15.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001957/0.576, allocations: 2.731 MB / 0.6508 GB, free: 12.44 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006586/0.5767, allocations: 0.5207 MB / 0.6513 GB, free: 11.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/0.5782, allocations: 0.9245 MB / 0.6522 GB, free: 10.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.5783, allocations: 301.1 kB / 0.6525 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/0.5805, allocations: 1.406 MB / 0.6539 GB, free: 9.266 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004351/0.5848, allocations: 4.229 MB / 0.658 GB, free: 3.621 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007187/0.592, allocations: 6.147 MB / 0.664 GB, free: 12.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001236/0.5922, allocations: 32 kB / 0.664 GB, free: 12.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009263/0.6015, allocations: 5.454 MB / 0.6694 GB, free: 6.574 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.304e-05/0.6016, allocations: 56 kB / 0.6694 GB, free: 6.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/0.6017, allocations: 100 kB / 0.6695 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/0.6019, allocations: 132 kB / 0.6696 GB, free: 6.293 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/0.6046, allocations: 0.9942 MB / 0.6706 GB, free: 5.297 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001534/0.6047, allocations: 195.2 kB / 0.6708 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/0.6078, allocations: 0.6106 MB / 0.6714 GB, free: 4.488 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004528/0.6083, allocations: 284 kB / 0.6717 GB, free: 4.211 MB / 490.7 MB 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.00298/0.6113, allocations: 1.989 MB / 0.6736 GB, free: 2.207 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004301/0.6117, allocations: 228.9 kB / 0.6738 GB, free: 1.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006348/0.6124, allocations: 292.7 kB / 0.6741 GB, free: 1.688 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.358e-05/0.6124, allocations: 16 kB / 0.6741 GB, free: 1.672 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.6124, allocations: 4 kB / 0.6741 GB, free: 1.668 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6124, allocations: 3.984 kB / 0.6741 GB, free: 1.664 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2646/0.877, allocations: 6.197 MB / 0.6802 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.8771, allocations: 7.5 kB / 0.6802 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/0.8777, allocations: 167.6 kB / 0.6804 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/0.8777, allocations: 13.66 kB / 0.6804 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/0.8778, allocations: 27.88 kB / 0.6804 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.404e-05/0.8778, allocations: 17.92 kB / 0.6804 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.8778, allocations: 11.06 kB / 0.6804 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/0.8812, allocations: 3.804 MB / 0.6841 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006308/0.8818, allocations: 312.9 kB / 0.6844 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.882, allocations: 25.25 kB / 0.6845 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006288/0.8827, allocations: 42.89 kB / 0.6845 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.8828, allocations: 89.05 kB / 0.6846 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.702e-05/0.8829, allocations: 46.88 kB / 0.6846 GB, free: 124.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002287/0.8852, allocations: 1.677 MB / 0.6863 GB, free: 123.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.8852, allocations: 0 / 0.6863 GB, free: 123.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004099/0.8893, allocations: 1.038 MB / 0.6873 GB, free: 123.5 MB / 490.7 MB 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.000359/0.8897, allocations: 157.8 kB / 0.6874 GB, free: 123.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004195/0.8939, allocations: 3.251 MB / 0.6906 GB, free: 122.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.8939, allocations: 2.875 kB / 0.6906 GB, free: 122.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007883/0.8947, allocations: 0.7946 MB / 0.6914 GB, free: 122.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.8963, allocations: 287.1 kB / 0.6917 GB, free: 122 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.91, allocations: 10.66 MB / 0.7021 GB, free: 116 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004226/0.9143, allocations: 3.148 MB / 0.7051 GB, free: 114.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004877/0.9192, allocations: 1.551 MB / 0.7067 GB, free: 114.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005148/0.9197, allocations: 168.5 kB / 0.7068 GB, free: 114.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.272e-06/0.9197, allocations: 0 / 0.7068 GB, free: 114.6 MB / 490.7 MB Notification: Performance of Templates: time 0.03958/0.9593, allocations: 19.65 MB / 0.726 GB, free: 106.5 MB / 490.7 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches