Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002112/0.002112, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002968/0.002968, allocations: 157.7 kB / 24.27 MB, free: 176 kB / 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.541/1.541, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3751/0.3751, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0_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_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.07e-05, allocations: 2.312 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007809/0.007839, allocations: 4.865 MB / 382.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004011/0.01185, allocations: 1.709 MB / 383.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004564/0.01231, allocations: 23.94 kB / 383.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.01373, allocations: 0.5446 MB / 384.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.01595, allocations: 0.9606 MB / 385.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001053/0.01605, allocations: 23.91 kB / 385.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003389/0.01944, allocations: 2.598 MB / 388 MB, free: 8.227 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.02099, allocations: 1.086 MB / 389.1 MB, free: 7.125 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.02235, allocations: 0.8611 MB / 389.9 MB, free: 6.262 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.02384, allocations: 1.017 MB / 390.9 MB, free: 5.242 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.02403, allocations: 88 kB / 391 MB, free: 5.156 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006024/0.02463, allocations: 267.5 kB / 391.3 MB, free: 4.895 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007753/0.02541, allocations: 0.736 MB / 392 MB, free: 4.156 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000579/0.02599, allocations: 434.2 kB / 392.5 MB, free: 3.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003654/0.02964, allocations: 2.713 MB / 395.2 MB, free: 1.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.02965, allocations: 0 / 395.2 MB, free: 1.008 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02965, allocations: 0 / 395.2 MB, free: 1.008 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.658e-05/0.02969, allocations: 0 / 395.2 MB, free: 1.008 MB / 362.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.003582/0.03328, allocations: 1.991 MB / 397.2 MB, free: 14.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.03332, allocations: 8.031 kB / 397.2 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005874/0.03919, allocations: 1.825 MB / 399 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.04096, allocations: 0.8113 MB / 399.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.302e-05/0.04106, allocations: 86.45 kB / 399.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/0.0413, allocations: 108.3 kB / 400 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007628/0.04893, allocations: 4.976 MB / 405 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.716e-05/0.04897, allocations: 23.81 kB / 405 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001993/0.04917, allocations: 63.89 kB / 405.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002162/0.05133, allocations: 1.185 MB / 406.2 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007884/0.05922, allocations: 4.25 MB / 410.5 MB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02468/0.0839, allocations: 19.43 MB / 429.9 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.08529, allocations: 0.7217 MB / 430.6 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/0.08581, allocations: 351.2 kB / 431 MB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.08583, allocations: 12.09 kB / 431 MB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.08588, allocations: 46.44 kB / 431 MB, free: 11.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.386e-06/0.08589, allocations: 0 / 431 MB, free: 11.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.001973/0.08786, allocations: 1.143 MB / 432.2 MB, free: 10.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.08797, allocations: 136.5 kB / 432.3 MB, free: 10.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/0.09128, allocations: 2.313 MB / 434.6 MB, free: 8.109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.09134, allocations: 37.64 kB / 434.7 MB, free: 8.066 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001578/0.09291, allocations: 1.866 MB / 436.5 MB, free: 6.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.09325, allocations: 313.8 kB / 436.8 MB, free: 5.871 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.09438, allocations: 0.7744 MB / 437.6 MB, free: 5.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.09458, allocations: 330 kB / 437.9 MB, free: 4.762 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.0962, allocations: 1.042 MB / 439 MB, free: 3.719 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00434/0.1005, allocations: 3.691 MB / 442.7 MB, free: 14.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00693/0.1075, allocations: 5.156 MB / 447.8 MB, free: 8.211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.865e-05/0.1075, allocations: 28 kB / 447.9 MB, free: 8.184 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008678/0.1162, allocations: 4.651 MB / 452.5 MB, free: 3.527 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/0.1163, allocations: 44.97 kB / 452.5 MB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001297/0.1164, allocations: 96 kB / 452.6 MB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.1166, allocations: 131.9 kB / 452.8 MB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/0.1193, allocations: 0.8733 MB / 453.6 MB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001878/0.1195, allocations: 187.3 kB / 453.8 MB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/0.1222, allocations: 0.5351 MB / 454.4 MB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000431/0.1226, allocations: 256 kB / 454.6 MB, free: 1.414 MB / 426.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.001949/0.1246, allocations: 1.184 MB / 455.8 MB, free: 224 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003753/0.125, allocations: 186.9 kB / 456 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.177/0.3019, allocations: 197.6 kB / 456.2 MB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.349e-05/0.302, allocations: 24.61 kB / 456.2 MB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/0.302, allocations: 3.281 kB / 456.2 MB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.302, allocations: 2.875 kB / 456.2 MB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.3049, allocations: 1.667 MB / 457.9 MB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.3049, allocations: 2.75 kB / 457.9 MB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.3052, allocations: 62.91 kB / 457.9 MB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.3052, allocations: 2.812 kB / 457.9 MB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.3053, allocations: 9.531 kB / 457.9 MB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3053, allocations: 6 kB / 457.9 MB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3053, allocations: 1.688 kB / 458 MB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.3063, allocations: 1.189 MB / 459.1 MB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.3066, allocations: 158.2 kB / 459.3 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.3068, allocations: 10.25 kB / 459.3 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004975/0.3073, allocations: 15.56 kB / 459.3 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.3073, allocations: 28.84 kB / 459.3 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.3074, allocations: 28.78 kB / 459.4 MB, free: 111.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001643/0.309, allocations: 1.291 MB / 460.7 MB, free: 111.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.309, allocations: 0 / 460.7 MB, free: 111.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002542/0.3116, allocations: 0.5497 MB / 461.2 MB, free: 111.2 MB / 426.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.0002639/0.3118, allocations: 125.5 kB / 461.3 MB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002785/0.3146, allocations: 2.272 MB / 463.6 MB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3146, allocations: 0 / 463.6 MB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.3149, allocations: 336.1 kB / 463.9 MB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009512/0.3159, allocations: 148.7 kB / 464.1 MB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00462/0.3205, allocations: 4.075 MB / 468.2 MB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.3217, allocations: 1.286 MB / 469.4 MB, free: 108 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002077/0.3238, allocations: 1.214 MB / 470.7 MB, free: 108 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.324, allocations: 126.1 kB / 470.8 MB, free: 108 MB / 426.7 MB Notification: Performance of SimCode: time 1.763e-06/0.324, allocations: 2.078 kB / 470.8 MB, free: 108 MB / 426.7 MB Notification: Performance of Templates: time 0.02142/0.3455, allocations: 11.77 MB / 482.6 MB, free: 106.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.747240405995399]