Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.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.001427/0.001427, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001549/0.001549, allocations: 211.6 kB / 23.73 MB, free: 4.387 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2381/0.2381, allocations: 46.95 MB / 360.9 MB, free: 4.047 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.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003208/0.003208, allocations: 63.91 kB / 0.4966 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.37, allocations: 66.04 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006939/0.377, allocations: 4.844 MB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.3805, allocations: 1.71 MB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.3808, allocations: 19.94 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.382, allocations: 0.5253 MB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.3838, allocations: 0.9263 MB / 0.5689 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.388e-05/0.3838, allocations: 11.94 kB / 0.5689 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001671/0.3855, allocations: 1.526 MB / 0.5704 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008064/0.3863, allocations: 0.7485 MB / 0.5711 GB, free: 9.812 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005529/0.3869, allocations: 0.5291 MB / 0.5716 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.3888, allocations: 1.676 MB / 0.5733 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.389, allocations: 95.94 kB / 0.5734 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004663/0.3895, allocations: 231.7 kB / 0.5736 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006087/0.3901, allocations: 0.7164 MB / 0.5743 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005493/0.3906, allocations: 0.5931 MB / 0.5749 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.3933, allocations: 2.815 MB / 0.5776 GB, free: 3.141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3933, allocations: 0 / 0.5776 GB, free: 3.141 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3933, allocations: 0 / 0.5776 GB, free: 3.141 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.518e-05/0.3933, allocations: 3.938 kB / 0.5776 GB, free: 3.137 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.002697/0.396, allocations: 2.022 MB / 0.5796 GB, free: 1.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3961, allocations: 16.02 kB / 0.5796 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004921/0.401, allocations: 1.509 MB / 0.5811 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.4027, allocations: 0.8044 MB / 0.5819 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.4028, allocations: 86.41 kB / 0.582 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/0.403, allocations: 115.8 kB / 0.5821 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005989/0.409, allocations: 4.976 MB / 0.5869 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.812e-05/0.409, allocations: 27.73 kB / 0.587 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.4092, allocations: 59.91 kB / 0.587 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001891/0.4111, allocations: 1.181 MB / 0.5882 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006383/0.4175, allocations: 4.254 MB / 0.5923 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02022/0.4377, allocations: 19.38 MB / 0.6112 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.439, allocations: 0.7292 MB / 0.612 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005171/0.4395, allocations: 345.9 kB / 0.6123 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.4395, allocations: 7.984 kB / 0.6123 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.4395, allocations: 46.44 kB / 0.6123 GB, free: 14.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.827e-06/0.4396, allocations: 0 / 0.6123 GB, free: 14.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001678/0.4412, allocations: 1.133 MB / 0.6134 GB, free: 13.11 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/0.4413, allocations: 136.5 kB / 0.6136 GB, free: 12.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/0.4442, allocations: 2.313 MB / 0.6158 GB, free: 10.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.4442, allocations: 29.7 kB / 0.6159 GB, free: 10.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.4456, allocations: 1.905 MB / 0.6177 GB, free: 8.625 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.4459, allocations: 321.8 kB / 0.618 GB, free: 8.309 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000946/0.4469, allocations: 0.79 MB / 0.6188 GB, free: 7.512 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.447, allocations: 330 kB / 0.6191 GB, free: 7.184 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.4485, allocations: 1.034 MB / 0.6201 GB, free: 6.148 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003723/0.4522, allocations: 3.68 MB / 0.6237 GB, free: 1.141 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006052/0.4583, allocations: 5.17 MB / 0.6288 GB, free: 10.63 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.134e-05/0.4584, allocations: 28 kB / 0.6288 GB, free: 10.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006854/0.4652, allocations: 4.435 MB / 0.6331 GB, free: 6.168 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-05/0.4653, allocations: 54.28 kB / 0.6332 GB, free: 6.117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.4654, allocations: 92 kB / 0.6333 GB, free: 6.027 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.4655, allocations: 124 kB / 0.6334 GB, free: 5.906 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/0.4678, allocations: 0.8733 MB / 0.6342 GB, free: 5.031 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001532/0.468, allocations: 187.2 kB / 0.6344 GB, free: 4.848 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.4703, allocations: 0.5351 MB / 0.6349 GB, free: 4.312 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003161/0.4707, allocations: 252 kB / 0.6352 GB, free: 4.066 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 472 * Array equations: 4 * 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.001625/0.4723, allocations: 1.184 MB / 0.6363 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.4725, allocations: 182.8 kB / 0.6365 GB, free: 2.691 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.4728, allocations: 207.8 kB / 0.6367 GB, free: 2.488 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/0.4728, allocations: 12 kB / 0.6367 GB, free: 2.477 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4729, allocations: 4 kB / 0.6367 GB, free: 2.473 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.4729, allocations: 3.984 kB / 0.6367 GB, free: 2.469 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.4761, allocations: 1.64 MB / 0.6383 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4761, allocations: 0 / 0.6383 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.4764, allocations: 67.89 kB / 0.6384 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4764, allocations: 0 / 0.6384 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.4764, allocations: 16.05 kB / 0.6384 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.4764, allocations: 0 / 0.6384 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4764, allocations: 3.984 kB / 0.6384 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.4777, allocations: 1.188 MB / 0.6396 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.478, allocations: 158.7 kB / 0.6397 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.4781, allocations: 11.98 kB / 0.6397 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.4786, allocations: 15.98 kB / 0.6397 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.4786, allocations: 19.95 kB / 0.6398 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.4787, allocations: 31.92 kB / 0.6398 GB, free: 15.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001735/0.4804, allocations: 1.288 MB / 0.6411 GB, free: 13.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4804, allocations: 0 / 0.6411 GB, free: 13.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00254/0.4829, allocations: 0.5535 MB / 0.6416 GB, free: 13.39 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * 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.0002806/0.4832, allocations: 123.2 kB / 0.6417 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003222/0.4864, allocations: 2.26 MB / 0.6439 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4864, allocations: 4 kB / 0.6439 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.4869, allocations: 337.4 kB / 0.6442 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/0.4877, allocations: 145.4 kB / 0.6444 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/0.4934, allocations: 4.043 MB / 0.6483 GB, free: 6.449 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.495, allocations: 1.283 MB / 0.6496 GB, free: 5.129 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002436/0.4975, allocations: 1.215 MB / 0.6508 GB, free: 3.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.4977, allocations: 131.3 kB / 0.6509 GB, free: 3.781 MB / 494.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4977, allocations: 0 / 0.6509 GB, free: 3.781 MB / 494.1 MB Notification: Performance of Templates: time 0.02688/0.5246, allocations: 13.56 MB / 0.6641 GB, free: 6.43 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.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: 5.880325183272362]