Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 107.6 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.21/0.21, allocations: 44.18 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 72.28 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1255, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02909/0.1546, allocations: 28.95 MB / 497.5 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01522/0.1698, allocations: 5.862 MB / 0.4915 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006733/0.1766, allocations: 115.8 kB / 0.4916 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003427/0.1801, allocations: 1.531 MB / 0.4931 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003611/0.1838, allocations: 1.487 MB / 0.4946 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.1842, allocations: 111.9 kB / 0.4947 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005949/0.1902, allocations: 4.897 MB / 0.4995 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003131/0.1934, allocations: 2.174 MB / 0.5016 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.1951, allocations: 1.023 MB / 0.5026 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2275/0.4226, allocations: 2.882 MB / 0.5054 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009598/0.4236, allocations: 168.2 kB / 0.5056 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.4254, allocations: 0.6914 MB / 0.5063 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00172/0.4272, allocations: 1.471 MB / 0.5077 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003431/0.4306, allocations: 1.791 MB / 0.5094 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008093/0.4387, allocations: 5.633 MB / 0.5149 GB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4388, allocations: 0.5312 kB / 0.5149 GB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4388, allocations: 0.5 kB / 0.5149 GB, free: 11.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002221/0.439, allocations: 0.5 kB / 0.5149 GB, free: 11.73 MB / 382.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.01256/0.4516, allocations: 4.023 MB / 0.5189 GB, free: 10 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.4516, allocations: 12.66 kB / 0.5189 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.4619, allocations: 2.961 MB / 0.5218 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004795/0.4667, allocations: 1.814 MB / 0.5235 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.467, allocations: 184.1 kB / 0.5237 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/0.4683, allocations: 234.5 kB / 0.5239 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0193/0.4876, allocations: 9.763 MB / 0.5335 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.37e-05/0.4877, allocations: 16.66 kB / 0.5335 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003884/0.4881, allocations: 117.9 kB / 0.5336 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003099/0.4912, allocations: 2.368 MB / 0.5359 GB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01609/0.5073, allocations: 8.953 MB / 0.5447 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05013/0.5575, allocations: 29.72 MB / 0.5737 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006712/0.5643, allocations: 3.479 MB / 0.5771 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.5659, allocations: 1.1 MB / 0.5782 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/0.5764, allocations: 6.469 MB / 0.5845 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.5764, allocations: 51.2 kB / 0.5845 GB, free: 3.539 MB / 430.1 MB Notification: Performance of pre-optimization done (n=135): time 4.027e-06/0.5764, allocations: 0 / 0.5845 GB, free: 3.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=135): time 0.007791/0.5842, allocations: 3.135 MB / 0.5876 GB, free: 416 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.5843, allocations: 111.5 kB / 0.5877 GB, free: 280 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004003/0.5884, allocations: 2.738 MB / 0.5904 GB, free: 13.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.5885, allocations: 41.7 kB / 0.5904 GB, free: 13.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001958/0.5904, allocations: 2.732 MB / 0.5931 GB, free: 10.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005662/0.591, allocations: 0.5215 MB / 0.5936 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.5922, allocations: 0.9278 MB / 0.5945 GB, free: 9.277 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5924, allocations: 301.1 kB / 0.5948 GB, free: 8.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.5943, allocations: 1.41 MB / 0.5962 GB, free: 7.566 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004019/0.5983, allocations: 4.225 MB / 0.6003 GB, free: 1.973 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007077/0.6054, allocations: 6.153 MB / 0.6063 GB, free: 10.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.082e-05/0.6055, allocations: 28 kB / 0.6063 GB, free: 10.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009828/0.6154, allocations: 5.449 MB / 0.6116 GB, free: 5.953 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/0.6155, allocations: 52.91 kB / 0.6117 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/0.6156, allocations: 100 kB / 0.6118 GB, free: 5.805 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001594/0.6158, allocations: 136.2 kB / 0.6119 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/0.6187, allocations: 0.9931 MB / 0.6129 GB, free: 4.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001599/0.6188, allocations: 199.4 kB / 0.6131 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/0.6219, allocations: 0.6145 MB / 0.6137 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000411/0.6224, allocations: 290.2 kB / 0.6139 GB, free: 3.715 MB / 462.1 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.003785/0.6262, allocations: 1.975 MB / 0.6159 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004681/0.6266, allocations: 232.8 kB / 0.6161 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.6271, allocations: 292.8 kB / 0.6164 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.24e-05/0.6272, allocations: 19.98 kB / 0.6164 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.6272, allocations: 0 / 0.6164 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.6272, allocations: 7.984 kB / 0.6164 GB, free: 1.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.6376, allocations: 6.195 MB / 0.6225 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.6376, allocations: 8 kB / 0.6225 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006186/0.6382, allocations: 162.5 kB / 0.6226 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.6383, allocations: 15.94 kB / 0.6226 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/0.6383, allocations: 30.11 kB / 0.6227 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.431e-05/0.6384, allocations: 19.08 kB / 0.6227 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.6384, allocations: 13.91 kB / 0.6227 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.6408, allocations: 1.999 MB / 0.6246 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005619/0.6413, allocations: 309.8 kB / 0.6249 GB, free: 8.328 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.6416, allocations: 28.25 kB / 0.625 GB, free: 8.301 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006374/0.6422, allocations: 47.95 kB / 0.625 GB, free: 8.254 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.6424, allocations: 85.17 kB / 0.6251 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/0.6425, allocations: 50.11 kB / 0.6251 GB, free: 8.129 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003225/0.6457, allocations: 1.67 MB / 0.6268 GB, free: 6.449 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6458, allocations: 0 / 0.6268 GB, free: 6.449 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004787/0.6505, allocations: 1.045 MB / 0.6278 GB, free: 5.402 MB / 478.1 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.000408/0.651, allocations: 156.4 kB / 0.6279 GB, free: 5.254 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004893/0.6559, allocations: 3.248 MB / 0.6311 GB, free: 2.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.6559, allocations: 0 / 0.6311 GB, free: 2.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009584/0.6569, allocations: 0.797 MB / 0.6319 GB, free: 1.277 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.6586, allocations: 304.6 kB / 0.6322 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/0.6742, allocations: 9.77 MB / 0.6417 GB, free: 7.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003489/0.6777, allocations: 3.092 MB / 0.6447 GB, free: 3.969 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003737/0.6815, allocations: 1.548 MB / 0.6463 GB, free: 2.414 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.6819, allocations: 167.4 kB / 0.6464 GB, free: 2.25 MB / 494.1 MB Notification: Performance of SimCode: time 1.412e-06/0.6819, allocations: 0 / 0.6464 GB, free: 2.25 MB / 494.1 MB Notification: Performance of Templates: time 0.04201/0.7239, allocations: 19.13 MB / 0.6651 GB, free: 15.28 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches