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.006215/0.006215, allocations: 105.4 kB / 21.98 MB, free: 5.223 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.001936/0.001936, allocations: 214.3 kB / 25.29 MB, free: 3.203 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.434/1.434, allocations: 230.5 MB / 258.9 MB, free: 8.023 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.2206/0.2206, allocations: 46.94 MB / 362.3 MB, free: 4.191 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.002331/0.002331, allocations: 79.88 kB / 0.4982 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3381, allocations: 66.07 MB / 0.5627 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007352/0.3455, allocations: 5.452 MB / 0.568 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0039/0.3494, allocations: 1.822 MB / 0.5698 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005394/0.3499, allocations: 23.94 kB / 0.5698 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.3512, allocations: 0.5563 MB / 0.5704 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.3533, allocations: 0.9224 MB / 0.5713 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.3534, allocations: 19.97 kB / 0.5713 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00204/0.3554, allocations: 1.518 MB / 0.5728 GB, free: 9.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009509/0.3564, allocations: 0.7494 MB / 0.5735 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007226/0.3571, allocations: 0.5291 MB / 0.574 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.3593, allocations: 1.703 MB / 0.5757 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.3596, allocations: 92 kB / 0.5758 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006711/0.3602, allocations: 327.5 kB / 0.5761 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007209/0.361, allocations: 0.7164 MB / 0.5768 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008451/0.3618, allocations: 0.869 MB / 0.5776 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003295/0.3651, allocations: 2.814 MB / 0.5804 GB, free: 2.066 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3651, allocations: 0 / 0.5804 GB, free: 2.066 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3651, allocations: 0 / 0.5804 GB, free: 2.066 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.337e-05/0.3652, allocations: 4 kB / 0.5804 GB, free: 2.062 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.003384/0.3685, allocations: 2.026 MB / 0.5824 GB, free: 15.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3686, allocations: 8.031 kB / 0.5824 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004787/0.3734, allocations: 1.512 MB / 0.5838 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.375, allocations: 0.7887 MB / 0.5846 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.624e-05/0.3751, allocations: 86.47 kB / 0.5847 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.3753, allocations: 115.8 kB / 0.5848 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006954/0.3823, allocations: 4.98 MB / 0.5897 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.038e-05/0.3823, allocations: 31.73 kB / 0.5897 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.3825, allocations: 63.84 kB / 0.5898 GB, free: 7.914 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001893/0.3844, allocations: 1.181 MB / 0.5909 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007606/0.392, allocations: 4.246 MB / 0.5951 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0249/0.4169, allocations: 20.48 MB / 0.6151 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.4182, allocations: 0.7313 MB / 0.6158 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005209/0.4188, allocations: 343.3 kB / 0.6161 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.4188, allocations: 7.938 kB / 0.6161 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.4188, allocations: 46.5 kB / 0.6162 GB, free: 12.06 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 4.038e-06/0.4188, allocations: 0 / 0.6162 GB, free: 12.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.002045/0.4209, allocations: 1.155 MB / 0.6173 GB, free: 10.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.814e-05/0.421, allocations: 132.5 kB / 0.6174 GB, free: 10.74 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00355/0.4245, allocations: 2.433 MB / 0.6198 GB, free: 8.273 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/0.4246, allocations: 33.64 kB / 0.6198 GB, free: 8.234 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001534/0.4261, allocations: 1.866 MB / 0.6216 GB, free: 6.348 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/0.4264, allocations: 321.8 kB / 0.6219 GB, free: 6.031 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.4275, allocations: 0.7979 MB / 0.6227 GB, free: 5.227 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.4276, allocations: 354.4 kB / 0.6231 GB, free: 4.875 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.4292, allocations: 1.03 MB / 0.6241 GB, free: 3.844 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00393/0.4331, allocations: 3.683 MB / 0.6277 GB, free: 14.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006456/0.4395, allocations: 5.17 MB / 0.6327 GB, free: 8.324 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.672e-05/0.4396, allocations: 28 kB / 0.6327 GB, free: 8.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008193/0.4478, allocations: 4.469 MB / 0.6371 GB, free: 3.828 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.206e-05/0.4479, allocations: 44 kB / 0.6371 GB, free: 3.785 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/0.448, allocations: 96 kB / 0.6372 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.4481, allocations: 128 kB / 0.6374 GB, free: 3.566 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/0.4506, allocations: 0.8694 MB / 0.6382 GB, free: 2.695 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001563/0.4508, allocations: 187.2 kB / 0.6384 GB, free: 2.512 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.4534, allocations: 0.5622 MB / 0.6389 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004095/0.4538, allocations: 252 kB / 0.6392 GB, free: 1.699 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.001722/0.4555, allocations: 1.192 MB / 0.6403 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.4559, allocations: 198.6 kB / 0.6405 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/0.4562, allocations: 221.8 kB / 0.6407 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-05/0.4563, allocations: 20 kB / 0.6408 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.4563, allocations: 0 / 0.6408 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.4563, allocations: 3.984 kB / 0.6408 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003632/0.4599, allocations: 2.033 MB / 0.6428 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.4599, allocations: 4 kB / 0.6428 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.4602, allocations: 63.89 kB / 0.6428 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.4603, allocations: 4 kB / 0.6428 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.4603, allocations: 8 kB / 0.6428 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.4603, allocations: 8 kB / 0.6428 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4603, allocations: 48 / 0.6428 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.4616, allocations: 1.208 MB / 0.644 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003778/0.462, allocations: 182.5 kB / 0.6442 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.4621, allocations: 8 kB / 0.6442 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004686/0.4626, allocations: 20.08 kB / 0.6442 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.4627, allocations: 31.83 kB / 0.6442 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.4627, allocations: 20 kB / 0.6443 GB, free: 12.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002098/0.4648, allocations: 1.49 MB / 0.6457 GB, free: 10.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4648, allocations: 0 / 0.6457 GB, free: 10.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002702/0.4675, allocations: 0.5342 MB / 0.6462 GB, free: 10.36 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.0002762/0.4678, allocations: 123.1 kB / 0.6464 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003665/0.4715, allocations: 2.262 MB / 0.6486 GB, free: 7.988 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4715, allocations: 0 / 0.6486 GB, free: 7.988 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.4719, allocations: 343.7 kB / 0.6489 GB, free: 7.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.473, allocations: 163.2 kB / 0.6491 GB, free: 7.492 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006829/0.4798, allocations: 4.326 MB / 0.6533 GB, free: 3.109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001866/0.4817, allocations: 1.877 MB / 0.6551 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/0.4822, allocations: 163.4 kB / 0.6553 GB, free: 1.035 MB / 494.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4822, allocations: 0 / 0.6553 GB, free: 1.035 MB / 494.1 MB Notification: Performance of Templates: time 0.04592/0.5281, allocations: 28.06 MB / 0.6827 GB, free: 5.02 MB / 0.5137 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 9.744665246922523]