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.001687/0.001687, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.00226/0.00226, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.508/1.508, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2359/0.2359, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.001926/0.001926, allocations: 67.91 kB / 0.4921 GB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1364, allocations: 65.99 MB / 0.5565 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01498/0.1514, allocations: 11.55 MB / 0.5678 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007158/0.1585, allocations: 3.072 MB / 0.5708 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.1602, allocations: 71.75 kB / 0.5708 GB, free: 6.582 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00316/0.1633, allocations: 1.596 MB / 0.5724 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003853/0.1672, allocations: 1.603 MB / 0.574 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.1676, allocations: 119.8 kB / 0.5741 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004655/0.1723, allocations: 3.3 MB / 0.5773 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.175, allocations: 1.91 MB / 0.5792 GB, free: 14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.1767, allocations: 1.168 MB / 0.5803 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003661/0.1804, allocations: 2.583 MB / 0.5828 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007083/0.1811, allocations: 232 kB / 0.5831 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.1826, allocations: 0.7294 MB / 0.5838 GB, free: 9.285 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.1841, allocations: 1.53 MB / 0.5853 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001977/0.1861, allocations: 1.812 MB / 0.587 GB, free: 5.926 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3107/0.4969, allocations: 5.948 MB / 0.5928 GB, free: 13.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.4969, allocations: 1.406 kB / 0.5928 GB, free: 13.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4969, allocations: 0.6562 kB / 0.5928 GB, free: 13.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002654/0.4971, allocations: 0 / 0.5928 GB, free: 13.81 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.009562/0.5067, allocations: 4.099 MB / 0.5969 GB, free: 12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.5067, allocations: 9.625 kB / 0.5969 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/0.5184, allocations: 2.99 MB / 0.5998 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005132/0.5235, allocations: 1.843 MB / 0.6016 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.5238, allocations: 184.8 kB / 0.6018 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001296/0.5251, allocations: 235.7 kB / 0.602 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/0.5442, allocations: 9.766 MB / 0.6115 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.139e-05/0.5442, allocations: 17.41 kB / 0.6115 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003941/0.5446, allocations: 114.7 kB / 0.6116 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003856/0.5485, allocations: 2.366 MB / 0.614 GB, free: 9.113 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0161/0.5646, allocations: 8.944 MB / 0.6227 GB, free: 6.465 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0478/0.6124, allocations: 29.56 MB / 0.6516 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007567/0.6199, allocations: 3.371 MB / 0.6548 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.6219, allocations: 1.022 MB / 0.6558 GB, free: 6.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01225/0.6341, allocations: 6.47 MB / 0.6622 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.6341, allocations: 46.03 kB / 0.6622 GB, free: 15.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.899e-06/0.6342, allocations: 0 / 0.6622 GB, free: 15.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.008406/0.6426, allocations: 3.145 MB / 0.6653 GB, free: 12.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/0.6426, allocations: 114.8 kB / 0.6654 GB, free: 12.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005286/0.6479, allocations: 2.744 MB / 0.6681 GB, free: 9.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.6481, allocations: 44.59 kB / 0.6681 GB, free: 9.773 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00253/0.6506, allocations: 2.845 MB / 0.6709 GB, free: 6.945 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007368/0.6514, allocations: 0.535 MB / 0.6714 GB, free: 6.418 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001627/0.653, allocations: 0.94 MB / 0.6723 GB, free: 5.469 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6531, allocations: 301.1 kB / 0.6726 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/0.6555, allocations: 1.406 MB / 0.674 GB, free: 3.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005105/0.6606, allocations: 4.223 MB / 0.6781 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008101/0.6687, allocations: 6.153 MB / 0.6841 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/0.6688, allocations: 32 kB / 0.6842 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01104/0.6798, allocations: 5.468 MB / 0.6895 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.6799, allocations: 51.94 kB / 0.6895 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/0.6801, allocations: 100 kB / 0.6896 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.6803, allocations: 132 kB / 0.6898 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/0.6837, allocations: 0.9903 MB / 0.6907 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002344/0.6839, allocations: 199.2 kB / 0.6909 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/0.6874, allocations: 0.6335 MB / 0.6915 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006779/0.6881, allocations: 291.2 kB / 0.6918 GB, free: 15.46 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.003869/0.692, allocations: 1.972 MB / 0.6937 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006031/0.6926, allocations: 246.1 kB / 0.694 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008107/0.6934, allocations: 288.8 kB / 0.6943 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.525e-05/0.6934, allocations: 18.81 kB / 0.6943 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.836e-05/0.6934, allocations: 4 kB / 0.6943 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.6934, allocations: 3.984 kB / 0.6943 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.7065, allocations: 6.195 MB / 0.7003 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.7065, allocations: 8 kB / 0.7003 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007027/0.7072, allocations: 163.7 kB / 0.7005 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.86e-05/0.7072, allocations: 12 kB / 0.7005 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.47e-05/0.7073, allocations: 31.98 kB / 0.7005 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-05/0.7073, allocations: 15.94 kB / 0.7006 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.961e-05/0.7073, allocations: 13.89 kB / 0.7006 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/0.7102, allocations: 2.015 MB / 0.7025 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007024/0.7109, allocations: 319.1 kB / 0.7028 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004168/0.7113, allocations: 31.98 kB / 0.7029 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000824/0.7122, allocations: 46.94 kB / 0.7029 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.7123, allocations: 84.28 kB / 0.703 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-05/0.7124, allocations: 48.25 kB / 0.703 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00324/0.7157, allocations: 1.67 MB / 0.7047 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7157, allocations: 0 / 0.7047 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004449/0.7201, allocations: 1.034 MB / 0.7057 GB, free: 0.9766 MB / 0.5137 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.0004661/0.7206, allocations: 159.2 kB / 0.7058 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005655/0.7262, allocations: 3.134 MB / 0.7089 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.7262, allocations: 0 / 0.7089 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.7274, allocations: 0.7443 MB / 0.7096 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.7294, allocations: 315.8 kB / 0.7099 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/0.7463, allocations: 8.242 MB / 0.718 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004978/0.7513, allocations: 3.101 MB / 0.721 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007104/0.752, allocations: 211.4 kB / 0.7212 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of SimCode: time 1.613e-06/0.752, allocations: 4 kB / 0.7212 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of Templates: time 0.07578/0.8278, allocations: 44.99 MB / 0.7651 GB, free: 4.105 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/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: 12.156199967022985]