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.001488/0.001488, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001518/0.001518, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.565/1.565, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2462/0.2462, allocations: 46.89 MB / 361.1 MB, free: 4.727 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.002362/0.002362, allocations: 75.88 kB / 0.4967 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3565, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007564/0.3641, allocations: 5.443 MB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004075/0.3681, allocations: 1.822 MB / 0.5683 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004752/0.3686, allocations: 23.94 kB / 0.5683 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.3699, allocations: 0.5562 MB / 0.5688 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.3718, allocations: 0.9185 MB / 0.5697 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.3719, allocations: 15.98 kB / 0.5697 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001875/0.3738, allocations: 1.522 MB / 0.5712 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00087/0.3746, allocations: 0.6317 MB / 0.5718 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007718/0.3754, allocations: 0.5213 MB / 0.5724 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002083/0.3775, allocations: 1.703 MB / 0.574 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.3777, allocations: 92 kB / 0.5741 GB, free: 7.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006275/0.3784, allocations: 323.5 kB / 0.5744 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006654/0.379, allocations: 0.7203 MB / 0.5751 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008139/0.3798, allocations: 0.869 MB / 0.576 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002991/0.3828, allocations: 2.808 MB / 0.5787 GB, free: 2.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3828, allocations: 3.938 kB / 0.5787 GB, free: 2.973 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3828, allocations: 0 / 0.5787 GB, free: 2.973 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.154e-05/0.3829, allocations: 0 / 0.5787 GB, free: 2.973 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.003234/0.3861, allocations: 2.101 MB / 0.5808 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3861, allocations: 8.031 kB / 0.5808 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005259/0.3914, allocations: 1.512 MB / 0.5822 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.3932, allocations: 0.8569 MB / 0.5831 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.436e-05/0.3933, allocations: 86.47 kB / 0.5832 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/0.3935, allocations: 115.8 kB / 0.5833 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006425/0.4, allocations: 4.972 MB / 0.5881 GB, free: 8.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.513e-05/0.4, allocations: 23.75 kB / 0.5882 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.4002, allocations: 59.91 kB / 0.5882 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001993/0.4022, allocations: 1.185 MB / 0.5894 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006794/0.409, allocations: 4.254 MB / 0.5935 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02329/0.4323, allocations: 20.55 MB / 0.6136 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.4339, allocations: 1.177 MB / 0.6147 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005084/0.4344, allocations: 351.2 kB / 0.6151 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.4344, allocations: 7.938 kB / 0.6151 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.4345, allocations: 46.48 kB / 0.6151 GB, free: 12.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 5.07e-06/0.4345, allocations: 0 / 0.6151 GB, free: 12.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.002114/0.4366, allocations: 1.153 MB / 0.6163 GB, free: 11.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.4367, allocations: 140.5 kB / 0.6164 GB, free: 10.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004723/0.4414, allocations: 2.433 MB / 0.6188 GB, free: 8.379 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.4416, allocations: 33.7 kB / 0.6188 GB, free: 8.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001911/0.4435, allocations: 1.874 MB / 0.6206 GB, free: 6.445 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000381/0.4439, allocations: 313.8 kB / 0.6209 GB, free: 6.137 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/0.445, allocations: 0.7979 MB / 0.6217 GB, free: 5.332 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.4452, allocations: 349.9 kB / 0.622 GB, free: 4.984 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.4467, allocations: 1.034 MB / 0.6231 GB, free: 3.949 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/0.4503, allocations: 3.687 MB / 0.6267 GB, free: 14.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005891/0.4562, allocations: 5.158 MB / 0.6317 GB, free: 8.438 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.321e-05/0.4562, allocations: 28 kB / 0.6317 GB, free: 8.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007379/0.4636, allocations: 4.467 MB / 0.6361 GB, free: 3.938 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.502e-05/0.4637, allocations: 46.34 kB / 0.6361 GB, free: 3.895 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/0.4638, allocations: 96 kB / 0.6362 GB, free: 3.801 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.4639, allocations: 128.1 kB / 0.6363 GB, free: 3.676 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.4663, allocations: 0.8694 MB / 0.6372 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001511/0.4664, allocations: 187.2 kB / 0.6374 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/0.4689, allocations: 0.5705 MB / 0.6379 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003302/0.4692, allocations: 248 kB / 0.6382 GB, free: 1.805 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.00164/0.4709, allocations: 1.184 MB / 0.6393 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.4712, allocations: 202.6 kB / 0.6395 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.4715, allocations: 217.7 kB / 0.6397 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.992e-05/0.4716, allocations: 15.98 kB / 0.6397 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.4716, allocations: 4 kB / 0.6397 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.4716, allocations: 0 / 0.6397 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/0.4753, allocations: 2.073 MB / 0.6418 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4753, allocations: 0 / 0.6418 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.4756, allocations: 63.89 kB / 0.6418 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.4756, allocations: 4 kB / 0.6418 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.4756, allocations: 15.98 kB / 0.6418 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.4756, allocations: 4 kB / 0.6418 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4756, allocations: 0 / 0.6418 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.4769, allocations: 1.207 MB / 0.643 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004109/0.4773, allocations: 255.6 kB / 0.6433 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.4775, allocations: 8 kB / 0.6433 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/0.478, allocations: 15.98 kB / 0.6433 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.4781, allocations: 27.91 kB / 0.6433 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.4781, allocations: 27.98 kB / 0.6433 GB, free: 12.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002105/0.4802, allocations: 1.49 MB / 0.6448 GB, free: 10.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4802, allocations: 0 / 0.6448 GB, free: 10.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002676/0.4829, allocations: 0.5303 MB / 0.6453 GB, free: 10.34 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.0002852/0.4832, allocations: 123 kB / 0.6454 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003753/0.4869, allocations: 2.263 MB / 0.6476 GB, free: 7.973 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.487, allocations: 0 / 0.6476 GB, free: 7.973 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004514/0.4874, allocations: 336.7 kB / 0.648 GB, free: 7.645 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.4886, allocations: 163.6 kB / 0.6481 GB, free: 7.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008792/0.4974, allocations: 4.081 MB / 0.6521 GB, free: 3.352 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002702/0.5001, allocations: 1.869 MB / 0.6539 GB, free: 1.445 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00423/0.5043, allocations: 1.247 MB / 0.6551 GB, free: 196 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/0.5048, allocations: 131.4 kB / 0.6553 GB, free: 64 kB / 494.1 MB Notification: Performance of SimCode: time 1.673e-06/0.5048, allocations: 0 / 0.6553 GB, free: 64 kB / 494.1 MB Notification: Performance of Templates: time 0.03205/0.5368, allocations: 14.07 MB / 0.669 GB, free: 2.004 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 cvode -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: 6.827822904102504]