Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2506/0.2506, allocations: 46.92 MB / 360.8 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.89 kB / 0.4966 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3526, allocations: 66.03 MB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01567/0.3683, allocations: 11.57 MB / 0.5724 GB, free: 8.762 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008902/0.3772, allocations: 3.075 MB / 0.5754 GB, free: 5.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002224/0.3794, allocations: 71.75 kB / 0.5755 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003734/0.3832, allocations: 1.619 MB / 0.5771 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004416/0.3876, allocations: 1.611 MB / 0.5786 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.3881, allocations: 115.8 kB / 0.5788 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005127/0.3932, allocations: 3.31 MB / 0.582 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003414/0.3966, allocations: 1.909 MB / 0.5839 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.3992, allocations: 1.164 MB / 0.585 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004652/0.4039, allocations: 2.599 MB / 0.5875 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009428/0.4048, allocations: 228 kB / 0.5877 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002244/0.407, allocations: 0.7294 MB / 0.5885 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002475/0.4095, allocations: 1.546 MB / 0.59 GB, free: 6.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003477/0.413, allocations: 1.808 MB / 0.5917 GB, free: 4.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009092/0.4221, allocations: 5.943 MB / 0.5975 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4221, allocations: 0 / 0.5975 GB, free: 14.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4221, allocations: 0 / 0.5975 GB, free: 14.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002359/0.4223, allocations: 0 / 0.5975 GB, free: 14.93 MB / 446.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.01081/0.4331, allocations: 4.033 MB / 0.6015 GB, free: 10.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.4332, allocations: 8.031 kB / 0.6015 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.4437, allocations: 2.989 MB / 0.6044 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005398/0.4491, allocations: 1.779 MB / 0.6061 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.4493, allocations: 188.9 kB / 0.6063 GB, free: 5.836 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/0.4504, allocations: 239.8 kB / 0.6065 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.4686, allocations: 9.756 MB / 0.6161 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.502e-05/0.4687, allocations: 23.81 kB / 0.6161 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000796/0.4695, allocations: 107.8 kB / 0.6162 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004/0.4735, allocations: 2.362 MB / 0.6185 GB, free: 8.977 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01851/0.492, allocations: 8.951 MB / 0.6272 GB, free: 8 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05219/0.5442, allocations: 29.46 MB / 0.656 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006876/0.5511, allocations: 2.464 MB / 0.6584 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.5529, allocations: 1.021 MB / 0.6594 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01208/0.5649, allocations: 4.911 MB / 0.6642 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/0.565, allocations: 55.14 kB / 0.6643 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 7.354e-06/0.565, allocations: 0 / 0.6643 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008415/0.5734, allocations: 3.139 MB / 0.6673 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.5735, allocations: 115.4 kB / 0.6674 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005386/0.5789, allocations: 2.742 MB / 0.6701 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.5791, allocations: 37.7 kB / 0.6702 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002527/0.5816, allocations: 2.849 MB / 0.6729 GB, free: 316 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006983/0.5823, allocations: 0.543 MB / 0.6735 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001567/0.5838, allocations: 0.933 MB / 0.6744 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.584, allocations: 305.1 kB / 0.6747 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002369/0.5863, allocations: 1.399 MB / 0.676 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005454/0.5918, allocations: 4.229 MB / 0.6802 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008484/0.6003, allocations: 6.155 MB / 0.6862 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.234e-05/0.6004, allocations: 28.25 kB / 0.6862 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01104/0.6114, allocations: 5.459 MB / 0.6915 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.6115, allocations: 50.34 kB / 0.6916 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001971/0.6117, allocations: 104 kB / 0.6917 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/0.6119, allocations: 132 kB / 0.6918 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003367/0.6153, allocations: 0.9903 MB / 0.6928 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002335/0.6155, allocations: 195.8 kB / 0.693 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003839/0.6194, allocations: 0.6475 MB / 0.6936 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000732/0.6201, allocations: 280.2 kB / 0.6939 GB, free: 8.027 MB / 0.5294 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.004539/0.6246, allocations: 1.985 MB / 0.6958 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006173/0.6253, allocations: 246.2 kB / 0.696 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007966/0.6261, allocations: 288.8 kB / 0.6963 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.54e-05/0.6261, allocations: 16 kB / 0.6963 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.6261, allocations: 0 / 0.6963 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.6261, allocations: 3.984 kB / 0.6963 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/0.6404, allocations: 6.172 MB / 0.7024 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/0.6405, allocations: 8 kB / 0.7024 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007941/0.6413, allocations: 167.7 kB / 0.7025 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.127e-05/0.6413, allocations: 12 kB / 0.7025 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.6414, allocations: 24 kB / 0.7026 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.517e-05/0.6414, allocations: 19.92 kB / 0.7026 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/0.6414, allocations: 11.94 kB / 0.7026 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/0.6445, allocations: 2.015 MB / 0.7046 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009182/0.6455, allocations: 246 kB / 0.7048 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005463/0.646, allocations: 20 kB / 0.7048 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009842/0.647, allocations: 47.95 kB / 0.7049 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.6472, allocations: 88.14 kB / 0.7049 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.84e-05/0.6473, allocations: 47.98 kB / 0.705 GB, free: 12.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003471/0.6507, allocations: 1.67 MB / 0.7066 GB, free: 10.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6507, allocations: 4 kB / 0.7066 GB, free: 10.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004562/0.6553, allocations: 1.032 MB / 0.7076 GB, free: 9.605 MB / 0.545 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.00046/0.6558, allocations: 158.8 kB / 0.7078 GB, free: 9.438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005672/0.6614, allocations: 3.13 MB / 0.7108 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.6614, allocations: 0 / 0.7108 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.6625, allocations: 0.7432 MB / 0.7116 GB, free: 5.598 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.6645, allocations: 316 kB / 0.7119 GB, free: 5.293 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/0.6815, allocations: 7.81 MB / 0.7195 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005064/0.6865, allocations: 3.099 MB / 0.7225 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004023/0.6906, allocations: 1.548 MB / 0.724 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006114/0.6912, allocations: 171.4 kB / 0.7242 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/0.6912, allocations: 0 / 0.7242 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of Templates: time 0.3587/1.05, allocations: 21 MB / 0.7447 GB, free: 150.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.024860999081284]