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.001998/0.001998, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002127/0.002127, allocations: 165.6 kB / 24.28 MB, free: 152 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.593/1.593, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.3538/0.3538, allocations: 32.8 MB / 293.9 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 375.2 MB, free: 5.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.904e-05, allocations: 2.312 kB / 375.2 MB, free: 5.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008069/0.008098, allocations: 5.227 MB / 380.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003696/0.01179, allocations: 1.752 MB / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003168/0.01211, allocations: 23.94 kB / 382.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.01343, allocations: 0.5602 MB / 382.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.01542, allocations: 0.9566 MB / 383.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.304e-05/0.01551, allocations: 15.94 kB / 383.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003205/0.01872, allocations: 2.597 MB / 386.4 MB, free: 9.871 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.02037, allocations: 1.098 MB / 387.5 MB, free: 8.758 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.02166, allocations: 0.8572 MB / 388.3 MB, free: 7.898 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.0232, allocations: 1.017 MB / 389.3 MB, free: 6.879 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.0234, allocations: 92 kB / 389.4 MB, free: 6.789 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.02403, allocations: 267.5 kB / 389.7 MB, free: 6.527 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008104/0.02484, allocations: 0.7477 MB / 390.4 MB, free: 5.777 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005921/0.02544, allocations: 426.2 kB / 390.8 MB, free: 5.359 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003406/0.02884, allocations: 2.713 MB / 393.6 MB, free: 2.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.02885, allocations: 0 / 393.6 MB, free: 2.637 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.02885, allocations: 0 / 393.6 MB, free: 2.637 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.712e-05/0.02887, allocations: 0 / 393.6 MB, free: 2.637 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.003947/0.03282, allocations: 2.51 MB / 396.1 MB, free: 76 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.03286, allocations: 8.031 kB / 396.1 MB, free: 68 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005843/0.0387, allocations: 1.758 MB / 397.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.04063, allocations: 0.7711 MB / 398.6 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.791e-05/0.04072, allocations: 86.45 kB / 398.7 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.04096, allocations: 116.3 kB / 398.8 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005277/0.04623, allocations: 3.235 MB / 402 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.04628, allocations: 23.81 kB / 402.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.04646, allocations: 59.89 kB / 402.1 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002132/0.04859, allocations: 1.181 MB / 403.3 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004457/0.05305, allocations: 1.669 MB / 405 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02923/0.08228, allocations: 26.75 MB / 431.7 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.08329, allocations: 405.1 kB / 432.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/0.08359, allocations: 144.5 kB / 432.3 MB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.08361, allocations: 8 kB / 432.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.08365, allocations: 45.39 kB / 432.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.216e-06/0.08366, allocations: 0 / 432.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.001371/0.08503, allocations: 0.5435 MB / 432.9 MB, free: 9.609 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.08517, allocations: 144.5 kB / 433 MB, free: 9.438 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004302/0.08947, allocations: 2.765 MB / 435.8 MB, free: 6.613 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.029e-05/0.08953, allocations: 37.7 kB / 435.8 MB, free: 6.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002097/0.09163, allocations: 2.111 MB / 437.9 MB, free: 4.438 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000385/0.09201, allocations: 345.8 kB / 438.2 MB, free: 4.098 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001417/0.09343, allocations: 1.001 MB / 439.2 MB, free: 3.086 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002997/0.09373, allocations: 0.516 MB / 439.8 MB, free: 2.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008552/0.09458, allocations: 375.4 kB / 440.1 MB, free: 2.195 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005084/0.09967, allocations: 4.445 MB / 444.6 MB, free: 11.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006761/0.1064, allocations: 5.292 MB / 449.9 MB, free: 4.801 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.644e-05/0.1065, allocations: 24 kB / 449.9 MB, free: 4.777 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007188/0.1137, allocations: 3.333 MB / 453.2 MB, free: 1.441 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.678e-05/0.1138, allocations: 44 kB / 453.3 MB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/0.1139, allocations: 99.98 kB / 453.4 MB, free: 1.301 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001531/0.114, allocations: 127.9 kB / 453.5 MB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/0.1165, allocations: 0.8694 MB / 454.4 MB, free: 312 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001802/0.1167, allocations: 187.2 kB / 454.5 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.191/0.3076, allocations: 0.5316 MB / 455.1 MB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004707/0.3081, allocations: 252.1 kB / 455.3 MB, free: 108.2 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.0009349/0.309, allocations: 0.5389 MB / 455.9 MB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.3093, allocations: 181.6 kB / 456 MB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.3095, allocations: 161.6 kB / 456.2 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/0.3096, allocations: 24.47 kB / 456.2 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.3096, allocations: 6.125 kB / 456.2 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.3096, allocations: 0 / 456.2 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003527/0.3131, allocations: 2.178 MB / 458.4 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3131, allocations: 0 / 458.4 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.3134, allocations: 64.81 kB / 458.5 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.3134, allocations: 6.281 kB / 458.5 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.3134, allocations: 9.438 kB / 458.5 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3134, allocations: 0 / 458.5 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3134, allocations: 2.406 kB / 458.5 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007747/0.3142, allocations: 1.014 MB / 459.5 MB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.3145, allocations: 157 kB / 459.7 MB, free: 107 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.3146, allocations: 6.781 kB / 459.7 MB, free: 107 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004345/0.315, allocations: 15.77 kB / 459.7 MB, free: 107 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.3151, allocations: 28.02 kB / 459.7 MB, free: 107 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.3151, allocations: 28.95 kB / 459.7 MB, free: 107 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001192/0.3163, allocations: 1.059 MB / 460.8 MB, free: 106.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3163, allocations: 0 / 460.8 MB, free: 106.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002509/0.3188, allocations: 0.5447 MB / 461.3 MB, free: 106.8 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.000231/0.3191, allocations: 132.2 kB / 461.5 MB, free: 106.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003048/0.3221, allocations: 1.741 MB / 463.2 MB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3221, allocations: 0 / 463.2 MB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002732/0.3224, allocations: 185.9 kB / 463.4 MB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009332/0.3233, allocations: 150 kB / 463.5 MB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/0.3277, allocations: 3.263 MB / 466.8 MB, free: 105.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.3289, allocations: 1.141 MB / 467.9 MB, free: 104.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002435/0.3313, allocations: 1.09 MB / 469 MB, free: 104.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/0.3316, allocations: 129.2 kB / 469.2 MB, free: 104.9 MB / 426.7 MB Notification: Performance of SimCode: time 3.176e-06/0.3316, allocations: 0 / 469.2 MB, free: 104.9 MB / 426.7 MB Notification: Performance of Templates: time 0.02236/0.354, allocations: 11.72 MB / 480.9 MB, free: 103.8 MB / 426.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.837849547038786]