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.001724/0.001724, allocations: 106.5 kB / 21.22 MB, free: 0.5117 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.001845/0.001845, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.632/1.632, allocations: 230.3 MB / 258 MB, free: 8.188 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.2434/0.2434, allocations: 46.93 MB / 361.4 MB, free: 4.398 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.002419/0.002419, allocations: 83.84 kB / 0.4971 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3811, allocations: 66.04 MB / 0.5616 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007297/0.3884, allocations: 5.444 MB / 0.567 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.3918, allocations: 1.826 MB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003507/0.3921, allocations: 23.94 kB / 0.5688 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.3934, allocations: 0.5525 MB / 0.5693 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.3952, allocations: 0.9262 MB / 0.5702 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.193e-05/0.3953, allocations: 15.94 kB / 0.5702 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.3971, allocations: 1.522 MB / 0.5717 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008321/0.3979, allocations: 0.6323 MB / 0.5723 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006291/0.3986, allocations: 0.5252 MB / 0.5728 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.4006, allocations: 1.703 MB / 0.5745 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.4009, allocations: 88 kB / 0.5746 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006447/0.4015, allocations: 331.5 kB / 0.5749 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006447/0.4021, allocations: 0.7125 MB / 0.5756 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008255/0.403, allocations: 0.8807 MB / 0.5765 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002943/0.4059, allocations: 2.807 MB / 0.5792 GB, free: 2.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4059, allocations: 4 kB / 0.5792 GB, free: 2.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4059, allocations: 0 / 0.5792 GB, free: 2.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.746e-05/0.406, allocations: 0 / 0.5792 GB, free: 2.477 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.003126/0.4091, allocations: 2.026 MB / 0.5812 GB, free: 416 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4091, allocations: 8.031 kB / 0.5812 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005387/0.4145, allocations: 1.516 MB / 0.5827 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.4165, allocations: 0.7926 MB / 0.5834 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-05/0.4166, allocations: 90.45 kB / 0.5835 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002471/0.4168, allocations: 115.8 kB / 0.5836 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006983/0.4238, allocations: 4.976 MB / 0.5885 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/0.4239, allocations: 19.81 kB / 0.5885 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/0.4241, allocations: 59.91 kB / 0.5886 GB, free: 8.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002084/0.4261, allocations: 1.181 MB / 0.5897 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007343/0.4335, allocations: 4.254 MB / 0.5939 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02464/0.4581, allocations: 20.47 MB / 0.6139 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.4595, allocations: 0.7253 MB / 0.6146 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004774/0.46, allocations: 351.1 kB / 0.6149 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.46, allocations: 7.938 kB / 0.6149 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.46, allocations: 42.56 kB / 0.615 GB, free: 12.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.236e-06/0.46, allocations: 0 / 0.615 GB, free: 12.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.00182/0.4618, allocations: 1.157 MB / 0.6161 GB, free: 11.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/0.4619, allocations: 132.5 kB / 0.6162 GB, free: 11.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003315/0.4652, allocations: 2.437 MB / 0.6186 GB, free: 8.688 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.4653, allocations: 29.7 kB / 0.6186 GB, free: 8.652 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.4667, allocations: 1.874 MB / 0.6205 GB, free: 6.758 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.467, allocations: 317.8 kB / 0.6208 GB, free: 6.445 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009734/0.468, allocations: 0.794 MB / 0.6215 GB, free: 5.645 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.4682, allocations: 349.9 kB / 0.6219 GB, free: 5.297 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.4697, allocations: 1.03 MB / 0.6229 GB, free: 4.266 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003728/0.4734, allocations: 3.691 MB / 0.6265 GB, free: 15.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006643/0.48, allocations: 5.162 MB / 0.6315 GB, free: 8.746 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-05/0.4801, allocations: 32 kB / 0.6316 GB, free: 8.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007769/0.4879, allocations: 4.462 MB / 0.6359 GB, free: 4.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.964e-05/0.488, allocations: 48.17 kB / 0.636 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/0.4881, allocations: 100 kB / 0.636 GB, free: 4.105 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001278/0.4882, allocations: 124 kB / 0.6362 GB, free: 3.984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/0.4906, allocations: 0.8695 MB / 0.637 GB, free: 3.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001644/0.4908, allocations: 187.2 kB / 0.6372 GB, free: 2.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.4935, allocations: 0.57 MB / 0.6378 GB, free: 2.355 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003146/0.4938, allocations: 248 kB / 0.638 GB, free: 2.113 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.001629/0.4955, allocations: 1.192 MB / 0.6392 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/0.4957, allocations: 202.6 kB / 0.6393 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.4961, allocations: 217.8 kB / 0.6396 GB, free: 0.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.022e-05/0.4962, allocations: 19.98 kB / 0.6396 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4962, allocations: 0 / 0.6396 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4962, allocations: 0 / 0.6396 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/0.4999, allocations: 2.041 MB / 0.6416 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.4999, allocations: 4 kB / 0.6416 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.5002, allocations: 59.91 kB / 0.6416 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.525e-06/0.5002, allocations: 4 kB / 0.6416 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.5003, allocations: 15.98 kB / 0.6416 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.5003, allocations: 4 kB / 0.6416 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5003, allocations: 0 / 0.6416 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.5016, allocations: 1.201 MB / 0.6428 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/0.502, allocations: 178.5 kB / 0.643 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.5021, allocations: 12 kB / 0.643 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005187/0.5026, allocations: 23.95 kB / 0.643 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.5027, allocations: 23.91 kB / 0.643 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.5028, allocations: 27.92 kB / 0.6431 GB, free: 12.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002164/0.5049, allocations: 1.49 MB / 0.6445 GB, free: 11.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5049, allocations: 0 / 0.6445 GB, free: 11.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003115/0.508, allocations: 0.5264 MB / 0.645 GB, free: 10.78 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.0003385/0.5084, allocations: 127.1 kB / 0.6452 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003867/0.5122, allocations: 2.264 MB / 0.6474 GB, free: 8.406 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5123, allocations: 4 kB / 0.6474 GB, free: 8.402 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004606/0.5127, allocations: 335.7 kB / 0.6477 GB, free: 8.074 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.514, allocations: 176.8 kB / 0.6479 GB, free: 7.898 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007157/0.5211, allocations: 4.078 MB / 0.6519 GB, free: 3.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/0.5231, allocations: 1.857 MB / 0.6537 GB, free: 1.875 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002705/0.5258, allocations: 1.251 MB / 0.6549 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.5261, allocations: 135.4 kB / 0.655 GB, free: 496 kB / 494.1 MB Notification: Performance of SimCode: time 1.813e-06/0.5261, allocations: 0 / 0.655 GB, free: 496 kB / 494.1 MB Notification: Performance of Templates: time 0.03593/0.5621, allocations: 15.77 MB / 0.6704 GB, free: 0.7227 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 -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/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-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.247487673535943]