Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009545/0.0009545, allocations: 199.9 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007667/0.0007668, allocations: 102.9 kB / 299.9 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3116/0.3116, allocations: 45.01 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002819/0.000282, allocations: 8 kB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3162, allocations: 63.1 MB / 0.5214 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01797/0.3343, allocations: 26.23 MB / 0.547 GB, free: 19.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.3466, allocations: 7.929 MB / 0.5547 GB, free: 13.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005082/0.3517, allocations: 122.7 kB / 0.5548 GB, free: 13.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.3528, allocations: 429.3 kB / 0.5553 GB, free: 13.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003846/0.3566, allocations: 1.498 MB / 0.5567 GB, free: 12.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.357, allocations: 109.4 kB / 0.5568 GB, free: 12.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007017/0.364, allocations: 4.893 MB / 0.5616 GB, free: 10.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004576/0.3686, allocations: 3.254 MB / 0.5648 GB, free: 8.609 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.3706, allocations: 0.9784 MB / 0.5657 GB, free: 8.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003353/0.3739, allocations: 2.735 MB / 0.5684 GB, free: 6.148 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005132/0.3745, allocations: 120 kB / 0.5685 GB, free: 6.031 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.3757, allocations: 0.6278 MB / 0.5691 GB, free: 5.402 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008996/0.3766, allocations: 1.402 MB / 0.5705 GB, free: 3.996 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.3778, allocations: 1.728 MB / 0.5722 GB, free: 2.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004908/0.3827, allocations: 5.492 MB / 0.5776 GB, free: 12.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3827, allocations: 0 / 0.5776 GB, free: 12.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3828, allocations: 0 / 0.5776 GB, free: 12.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001407/0.3829, allocations: 0 / 0.5776 GB, free: 12.74 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.005761/0.3887, allocations: 3.297 MB / 0.5808 GB, free: 9.375 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3887, allocations: 12.03 kB / 0.5808 GB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008859/0.3976, allocations: 3.049 MB / 0.5838 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003222/0.4008, allocations: 1.815 MB / 0.5855 GB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.401, allocations: 184.9 kB / 0.5857 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004389/0.4014, allocations: 239.8 kB / 0.5859 GB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.4154, allocations: 9.737 MB / 0.5954 GB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-05/0.4155, allocations: 19.81 kB / 0.5955 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/0.4158, allocations: 111.8 kB / 0.5956 GB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003233/0.4191, allocations: 2.369 MB / 0.5979 GB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.4342, allocations: 8.901 MB / 0.6066 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03773/0.4719, allocations: 29.76 MB / 0.6356 GB, free: 15.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005929/0.4779, allocations: 3.464 MB / 0.639 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.4794, allocations: 1.099 MB / 0.6401 GB, free: 11.17 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009161/0.4885, allocations: 6.479 MB / 0.6464 GB, free: 4.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.4886, allocations: 43.16 kB / 0.6465 GB, free: 4.219 MB / 458.7 MB Notification: Performance of pre-optimization done (n=135): time 5.571e-06/0.4886, allocations: 0 / 0.6465 GB, free: 4.219 MB / 458.7 MB Notification: Performance of matching and sorting (n=135): time 0.006845/0.4955, allocations: 3.118 MB / 0.6495 GB, free: 1.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.4956, allocations: 111.5 kB / 0.6496 GB, free: 0.957 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00357/0.4992, allocations: 2.726 MB / 0.6523 GB, free: 14.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.806e-05/0.4993, allocations: 41.69 kB / 0.6523 GB, free: 14.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001595/0.5009, allocations: 2.735 MB / 0.655 GB, free: 11.39 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004791/0.5014, allocations: 0.513 MB / 0.6555 GB, free: 10.87 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.5015, allocations: 84 kB / 0.6556 GB, free: 10.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002629/0.5018, allocations: 0.5042 MB / 0.6561 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.5036, allocations: 1.383 MB / 0.6574 GB, free: 8.883 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003508/0.5071, allocations: 4.217 MB / 0.6615 GB, free: 3.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006138/0.5132, allocations: 6.128 MB / 0.6675 GB, free: 11.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.588e-05/0.5133, allocations: 31.94 kB / 0.6675 GB, free: 11.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008316/0.5216, allocations: 5.419 MB / 0.6728 GB, free: 6.258 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.199e-05/0.5217, allocations: 48 kB / 0.6729 GB, free: 6.211 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/0.5218, allocations: 104.8 kB / 0.673 GB, free: 6.109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001293/0.522, allocations: 132 kB / 0.6731 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/0.5245, allocations: 1.002 MB / 0.6741 GB, free: 4.977 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001362/0.5247, allocations: 199.2 kB / 0.6743 GB, free: 4.781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/0.5273, allocations: 0.6184 MB / 0.6749 GB, free: 4.156 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003335/0.5277, allocations: 288 kB / 0.6752 GB, free: 3.875 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.003014/0.5307, allocations: 1.969 MB / 0.6771 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/0.5311, allocations: 232.8 kB / 0.6773 GB, free: 1.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.5315, allocations: 288.8 kB / 0.6776 GB, free: 1.371 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-05/0.5316, allocations: 23.98 kB / 0.6776 GB, free: 1.348 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.5316, allocations: 4 kB / 0.6776 GB, free: 1.344 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.5316, allocations: 3.984 kB / 0.6776 GB, free: 1.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.264/0.7956, allocations: 6.177 MB / 0.6836 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.7957, allocations: 8.438 kB / 0.6836 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/0.7963, allocations: 164.5 kB / 0.6838 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.7963, allocations: 11.97 kB / 0.6838 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.729e-05/0.7963, allocations: 34.27 kB / 0.6838 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/0.7964, allocations: 14.22 kB / 0.6839 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.7964, allocations: 14.03 kB / 0.6839 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.7982, allocations: 1.988 MB / 0.6858 GB, free: 126.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004833/0.7987, allocations: 326.1 kB / 0.6861 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.7989, allocations: 25.86 kB / 0.6862 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/0.7995, allocations: 43.78 kB / 0.6862 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.7996, allocations: 89.23 kB / 0.6863 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.44e-05/0.7997, allocations: 50.45 kB / 0.6863 GB, free: 126.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00191/0.8016, allocations: 1.654 MB / 0.6879 GB, free: 125.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8016, allocations: 0 / 0.6879 GB, free: 125.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003128/0.8047, allocations: 1.044 MB / 0.689 GB, free: 125.3 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.0002797/0.805, allocations: 161.1 kB / 0.6891 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003493/0.8085, allocations: 3.23 MB / 0.6923 GB, free: 124.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.8085, allocations: 0 / 0.6923 GB, free: 124.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006936/0.8092, allocations: 0.7906 MB / 0.693 GB, free: 124 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/0.8125, allocations: 289.5 kB / 0.6933 GB, free: 123.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.825, allocations: 9.794 MB / 0.7029 GB, free: 118.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004824/0.8298, allocations: 3.108 MB / 0.7059 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004767/0.8346, allocations: 1.553 MB / 0.7074 GB, free: 117 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.8352, allocations: 169 kB / 0.7076 GB, free: 117 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/0.8352, allocations: 0 / 0.7076 GB, free: 117 MB / 490.7 MB Notification: Performance of Templates: time 0.03759/0.8728, allocations: 18.97 MB / 0.7261 GB, free: 108.1 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/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