Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.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.001097/0.001097, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.001088/0.001088, allocations: 174.6 kB / 24.82 MB, free: 9.293 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.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2968/0.2968, allocations: 32.81 MB / 294.6 MB, free: 1.238 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.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.062e-05, allocations: 9.484 kB / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.007618/0.007639, allocations: 8.224 MB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005246/0.01288, allocations: 2.234 MB / 386.9 MB, free: 9.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009742/0.01386, allocations: 47.88 kB / 387 MB, free: 9.863 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.01573, allocations: 1.624 MB / 388.6 MB, free: 8.234 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008574/0.01659, allocations: 0.5007 MB / 389.1 MB, free: 7.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.01683, allocations: 71.7 kB / 389.2 MB, free: 7.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009265/0.01776, allocations: 0.9601 MB / 390.1 MB, free: 6.695 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.01887, allocations: 1.225 MB / 391.3 MB, free: 5.445 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000803/0.01968, allocations: 0.8067 MB / 392.2 MB, free: 4.637 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008399/0.02052, allocations: 0.6427 MB / 392.8 MB, free: 3.992 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005846/0.0211, allocations: 116 kB / 392.9 MB, free: 3.879 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.02138, allocations: 135.9 kB / 393 MB, free: 3.746 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004925/0.02188, allocations: 0.779 MB / 393.8 MB, free: 2.965 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.02221, allocations: 0.4906 MB / 394.3 MB, free: 2.473 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.0233, allocations: 1.427 MB / 395.7 MB, free: 1.039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.02331, allocations: 0 / 395.7 MB, free: 1.039 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02331, allocations: 0 / 395.7 MB, free: 1.039 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.536e-05/0.02336, allocations: 4 kB / 395.7 MB, free: 1.035 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.001971/0.02533, allocations: 2.102 MB / 397.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.02539, allocations: 8.031 kB / 397.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004494/0.02584, allocations: 351.3 kB / 398.2 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/0.02649, allocations: 0.5981 MB / 398.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/0.02656, allocations: 119.4 kB / 398.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.02667, allocations: 152.3 kB / 399.1 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.02869, allocations: 2.115 MB / 401.2 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.02872, allocations: 15.81 kB / 401.2 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.0288, allocations: 71.95 kB / 401.3 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000473/0.02927, allocations: 0.615 MB / 401.9 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007491/0.03002, allocations: 0.6897 MB / 402.6 MB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008281/0.0383, allocations: 16.48 MB / 419 MB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.883e-05/0.0384, allocations: 265.4 kB / 419.3 MB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.03844, allocations: 126.9 kB / 419.4 MB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.03847, allocations: 123.2 kB / 419.5 MB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/0.03853, allocations: 168.5 kB / 419.7 MB, free: 7.977 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.03853, allocations: 0 / 419.7 MB, free: 7.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001353/0.03867, allocations: 137 kB / 419.8 MB, free: 7.836 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.03872, allocations: 174.5 kB / 420 MB, free: 7.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009179/0.03964, allocations: 1.353 MB / 421.4 MB, free: 6.289 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.03965, allocations: 25.7 kB / 421.4 MB, free: 6.258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001934/0.04158, allocations: 1.519 MB / 422.9 MB, free: 4.719 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.04161, allocations: 47.95 kB / 423 MB, free: 4.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/0.04191, allocations: 460.6 kB / 423.4 MB, free: 4.211 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.04205, allocations: 0.5081 MB / 423.9 MB, free: 3.695 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.04217, allocations: 128 kB / 424 MB, free: 3.566 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.04334, allocations: 2.456 MB / 426.5 MB, free: 16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/0.04534, allocations: 2.878 MB / 429.4 MB, free: 12.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/0.04536, allocations: 16 kB / 429.4 MB, free: 12 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001546/0.0469, allocations: 1.709 MB / 431.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.04694, allocations: 30.03 kB / 431.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.695e-05/0.04699, allocations: 59.98 kB / 431.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.478e-05/0.04704, allocations: 76 kB / 431.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.04769, allocations: 491 kB / 431.7 MB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.919e-05/0.04775, allocations: 111.5 kB / 431.8 MB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007273/0.04847, allocations: 301.8 kB / 432.1 MB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.43e-05/0.04856, allocations: 120 kB / 432.3 MB, free: 9.125 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[1],fixed.color[2],fixed.color[3],box.color[1],box.color[2],box.color[3],sphere.color[1],sphere.color[2],sphere.color[3],cylinder.color[1],cylinder.color[2],cylinder.color[3],pipe.color[1],pipe.color[2],pipe.color[3],beam.color[1],beam.color[2],beam.color[3],gearwheel.color[1],gearwheel.color[2],gearwheel.color[3],spring.color[1],spring.color[2],spring.color[3],cone.color[1],cone.color[2],cone.color[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.0004107/0.04897, allocations: 490.7 kB / 432.7 MB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.04909, allocations: 260.1 kB / 433 MB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.0492, allocations: 226.2 kB / 433.2 MB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.919e-05/0.04927, allocations: 276 kB / 433.5 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.355e-05/0.04935, allocations: 280 kB / 433.8 MB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004225/0.04977, allocations: 264.1 kB / 434 MB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007006/0.05047, allocations: 0.9632 MB / 435 MB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.693e-05/0.05051, allocations: 144.9 kB / 435.1 MB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.05054, allocations: 152.8 kB / 435.3 MB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-05/0.05061, allocations: 272.1 kB / 435.5 MB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.05067, allocations: 264.1 kB / 435.8 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.4e-05/0.05074, allocations: 272 kB / 436.1 MB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.323e-05/0.0508, allocations: 264.1 kB / 436.3 MB, free: 4.934 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.051, allocations: 0.5488 MB / 436.9 MB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.05111, allocations: 228.2 kB / 437.1 MB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.05122, allocations: 272 kB / 437.4 MB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.05136, allocations: 148.9 kB / 437.5 MB, free: 3.703 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.05143, allocations: 276 kB / 437.8 MB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.05146, allocations: 148.9 kB / 437.9 MB, free: 3.273 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003904/0.05185, allocations: 0.5779 MB / 438.5 MB, free: 2.691 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05185, allocations: 0 / 438.5 MB, free: 2.691 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001/0.05285, allocations: 462.3 kB / 438.9 MB, free: 2.238 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.000193/0.05304, allocations: 214.4 kB / 439.2 MB, free: 2.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006649/0.05371, allocations: 0.7376 MB / 439.9 MB, free: 1.285 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.05371, allocations: 4.062 kB / 439.9 MB, free: 1.281 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.05371, allocations: 0 / 439.9 MB, free: 1.281 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007222/0.05444, allocations: 0.7928 MB / 440.7 MB, free: 492 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.05742, allocations: 2.591 MB / 443.3 MB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.05784, allocations: 467.5 kB / 443.7 MB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003526/0.05819, allocations: 150.2 kB / 443.9 MB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.05841, allocations: 198.2 kB / 444.1 MB, free: 13.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/0.05841, allocations: 0 / 444.1 MB, free: 13.01 MB / 426.7 MB Notification: Performance of Templates: time 0.01846/0.07687, allocations: 6.506 MB / 450.6 MB, free: 6.562 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.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.677381054032594]