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.001488/0.001488, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001607/0.001607, allocations: 204.8 kB / 23.73 MB, free: 4.379 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.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2401/0.2401, allocations: 46.96 MB / 360.9 MB, free: 4.043 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.002185/0.002185, allocations: 75.88 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3411, allocations: 66.03 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006687/0.3478, allocations: 4.856 MB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003407/0.3512, allocations: 1.702 MB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003318/0.3515, allocations: 19.94 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.3527, allocations: 0.5253 MB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001929/0.3547, allocations: 0.9379 MB / 0.5689 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.3548, allocations: 8 kB / 0.5689 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002076/0.3569, allocations: 1.526 MB / 0.5704 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.358, allocations: 0.7446 MB / 0.5711 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008578/0.3589, allocations: 0.5291 MB / 0.5716 GB, free: 9.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002377/0.3613, allocations: 1.707 MB / 0.5733 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003417/0.3616, allocations: 92 kB / 0.5734 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006434/0.3622, allocations: 227.7 kB / 0.5736 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008323/0.3631, allocations: 0.7125 MB / 0.5743 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007616/0.3638, allocations: 0.597 MB / 0.5749 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003413/0.3673, allocations: 2.811 MB / 0.5776 GB, free: 3.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3673, allocations: 0 / 0.5776 GB, free: 3.113 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3673, allocations: 4 kB / 0.5776 GB, free: 3.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.321e-05/0.3673, allocations: 0 / 0.5776 GB, free: 3.109 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.003931/0.3713, allocations: 2.022 MB / 0.5796 GB, free: 1.043 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.3713, allocations: 16.02 kB / 0.5796 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005087/0.3764, allocations: 1.516 MB / 0.5811 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.3786, allocations: 0.8004 MB / 0.5819 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.763e-05/0.3786, allocations: 86.45 kB / 0.582 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002674/0.3789, allocations: 111.8 kB / 0.5821 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006936/0.3858, allocations: 4.98 MB / 0.587 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/0.3859, allocations: 23.75 kB / 0.587 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.3861, allocations: 63.89 kB / 0.587 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00196/0.388, allocations: 1.185 MB / 0.5882 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007205/0.3952, allocations: 4.25 MB / 0.5923 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02259/0.4178, allocations: 19.37 MB / 0.6113 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.4192, allocations: 0.7292 MB / 0.612 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/0.4196, allocations: 343.3 kB / 0.6123 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.4197, allocations: 11.92 kB / 0.6123 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.4197, allocations: 42.5 kB / 0.6124 GB, free: 14.22 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.955e-06/0.4197, allocations: 4 kB / 0.6124 GB, free: 14.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001792/0.4215, allocations: 1.137 MB / 0.6135 GB, free: 13.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/0.4216, allocations: 132.5 kB / 0.6136 GB, free: 12.92 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002984/0.4246, allocations: 2.313 MB / 0.6159 GB, free: 10.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.4246, allocations: 29.7 kB / 0.6159 GB, free: 10.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001435/0.426, allocations: 1.901 MB / 0.6177 GB, free: 8.598 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.4264, allocations: 317.8 kB / 0.618 GB, free: 8.285 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009652/0.4273, allocations: 0.7944 MB / 0.6188 GB, free: 7.484 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4275, allocations: 330 kB / 0.6191 GB, free: 7.156 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.4291, allocations: 1.034 MB / 0.6201 GB, free: 6.121 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003949/0.433, allocations: 3.687 MB / 0.6237 GB, free: 1.105 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006841/0.4399, allocations: 5.164 MB / 0.6288 GB, free: 10.61 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-05/0.44, allocations: 28 kB / 0.6288 GB, free: 10.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008231/0.4482, allocations: 4.434 MB / 0.6331 GB, free: 6.145 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.557e-05/0.4483, allocations: 50.28 kB / 0.6332 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/0.4484, allocations: 96 kB / 0.6333 GB, free: 6.004 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.4485, allocations: 124.8 kB / 0.6334 GB, free: 5.883 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/0.4508, allocations: 0.8733 MB / 0.6343 GB, free: 5.008 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001529/0.451, allocations: 191.3 kB / 0.6344 GB, free: 4.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.4535, allocations: 0.5352 MB / 0.635 GB, free: 4.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003141/0.4538, allocations: 256 kB / 0.6352 GB, free: 4.031 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.00182/0.4557, allocations: 1.184 MB / 0.6364 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.4559, allocations: 174.8 kB / 0.6365 GB, free: 2.664 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.4562, allocations: 203.9 kB / 0.6367 GB, free: 2.465 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.196e-05/0.4563, allocations: 12 kB / 0.6367 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.4563, allocations: 4 kB / 0.6367 GB, free: 2.449 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.4563, allocations: 7.984 kB / 0.6367 GB, free: 2.441 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003119/0.4594, allocations: 1.644 MB / 0.6383 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.4594, allocations: 48 / 0.6383 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.4597, allocations: 71.88 kB / 0.6384 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.4597, allocations: 0 / 0.6384 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.4598, allocations: 12 kB / 0.6384 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4598, allocations: 0 / 0.6384 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4598, allocations: 3.984 kB / 0.6384 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.461, allocations: 1.188 MB / 0.6396 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.4613, allocations: 158.7 kB / 0.6397 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.4615, allocations: 8.094 kB / 0.6398 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.4619, allocations: 27.83 kB / 0.6398 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.462, allocations: 19.95 kB / 0.6398 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/0.4621, allocations: 31.92 kB / 0.6398 GB, free: 15.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001715/0.4638, allocations: 1.288 MB / 0.6411 GB, free: 13.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4638, allocations: 0 / 0.6411 GB, free: 13.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002584/0.4664, allocations: 0.5495 MB / 0.6416 GB, free: 13.35 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.0002827/0.4666, allocations: 131 kB / 0.6417 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003778/0.4704, allocations: 2.25 MB / 0.6439 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4704, allocations: 4.188 kB / 0.6439 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.4709, allocations: 343.7 kB / 0.6443 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.4719, allocations: 141.3 kB / 0.6444 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006147/0.478, allocations: 4.039 MB / 0.6484 GB, free: 6.418 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/0.4796, allocations: 1.287 MB / 0.6496 GB, free: 5.094 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002507/0.4821, allocations: 1.219 MB / 0.6508 GB, free: 3.871 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.4823, allocations: 123.4 kB / 0.6509 GB, free: 3.75 MB / 494.1 MB Notification: Performance of SimCode: time 1.153e-06/0.4823, allocations: 0 / 0.6509 GB, free: 3.75 MB / 494.1 MB Notification: Performance of Templates: time 0.0302/0.5126, allocations: 15.33 MB / 0.6659 GB, free: 4.617 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.8295571729540825]