Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001785/0.001785, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002064/0.002064, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2326/0.2326, allocations: 46.89 MB / 361.1 MB, free: 4.66 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002342, allocations: 76.06 kB / 0.4967 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3303, allocations: 65.99 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006881/0.3372, allocations: 5.444 MB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003292/0.3405, allocations: 1.815 MB / 0.5683 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.3408, allocations: 24 kB / 0.5683 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.342, allocations: 0.5563 MB / 0.5688 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.3438, allocations: 0.9146 MB / 0.5697 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.311e-05/0.3439, allocations: 15.97 kB / 0.5697 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001804/0.3457, allocations: 1.526 MB / 0.5712 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008203/0.3465, allocations: 0.6357 MB / 0.5718 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005962/0.3471, allocations: 0.5174 MB / 0.5724 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002067/0.3491, allocations: 1.703 MB / 0.574 GB, free: 7.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000225/0.3494, allocations: 88 kB / 0.5741 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006261/0.35, allocations: 327.5 kB / 0.5744 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006506/0.3507, allocations: 0.7281 MB / 0.5751 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000762/0.3514, allocations: 0.8612 MB / 0.576 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0029/0.3543, allocations: 2.815 MB / 0.5787 GB, free: 3.004 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3543, allocations: 0 / 0.5787 GB, free: 3.004 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3543, allocations: 0 / 0.5787 GB, free: 3.004 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.825e-05/0.3543, allocations: 0 / 0.5787 GB, free: 3.004 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.002886/0.3572, allocations: 2.093 MB / 0.5808 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3573, allocations: 12.03 kB / 0.5808 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005313/0.3626, allocations: 1.513 MB / 0.5822 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.3644, allocations: 0.8568 MB / 0.5831 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.3645, allocations: 90.47 kB / 0.5832 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.3647, allocations: 115.8 kB / 0.5833 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006531/0.3713, allocations: 4.972 MB / 0.5881 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.351e-05/0.3713, allocations: 23.75 kB / 0.5882 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.3715, allocations: 59.91 kB / 0.5882 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002017/0.3735, allocations: 1.185 MB / 0.5894 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006783/0.3803, allocations: 4.25 MB / 0.5935 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02309/0.4034, allocations: 20.55 MB / 0.6136 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.405, allocations: 1.177 MB / 0.6147 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.4056, allocations: 345.5 kB / 0.6151 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.4056, allocations: 7.938 kB / 0.6151 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.4056, allocations: 50.48 kB / 0.6151 GB, free: 12.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.256e-06/0.4056, allocations: 0 / 0.6151 GB, free: 12.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001846/0.4075, allocations: 1.153 MB / 0.6163 GB, free: 11.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.4076, allocations: 136.5 kB / 0.6164 GB, free: 10.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003473/0.411, allocations: 2.433 MB / 0.6188 GB, free: 8.422 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.4111, allocations: 33.7 kB / 0.6188 GB, free: 8.383 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.4126, allocations: 1.878 MB / 0.6206 GB, free: 6.484 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/0.413, allocations: 313.8 kB / 0.6209 GB, free: 6.176 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.4141, allocations: 0.7901 MB / 0.6217 GB, free: 5.379 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.4142, allocations: 349.9 kB / 0.622 GB, free: 5.031 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.4159, allocations: 1.034 MB / 0.623 GB, free: 3.996 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003708/0.4196, allocations: 3.695 MB / 0.6266 GB, free: 14.97 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00596/0.4256, allocations: 5.151 MB / 0.6317 GB, free: 8.484 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-05/0.4257, allocations: 32 kB / 0.6317 GB, free: 8.453 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007412/0.4331, allocations: 4.466 MB / 0.6361 GB, free: 3.984 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.422e-05/0.4332, allocations: 52.03 kB / 0.6361 GB, free: 3.934 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/0.4333, allocations: 99.98 kB / 0.6362 GB, free: 3.836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.4335, allocations: 120 kB / 0.6363 GB, free: 3.719 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002493/0.436, allocations: 0.8694 MB / 0.6372 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001797/0.4361, allocations: 187.2 kB / 0.6374 GB, free: 2.664 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/0.4386, allocations: 0.57 MB / 0.6379 GB, free: 2.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003581/0.4389, allocations: 256 kB / 0.6382 GB, free: 1.84 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.001693/0.4406, allocations: 1.184 MB / 0.6393 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004161/0.4411, allocations: 202.6 kB / 0.6395 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.4415, allocations: 213.7 kB / 0.6397 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.304e-05/0.4415, allocations: 23.98 kB / 0.6397 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.4415, allocations: 0 / 0.6397 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.4415, allocations: 4 kB / 0.6397 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/0.4456, allocations: 2.061 MB / 0.6418 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4457, allocations: 0 / 0.6418 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.446, allocations: 67.89 kB / 0.6418 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.446, allocations: 8 kB / 0.6418 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.446, allocations: 8 kB / 0.6418 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.446, allocations: 4 kB / 0.6418 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.446, allocations: 3.938 kB / 0.6418 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.4474, allocations: 1.195 MB / 0.643 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004422/0.4478, allocations: 267.6 kB / 0.6433 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.448, allocations: 8 kB / 0.6433 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005459/0.4486, allocations: 19.97 kB / 0.6433 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.4486, allocations: 23.91 kB / 0.6433 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/0.4487, allocations: 27.98 kB / 0.6433 GB, free: 12.42 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00214/0.4508, allocations: 1.486 MB / 0.6448 GB, free: 10.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4508, allocations: 0 / 0.6448 GB, free: 10.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002466/0.4533, allocations: 0.5225 MB / 0.6453 GB, free: 10.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.000281/0.4536, allocations: 135 kB / 0.6454 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003836/0.4574, allocations: 2.26 MB / 0.6476 GB, free: 8.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4574, allocations: 0 / 0.6476 GB, free: 8.012 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.4579, allocations: 335.7 kB / 0.648 GB, free: 7.684 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.459, allocations: 176.4 kB / 0.6481 GB, free: 7.508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006732/0.4658, allocations: 4.077 MB / 0.6521 GB, free: 3.383 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/0.4679, allocations: 1.858 MB / 0.6539 GB, free: 1.488 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002664/0.4706, allocations: 1.255 MB / 0.6551 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003398/0.4709, allocations: 131.4 kB / 0.6553 GB, free: 100 kB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4709, allocations: 0 / 0.6553 GB, free: 100 kB / 494.1 MB Notification: Performance of Templates: time 0.02941/0.5003, allocations: 14.06 MB / 0.669 GB, free: 2.043 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.819452977273613]