Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.08/1.08, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2811/0.2811, allocations: 32.8 MB / 294.6 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 323.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.316e-05, allocations: 3.672 kB / 323.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.004707/0.00473, allocations: 5.167 MB / 328.4 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.007229, allocations: 1.807 MB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.007472, allocations: 23.94 kB / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008842/0.008356, allocations: 0.5522 MB / 330.7 MB, free: 2.164 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.009505, allocations: 0.9685 MB / 331.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.717e-05/0.009572, allocations: 15.92 kB / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001793/0.01137, allocations: 2.602 MB / 334.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008884/0.01225, allocations: 1.126 MB / 335.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008583/0.01311, allocations: 0.8689 MB / 336.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009864/0.0141, allocations: 0.9235 MB / 337.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.01422, allocations: 88 kB / 337.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.01461, allocations: 263.6 kB / 337.6 MB, free: 11.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004856/0.0151, allocations: 0.7399 MB / 338.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.01545, allocations: 438.1 kB / 338.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.0169, allocations: 1.77 MB / 340.5 MB, free: 8.328 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.01691, allocations: 0 / 340.5 MB, free: 8.328 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.01691, allocations: 3.984 kB / 340.5 MB, free: 8.324 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.01693, allocations: 4 kB / 340.5 MB, free: 8.32 MB / 314.7 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.001732/0.01867, allocations: 1.896 MB / 342.4 MB, free: 6.387 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.01871, allocations: 8.031 kB / 342.4 MB, free: 6.379 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.02046, allocations: 0.6678 MB / 343.1 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006907/0.02115, allocations: 0.6279 MB / 343.7 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.0212, allocations: 90.47 kB / 343.8 MB, free: 4.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.02134, allocations: 116.3 kB / 343.9 MB, free: 4.855 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.02339, allocations: 2.473 MB / 346.4 MB, free: 1.906 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.02343, allocations: 19.81 kB / 346.4 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.02354, allocations: 59.91 kB / 346.5 MB, free: 1.828 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009187/0.02445, allocations: 1.026 MB / 347.5 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.02588, allocations: 1.226 MB / 348.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009512/0.03539, allocations: 17.46 MB / 366.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005979/0.03599, allocations: 377.8 kB / 366.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.03615, allocations: 102.7 kB / 366.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.03617, allocations: 8 kB / 366.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.03621, allocations: 38.56 kB / 366.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=69): time 3.156e-06/0.03622, allocations: 0 / 366.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=69): time 0.0007735/0.03699, allocations: 343.1 kB / 367 MB, free: 12.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.03709, allocations: 140.5 kB / 367.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.03905, allocations: 1.696 MB / 368.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.03908, allocations: 29.7 kB / 368.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.04025, allocations: 1.839 MB / 370.7 MB, free: 8.648 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.04048, allocations: 309.8 kB / 371 MB, free: 8.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008595/0.04134, allocations: 0.7389 MB / 371.8 MB, free: 7.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.04148, allocations: 337.9 kB / 372.1 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006845/0.04216, allocations: 397.1 kB / 372.5 MB, free: 6.871 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002487/0.04465, allocations: 2.945 MB / 375.4 MB, free: 2.598 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/0.04779, allocations: 3.796 MB / 379.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.561e-05/0.04782, allocations: 28 kB / 379.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.002501/0.05032, allocations: 2.614 MB / 381.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.05036, allocations: 48 kB / 381.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.147e-05/0.05042, allocations: 96 kB / 382 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.512e-05/0.0505, allocations: 124 kB / 382.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.05173, allocations: 0.8654 MB / 383 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.492e-05/0.05181, allocations: 183.9 kB / 383.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.05294, allocations: 0.5273 MB / 383.7 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.05311, allocations: 224 kB / 383.9 MB, free: 8.754 MB / 362.7 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.0004936/0.0536, allocations: 448.3 kB / 384.4 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.05377, allocations: 91.89 kB / 384.5 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.0539, allocations: 155.9 kB / 384.6 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/0.05393, allocations: 23.98 kB / 384.6 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.05394, allocations: 3.938 kB / 384.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.05394, allocations: 4 kB / 384.6 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.05542, allocations: 1.211 MB / 385.9 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.05543, allocations: 8 kB / 385.9 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.05556, allocations: 51.92 kB / 385.9 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.05556, allocations: 4 kB / 385.9 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.05558, allocations: 11.92 kB / 385.9 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.05559, allocations: 4 kB / 385.9 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.05559, allocations: 0 / 385.9 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.05602, allocations: 0.7553 MB / 386.7 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.05613, allocations: 158.5 kB / 386.8 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.402e-05/0.05621, allocations: 11.98 kB / 386.9 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.05641, allocations: 7.938 kB / 386.9 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.05645, allocations: 31.95 kB / 386.9 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.05648, allocations: 19.98 kB / 386.9 MB, free: 5.707 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004804/0.05696, allocations: 0.6262 MB / 387.5 MB, free: 5.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05696, allocations: 0 / 387.5 MB, free: 5.051 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001331/0.05829, allocations: 0.5496 MB / 388.1 MB, free: 4.5 MB / 362.7 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.0002066/0.0585, allocations: 104.3 kB / 388.2 MB, free: 4.391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.05966, allocations: 1.449 MB / 389.6 MB, free: 2.957 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.76e-05/0.05975, allocations: 51.94 kB / 389.7 MB, free: 2.898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.05986, allocations: 114.2 kB / 389.8 MB, free: 2.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.06038, allocations: 148.3 kB / 389.9 MB, free: 2.641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.06402, allocations: 3.314 MB / 393.3 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.06451, allocations: 0.5747 MB / 393.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005478/0.06506, allocations: 290.4 kB / 394.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004203/0.06548, allocations: 275.3 kB / 394.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.06548, allocations: 3.938 kB / 394.4 MB, free: 14.1 MB / 378.7 MB Notification: Performance of Templates: time 0.02044/0.08592, allocations: 12.7 MB / 407.1 MB, free: 1.496 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.372331369202584]