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.001545/0.001545, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001712/0.001712, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.499/1.499, allocations: 230.2 MB / 255.2 MB, free: 15.4 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.2367/0.2367, allocations: 46.88 MB / 358.1 MB, free: 10.52 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.002261/0.002261, allocations: 79.77 kB / 0.4923 GB, free: 26.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.132, allocations: 65.98 MB / 0.5568 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007428/0.1395, allocations: 5.418 MB / 0.5621 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004062/0.1435, allocations: 1.815 MB / 0.5638 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007439/0.1443, allocations: 20 kB / 0.5639 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.1458, allocations: 0.5407 MB / 0.5644 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.1484, allocations: 0.9264 MB / 0.5653 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.1486, allocations: 19.81 kB / 0.5653 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002504/0.1511, allocations: 1.526 MB / 0.5668 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.1524, allocations: 0.6759 MB / 0.5675 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.1534, allocations: 0.5252 MB / 0.568 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002694/0.1561, allocations: 1.691 MB / 0.5696 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004484/0.1566, allocations: 92 kB / 0.5697 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009722/0.1575, allocations: 323.5 kB / 0.57 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.1586, allocations: 0.7242 MB / 0.5707 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.1601, allocations: 0.8689 MB / 0.5716 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003978/0.164, allocations: 2.804 MB / 0.5743 GB, free: 6.594 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.164, allocations: 4 kB / 0.5743 GB, free: 6.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1641, allocations: 4 kB / 0.5743 GB, free: 6.586 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001159/0.1642, allocations: 0 / 0.5743 GB, free: 6.586 MB / 430.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.004745/0.1689, allocations: 2.097 MB / 0.5764 GB, free: 4.426 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.169, allocations: 12.03 kB / 0.5764 GB, free: 4.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005276/0.1742, allocations: 1.516 MB / 0.5779 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.1761, allocations: 0.8529 MB / 0.5787 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.377e-05/0.1762, allocations: 86.47 kB / 0.5788 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/0.1764, allocations: 119.8 kB / 0.5789 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007664/0.1841, allocations: 4.968 MB / 0.5837 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.671e-05/0.1842, allocations: 23.81 kB / 0.5838 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000321/0.1845, allocations: 59.91 kB / 0.5838 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002172/0.1867, allocations: 1.185 MB / 0.585 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008025/0.1947, allocations: 4.258 MB / 0.5891 GB, free: 6.824 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02627/0.221, allocations: 20.54 MB / 0.6092 GB, free: 1.543 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.2227, allocations: 1.185 MB / 0.6104 GB, free: 216 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3041/0.5269, allocations: 340.3 kB / 0.6107 GB, free: 50.17 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.291e-05/0.5269, allocations: 10.94 kB / 0.6107 GB, free: 50.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.5269, allocations: 42.11 kB / 0.6107 GB, free: 50.13 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.817e-06/0.5269, allocations: 0.9062 kB / 0.6107 GB, free: 50.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.002074/0.529, allocations: 1.152 MB / 0.6119 GB, free: 50.1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.5291, allocations: 137.7 kB / 0.612 GB, free: 49.94 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/0.5327, allocations: 2.432 MB / 0.6144 GB, free: 49.44 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.5327, allocations: 32.33 kB / 0.6144 GB, free: 49.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.5339, allocations: 1.878 MB / 0.6162 GB, free: 48.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/0.5343, allocations: 314.4 kB / 0.6165 GB, free: 47.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/0.5356, allocations: 0.7939 MB / 0.6173 GB, free: 47.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.5358, allocations: 352.2 kB / 0.6176 GB, free: 47.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/0.5377, allocations: 1.037 MB / 0.6187 GB, free: 46.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003297/0.541, allocations: 3.692 MB / 0.6223 GB, free: 43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005416/0.5465, allocations: 5.158 MB / 0.6273 GB, free: 38.17 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/0.5466, allocations: 26.78 kB / 0.6273 GB, free: 38.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007761/0.5543, allocations: 4.459 MB / 0.6317 GB, free: 36.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.118e-05/0.5544, allocations: 52.97 kB / 0.6317 GB, free: 36.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/0.5545, allocations: 96.53 kB / 0.6318 GB, free: 36.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.5547, allocations: 124.2 kB / 0.6319 GB, free: 36.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/0.5571, allocations: 0.8688 MB / 0.6328 GB, free: 36.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001787/0.5573, allocations: 191.4 kB / 0.633 GB, free: 36.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/0.56, allocations: 0.5655 MB / 0.6335 GB, free: 35.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004526/0.5605, allocations: 254.3 kB / 0.6338 GB, free: 35.89 MB / 462.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.001788/0.5623, allocations: 1.191 MB / 0.6349 GB, free: 35.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003152/0.5626, allocations: 197.3 kB / 0.6351 GB, free: 35.17 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.5629, allocations: 220.9 kB / 0.6353 GB, free: 35.08 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-05/0.563, allocations: 16.75 kB / 0.6353 GB, free: 35.08 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.563, allocations: 5.375 kB / 0.6353 GB, free: 35.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.563, allocations: 4.5 kB / 0.6353 GB, free: 35.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/0.5664, allocations: 2.066 MB / 0.6374 GB, free: 34.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5664, allocations: 0 / 0.6374 GB, free: 34.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.5667, allocations: 69.61 kB / 0.6374 GB, free: 34.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.5667, allocations: 1.594 kB / 0.6374 GB, free: 34.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.5667, allocations: 13.59 kB / 0.6374 GB, free: 34.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.5667, allocations: 6.219 kB / 0.6375 GB, free: 34.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5667, allocations: 2.188 kB / 0.6375 GB, free: 34.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.5679, allocations: 1.202 MB / 0.6386 GB, free: 33.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003978/0.5683, allocations: 253.7 kB / 0.6389 GB, free: 33.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.5685, allocations: 8 kB / 0.6389 GB, free: 33.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.5689, allocations: 20.84 kB / 0.6389 GB, free: 33.28 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.569, allocations: 28.92 kB / 0.6389 GB, free: 33.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.569, allocations: 25.42 kB / 0.639 GB, free: 33.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001736/0.5708, allocations: 1.491 MB / 0.6404 GB, free: 32.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5708, allocations: 1.406 kB / 0.6404 GB, free: 32.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003263/0.574, allocations: 0.5238 MB / 0.6409 GB, free: 32.6 MB / 462.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.000287/0.5743, allocations: 123.4 kB / 0.641 GB, free: 32.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003096/0.5774, allocations: 2.266 MB / 0.6433 GB, free: 31.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5774, allocations: 0.5 kB / 0.6433 GB, free: 31.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.5778, allocations: 342.9 kB / 0.6436 GB, free: 31.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.5789, allocations: 163.6 kB / 0.6437 GB, free: 31.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005548/0.5845, allocations: 4.311 MB / 0.6479 GB, free: 28.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/0.5857, allocations: 1.87 MB / 0.6498 GB, free: 26.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/0.5861, allocations: 167.4 kB / 0.6499 GB, free: 26.65 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5861, allocations: 0 / 0.6499 GB, free: 26.65 MB / 462.1 MB Notification: Performance of Templates: time 0.0369/0.623, allocations: 28.06 MB / 0.6773 GB, free: 14.71 MB / 478.1 MB " [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 -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: 10.074253419879824]