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.001334/0.001334, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001514/0.001514, allocations: 219.7 kB / 25.13 MB, free: 3.609 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.501/1.501, allocations: 230.4 MB / 258.7 MB, free: 8.043 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.2281/0.2281, allocations: 46.93 MB / 362 MB, free: 4.203 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.002359/0.002359, allocations: 84.14 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3746, allocations: 66.08 MB / 0.5623 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008845/0.3835, allocations: 5.401 MB / 0.5676 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004747/0.3882, allocations: 1.803 MB / 0.5693 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009311/0.3892, allocations: 23.94 kB / 0.5694 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.3907, allocations: 0.5602 MB / 0.5699 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.3929, allocations: 0.9263 MB / 0.5708 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.393, allocations: 15.92 kB / 0.5708 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002073/0.3951, allocations: 1.526 MB / 0.5723 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009113/0.396, allocations: 0.7455 MB / 0.573 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/0.3966, allocations: 0.5252 MB / 0.5736 GB, free: 8.664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.3987, allocations: 1.703 MB / 0.5752 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002414/0.399, allocations: 88 kB / 0.5753 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005707/0.3995, allocations: 231.6 kB / 0.5755 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006531/0.4002, allocations: 0.7203 MB / 0.5762 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008388/0.401, allocations: 0.8728 MB / 0.5771 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003211/0.4042, allocations: 2.799 MB / 0.5798 GB, free: 2.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4042, allocations: 0 / 0.5798 GB, free: 2.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4042, allocations: 0 / 0.5798 GB, free: 2.234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.244e-05/0.4043, allocations: 0 / 0.5798 GB, free: 2.234 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.003173/0.4074, allocations: 2.041 MB / 0.5818 GB, free: 152 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.4075, allocations: 8.031 kB / 0.5818 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004632/0.4121, allocations: 1.513 MB / 0.5833 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.4139, allocations: 0.7926 MB / 0.5841 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/0.414, allocations: 86.47 kB / 0.5841 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.4142, allocations: 115.8 kB / 0.5843 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007125/0.4213, allocations: 4.972 MB / 0.5891 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.613e-05/0.4214, allocations: 19.81 kB / 0.5891 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/0.4216, allocations: 63.91 kB / 0.5892 GB, free: 8.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002039/0.4236, allocations: 1.185 MB / 0.5903 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007518/0.4311, allocations: 4.258 MB / 0.5945 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02491/0.456, allocations: 20.41 MB / 0.6144 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.4577, allocations: 0.7359 MB / 0.6152 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/0.4583, allocations: 349.6 kB / 0.6155 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.4583, allocations: 7.938 kB / 0.6155 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.4584, allocations: 34.56 kB / 0.6155 GB, free: 12.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.527e-06/0.4584, allocations: 7.938 kB / 0.6155 GB, free: 12.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001875/0.4602, allocations: 1.15 MB / 0.6167 GB, free: 11.13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.352e-05/0.4603, allocations: 140.5 kB / 0.6168 GB, free: 10.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003474/0.4638, allocations: 2.425 MB / 0.6192 GB, free: 8.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-05/0.4639, allocations: 37.64 kB / 0.6192 GB, free: 8.457 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001561/0.4654, allocations: 1.866 MB / 0.621 GB, free: 6.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/0.4658, allocations: 317.8 kB / 0.6213 GB, free: 6.258 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.4668, allocations: 0.7901 MB / 0.6221 GB, free: 5.461 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.467, allocations: 353.9 kB / 0.6224 GB, free: 5.109 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.4686, allocations: 1.038 MB / 0.6234 GB, free: 4.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003965/0.4725, allocations: 3.691 MB / 0.627 GB, free: 15.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006808/0.4794, allocations: 5.162 MB / 0.6321 GB, free: 8.551 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.583e-05/0.4794, allocations: 28 kB / 0.6321 GB, free: 8.523 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008044/0.4875, allocations: 4.465 MB / 0.6365 GB, free: 4.055 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.663e-05/0.4876, allocations: 48 kB / 0.6365 GB, free: 4.008 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/0.4877, allocations: 92 kB / 0.6366 GB, free: 3.918 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.4878, allocations: 124 kB / 0.6367 GB, free: 3.797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.4902, allocations: 0.8694 MB / 0.6376 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001564/0.4903, allocations: 183.9 kB / 0.6378 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/0.4929, allocations: 0.5739 MB / 0.6383 GB, free: 2.168 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003264/0.4933, allocations: 252 kB / 0.6386 GB, free: 1.922 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.001818/0.4951, allocations: 1.192 MB / 0.6397 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003183/0.4954, allocations: 198.6 kB / 0.6399 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.4957, allocations: 221.8 kB / 0.6401 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.2e-05/0.4958, allocations: 16 kB / 0.6401 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.4958, allocations: 0 / 0.6401 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.4958, allocations: 8 kB / 0.6401 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/0.4995, allocations: 2.041 MB / 0.6421 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4996, allocations: 0 / 0.6421 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.4998, allocations: 59.95 kB / 0.6422 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.4998, allocations: 7.938 kB / 0.6422 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.4999, allocations: 11.98 kB / 0.6422 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.4999, allocations: 4 kB / 0.6422 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4999, allocations: 0 / 0.6422 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.5012, allocations: 1.205 MB / 0.6434 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/0.5016, allocations: 178.5 kB / 0.6436 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.5017, allocations: 4 kB / 0.6436 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.5022, allocations: 23.91 kB / 0.6436 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.5022, allocations: 27.89 kB / 0.6436 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.333e-05/0.5023, allocations: 20 kB / 0.6436 GB, free: 12.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002073/0.5044, allocations: 1.494 MB / 0.6451 GB, free: 11.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5044, allocations: 0 / 0.6451 GB, free: 11.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002769/0.5071, allocations: 0.5342 MB / 0.6456 GB, free: 10.59 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.0003135/0.5075, allocations: 119.1 kB / 0.6457 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003941/0.5114, allocations: 2.269 MB / 0.6479 GB, free: 8.211 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5114, allocations: 0.875 kB / 0.6479 GB, free: 8.211 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004485/0.5119, allocations: 336.2 kB / 0.6483 GB, free: 7.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.513, allocations: 179.9 kB / 0.6484 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007123/0.5201, allocations: 4.084 MB / 0.6524 GB, free: 3.574 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002007/0.5221, allocations: 1.857 MB / 0.6542 GB, free: 1.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002678/0.5248, allocations: 1.255 MB / 0.6555 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.5251, allocations: 135.4 kB / 0.6556 GB, free: 292 kB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5251, allocations: 3.938 kB / 0.6556 GB, free: 288 kB / 494.1 MB Notification: Performance of Templates: time 0.0348/0.5599, allocations: 15.77 MB / 0.671 GB, free: 0.5234 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/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: 5.960427348036319]