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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009967/0.0009965, allocations: 105.7 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3286/0.3286, allocations: 44.14 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 55.91 kB / 457.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3174, allocations: 60.8 MB / 0.5064 GB, free: 38.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02105/0.3385, allocations: 28.97 MB / 0.5347 GB, free: 17.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.3522, allocations: 5.839 MB / 0.5404 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006132/0.3584, allocations: 126.4 kB / 0.5405 GB, free: 13.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.3613, allocations: 1.527 MB / 0.542 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00358/0.3649, allocations: 1.49 MB / 0.5434 GB, free: 12.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.3653, allocations: 106.7 kB / 0.5435 GB, free: 12.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004463/0.3697, allocations: 4.911 MB / 0.5483 GB, free: 10.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00296/0.3727, allocations: 2.187 MB / 0.5505 GB, free: 9.973 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.3743, allocations: 1.028 MB / 0.5515 GB, free: 9.578 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00393/0.3783, allocations: 2.884 MB / 0.5543 GB, free: 8.629 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006831/0.379, allocations: 168.8 kB / 0.5545 GB, free: 8.629 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.3805, allocations: 0.6879 MB / 0.5551 GB, free: 8.461 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.382, allocations: 1.474 MB / 0.5566 GB, free: 7.973 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.3837, allocations: 1.788 MB / 0.5583 GB, free: 6.676 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006416/0.3902, allocations: 5.635 MB / 0.5638 GB, free: 3.891 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3902, allocations: 0 / 0.5638 GB, free: 3.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3902, allocations: 0 / 0.5638 GB, free: 3.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002145/0.3904, allocations: 5.281 kB / 0.5638 GB, free: 3.887 MB / 378.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.01014/0.4006, allocations: 4.023 MB / 0.5678 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.4007, allocations: 18.05 kB / 0.5678 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/0.415, allocations: 2.958 MB / 0.5707 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006136/0.4212, allocations: 1.812 MB / 0.5724 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.4214, allocations: 184.9 kB / 0.5726 GB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001261/0.4227, allocations: 239.8 kB / 0.5728 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02437/0.4471, allocations: 9.757 MB / 0.5824 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-05/0.4473, allocations: 15.81 kB / 0.5824 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007795/0.4481, allocations: 115.8 kB / 0.5825 GB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006151/0.4542, allocations: 2.366 MB / 0.5848 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02607/0.4803, allocations: 8.95 MB / 0.5935 GB, free: 6.211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04562/0.526, allocations: 29.73 MB / 0.6226 GB, free: 7.734 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006497/0.5326, allocations: 3.482 MB / 0.626 GB, free: 4.012 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.5341, allocations: 1.112 MB / 0.6271 GB, free: 2.898 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01137/0.5455, allocations: 6.461 MB / 0.6334 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.5456, allocations: 51.14 kB / 0.6334 GB, free: 11.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=135): time 5.37e-06/0.5456, allocations: 4 kB / 0.6334 GB, free: 11.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=135): time 0.01131/0.5569, allocations: 3.126 MB / 0.6365 GB, free: 8.809 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.5571, allocations: 115.5 kB / 0.6366 GB, free: 8.672 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004721/0.5618, allocations: 2.734 MB / 0.6393 GB, free: 5.918 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.5619, allocations: 45.69 kB / 0.6393 GB, free: 5.867 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.5634, allocations: 2.727 MB / 0.642 GB, free: 3.098 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004496/0.5639, allocations: 0.5207 MB / 0.6425 GB, free: 2.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/0.565, allocations: 0.9362 MB / 0.6434 GB, free: 1.621 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.5651, allocations: 301.1 kB / 0.6437 GB, free: 1.324 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.5669, allocations: 1.407 MB / 0.645 GB, free: 15.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003548/0.5705, allocations: 4.225 MB / 0.6492 GB, free: 10.27 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006233/0.5768, allocations: 6.159 MB / 0.6552 GB, free: 2.707 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.728e-05/0.5768, allocations: 31.94 kB / 0.6552 GB, free: 2.676 MB / 474.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008116/0.585, allocations: 5.454 MB / 0.6605 GB, free: 13.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.945e-05/0.5851, allocations: 48 kB / 0.6606 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.754e-05/0.5851, allocations: 100 kB / 0.6607 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001164/0.5853, allocations: 132 kB / 0.6608 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/0.5879, allocations: 0.9942 MB / 0.6618 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001409/0.588, allocations: 199.2 kB / 0.662 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/0.5908, allocations: 0.6109 MB / 0.6626 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003382/0.5911, allocations: 292 kB / 0.6628 GB, free: 10.85 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.003142/0.5943, allocations: 1.977 MB / 0.6648 GB, free: 8.859 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003819/0.5947, allocations: 228.9 kB / 0.665 GB, free: 8.633 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005649/0.5952, allocations: 288.8 kB / 0.6653 GB, free: 8.344 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/0.5953, allocations: 20 kB / 0.6653 GB, free: 8.324 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.5953, allocations: 0 / 0.6653 GB, free: 8.324 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.5953, allocations: 7.969 kB / 0.6653 GB, free: 8.316 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009719/0.605, allocations: 6.192 MB / 0.6713 GB, free: 1.957 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.6051, allocations: 12.22 kB / 0.6714 GB, free: 1.945 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006388/0.6057, allocations: 167.7 kB / 0.6715 GB, free: 1.781 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-05/0.6058, allocations: 15.98 kB / 0.6715 GB, free: 1.766 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/0.6058, allocations: 24 kB / 0.6716 GB, free: 1.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-05/0.6059, allocations: 15.94 kB / 0.6716 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/0.6059, allocations: 11.94 kB / 0.6716 GB, free: 1.715 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003895/0.6098, allocations: 3.81 MB / 0.6753 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000551/0.6104, allocations: 309.8 kB / 0.6756 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.6106, allocations: 31.94 kB / 0.6756 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006373/0.6112, allocations: 39.95 kB / 0.6757 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.6114, allocations: 80.36 kB / 0.6757 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.928e-05/0.6115, allocations: 51.89 kB / 0.6758 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002349/0.6138, allocations: 1.685 MB / 0.6774 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.9e-07/0.6138, allocations: 3.938 kB / 0.6774 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003717/0.6176, allocations: 1.038 MB / 0.6785 GB, free: 10.47 MB / 0.4948 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.0003643/0.6179, allocations: 155.4 kB / 0.6786 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004583/0.6225, allocations: 3.251 MB / 0.6818 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.6225, allocations: 0 / 0.6818 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008996/0.6234, allocations: 0.7948 MB / 0.6826 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.625, allocations: 293.2 kB / 0.6828 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2103/0.8354, allocations: 10.65 MB / 0.6932 GB, free: 145 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00368/0.8391, allocations: 3.143 MB / 0.6963 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003606/0.8427, allocations: 1.553 MB / 0.6978 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.8432, allocations: 167.3 kB / 0.698 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.212e-06/0.8432, allocations: 0 / 0.698 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.04205/0.8852, allocations: 19.66 MB / 0.7172 GB, free: 141.8 MB / 0.4948 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches