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.001028/0.001028, allocations: 106 kB / 17.74 MB, free: 5.324 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.00104/0.00104, allocations: 192.1 kB / 18.68 MB, free: 4.395 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.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2103/0.2103, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3978, allocations: 60.82 MB / 0.5188 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01261/0.4105, allocations: 11.54 MB / 0.5301 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008101/0.4187, allocations: 3.018 MB / 0.5331 GB, free: 9.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003172/0.4219, allocations: 63.12 kB / 0.5331 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003901/0.4258, allocations: 1.552 MB / 0.5346 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004654/0.4305, allocations: 1.587 MB / 0.5362 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.431, allocations: 111.5 kB / 0.5363 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004899/0.4359, allocations: 3.331 MB / 0.5395 GB, free: 5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002998/0.439, allocations: 2.196 MB / 0.5417 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002392/0.4414, allocations: 1.163 MB / 0.5428 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003757/0.4452, allocations: 2.428 MB / 0.5452 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007712/0.4459, allocations: 232 kB / 0.5454 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.4475, allocations: 0.7021 MB / 0.5461 GB, free: 40 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001414/0.449, allocations: 1.511 MB / 0.5476 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.4508, allocations: 1.84 MB / 0.5494 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005702/0.4565, allocations: 5.97 MB / 0.5552 GB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4565, allocations: 0 / 0.5552 GB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4565, allocations: 0 / 0.5552 GB, free: 6.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001158/0.4566, allocations: 0 / 0.5552 GB, free: 6.68 MB / 414.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.007223/0.4639, allocations: 4.022 MB / 0.5591 GB, free: 2.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.4639, allocations: 12.03 kB / 0.5591 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009638/0.4736, allocations: 2.959 MB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/0.4773, allocations: 1.839 MB / 0.5638 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.4775, allocations: 184.9 kB / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005571/0.4781, allocations: 239.8 kB / 0.5642 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0161/0.4942, allocations: 9.76 MB / 0.5738 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.588e-05/0.4943, allocations: 19.88 kB / 0.5738 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008788/0.4952, allocations: 111.8 kB / 0.5739 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00414/0.4994, allocations: 2.362 MB / 0.5762 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01724/0.5166, allocations: 8.954 MB / 0.5849 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04927/0.5659, allocations: 29.5 MB / 0.6137 GB, free: 9.473 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007107/0.5731, allocations: 3.483 MB / 0.6171 GB, free: 5.738 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/0.5749, allocations: 1.099 MB / 0.6182 GB, free: 4.629 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/0.5859, allocations: 6.469 MB / 0.6245 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.586, allocations: 51.16 kB / 0.6246 GB, free: 13.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.809e-06/0.586, allocations: 0 / 0.6246 GB, free: 13.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.008023/0.594, allocations: 3.13 MB / 0.6276 GB, free: 10.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.5941, allocations: 111.5 kB / 0.6277 GB, free: 10.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005394/0.5995, allocations: 2.737 MB / 0.6304 GB, free: 7.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.5997, allocations: 41.7 kB / 0.6305 GB, free: 7.598 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002425/0.6021, allocations: 2.735 MB / 0.6331 GB, free: 4.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008064/0.6029, allocations: 0.5246 MB / 0.6336 GB, free: 4.289 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001767/0.6047, allocations: 0.9284 MB / 0.6346 GB, free: 3.348 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6048, allocations: 301.1 kB / 0.6348 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/0.6072, allocations: 1.403 MB / 0.6362 GB, free: 1.641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004595/0.6118, allocations: 4.229 MB / 0.6403 GB, free: 12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006854/0.6186, allocations: 6.155 MB / 0.6463 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.399e-05/0.6187, allocations: 28 kB / 0.6464 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.00861/0.6274, allocations: 5.454 MB / 0.6517 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.533e-05/0.6275, allocations: 48 kB / 0.6517 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/0.6276, allocations: 100 kB / 0.6518 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.6278, allocations: 132 kB / 0.652 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002737/0.6305, allocations: 0.9981 MB / 0.6529 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001756/0.6307, allocations: 195.8 kB / 0.6531 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/0.6336, allocations: 0.6147 MB / 0.6537 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004026/0.634, allocations: 296 kB / 0.654 GB, free: 12.57 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.002927/0.6369, allocations: 1.981 MB / 0.6559 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004729/0.6374, allocations: 232.8 kB / 0.6562 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006635/0.6381, allocations: 288.8 kB / 0.6564 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.764e-05/0.6381, allocations: 16 kB / 0.6565 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.6382, allocations: 0 / 0.6565 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.6382, allocations: 7.984 kB / 0.6565 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.65, allocations: 6.189 MB / 0.6625 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.6501, allocations: 12.06 kB / 0.6625 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00066/0.6508, allocations: 167.7 kB / 0.6627 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/0.6508, allocations: 12 kB / 0.6627 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/0.6509, allocations: 24 kB / 0.6627 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.661e-05/0.6509, allocations: 19.92 kB / 0.6627 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.6509, allocations: 11.94 kB / 0.6627 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/0.6537, allocations: 2.002 MB / 0.6647 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005941/0.6543, allocations: 305.8 kB / 0.665 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003518/0.6546, allocations: 31.98 kB / 0.665 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007525/0.6554, allocations: 39.95 kB / 0.6651 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.6555, allocations: 84.3 kB / 0.6651 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/0.6557, allocations: 47.98 kB / 0.6652 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00299/0.6587, allocations: 1.674 MB / 0.6668 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6587, allocations: 4 kB / 0.6668 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004048/0.6628, allocations: 1.042 MB / 0.6678 GB, free: 14.07 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.000359/0.6632, allocations: 154.9 kB / 0.668 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005336/0.6685, allocations: 3.291 MB / 0.6712 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.6685, allocations: 0 / 0.6712 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.6697, allocations: 0.7904 MB / 0.672 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.6714, allocations: 318.9 kB / 0.6723 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/0.688, allocations: 7.673 MB / 0.6798 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004499/0.6925, allocations: 3.104 MB / 0.6828 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003481/0.696, allocations: 1.544 MB / 0.6843 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/0.6966, allocations: 171.4 kB / 0.6845 GB, free: 12.89 MB / 0.545 GB Notification: Performance of SimCode: time 8.32e-07/0.6966, allocations: 0 / 0.6845 GB, free: 12.89 MB / 0.545 GB Notification: Performance of Templates: time 0.03843/0.7351, allocations: 16.15 MB / 0.7002 GB, free: 12.82 MB / 0.5606 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