Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001016/0.001016, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0009297/0.0009297, allocations: 161 kB / 24.56 MB, free: 12 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 0.9318/0.9318, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.2913/0.2913, allocations: 34.26 MB / 295.7 MB, free: 0.7539 MB / 266.7 MB " [Timeout remaining time 180] 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.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.138e-05, allocations: 2.312 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01188/0.01191, allocations: 8.423 MB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003563/0.01548, allocations: 2.258 MB / 388.7 MB, free: 7.941 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005275/0.016, allocations: 47.81 kB / 388.7 MB, free: 7.895 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.01771, allocations: 1.651 MB / 390.4 MB, free: 6.238 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006973/0.01841, allocations: 0.493 MB / 390.9 MB, free: 5.742 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.01862, allocations: 79.7 kB / 391 MB, free: 5.664 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008052/0.01942, allocations: 0.9561 MB / 391.9 MB, free: 4.703 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009652/0.02039, allocations: 1.221 MB / 393.1 MB, free: 3.457 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006939/0.02108, allocations: 0.8106 MB / 394 MB, free: 2.645 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006926/0.02178, allocations: 0.6465 MB / 394.6 MB, free: 1.996 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.02192, allocations: 120 kB / 394.7 MB, free: 1.879 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.02215, allocations: 140 kB / 394.9 MB, free: 1.742 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004466/0.0226, allocations: 0.7713 MB / 395.6 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004538/0.02306, allocations: 0.4945 MB / 396.1 MB, free: 484 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.02418, allocations: 1.427 MB / 397.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.02419, allocations: 0 / 397.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.02419, allocations: 0 / 397.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.761e-05/0.02424, allocations: 7.938 kB / 397.6 MB, free: 15.03 MB / 378.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.001768/0.02601, allocations: 2.079 MB / 399.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.02604, allocations: 8.031 kB / 399.6 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004447/0.02649, allocations: 343.4 kB / 400 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.02715, allocations: 0.6372 MB / 400.6 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/0.02721, allocations: 123.3 kB / 400.7 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.02731, allocations: 148.3 kB / 400.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.02927, allocations: 2.241 MB / 403.1 MB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.0293, allocations: 23.75 kB / 403.1 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.109e-05/0.02938, allocations: 71.94 kB / 403.2 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004514/0.02983, allocations: 0.615 MB / 403.8 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.03122, allocations: 0.8086 MB / 404.6 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007606/0.03883, allocations: 16.83 MB / 421.5 MB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.03895, allocations: 265.4 kB / 421.7 MB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.039, allocations: 126.9 kB / 421.9 MB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.03902, allocations: 127.2 kB / 422 MB, free: 5.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.03906, allocations: 152.6 kB / 422.1 MB, free: 5.363 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.03906, allocations: 4 kB / 422.1 MB, free: 5.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001687/0.03923, allocations: 148.8 kB / 422.3 MB, free: 5.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.03929, allocations: 170.6 kB / 422.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.04031, allocations: 1.357 MB / 423.8 MB, free: 3.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.04031, allocations: 25.7 kB / 423.8 MB, free: 3.629 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007395/0.04105, allocations: 1.508 MB / 425.3 MB, free: 2.102 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.04108, allocations: 43.95 kB / 425.4 MB, free: 2.059 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.04136, allocations: 452.8 kB / 425.8 MB, free: 1.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.04148, allocations: 0.5004 MB / 426.3 MB, free: 1.098 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.04167, allocations: 164 kB / 426.5 MB, free: 0.9336 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.04302, allocations: 2.471 MB / 428.9 MB, free: 13.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.04477, allocations: 2.902 MB / 431.8 MB, free: 9.348 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.877e-05/0.04479, allocations: 16 kB / 431.9 MB, free: 9.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00209/0.04688, allocations: 1.806 MB / 433.7 MB, free: 7.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.04691, allocations: 29 kB / 433.7 MB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.373e-05/0.04696, allocations: 60 kB / 433.8 MB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.073e-05/0.04701, allocations: 79.94 kB / 433.8 MB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.04766, allocations: 491 kB / 434.3 MB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-05/0.04771, allocations: 111.5 kB / 434.4 MB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/0.04839, allocations: 293.8 kB / 434.7 MB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.288e-05/0.04847, allocations: 140 kB / 434.8 MB, free: 6.34 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 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * 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.0003183/0.04879, allocations: 486.4 kB / 435.3 MB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-05/0.04889, allocations: 256.1 kB / 435.6 MB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.909e-05/0.04899, allocations: 242.1 kB / 435.8 MB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-05/0.04904, allocations: 276 kB / 436.1 MB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.055e-05/0.04909, allocations: 268 kB / 436.3 MB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.996e-05/0.04914, allocations: 268.1 kB / 436.6 MB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008471/0.04999, allocations: 1.297 MB / 437.9 MB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.833e-05/0.05001, allocations: 148.8 kB / 438 MB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.05004, allocations: 144.9 kB / 438.2 MB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-05/0.0501, allocations: 268 kB / 438.4 MB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.05015, allocations: 268.1 kB / 438.7 MB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.608e-05/0.05021, allocations: 276 kB / 439 MB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.298e-05/0.05026, allocations: 268 kB / 439.2 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.05044, allocations: 0.5411 MB / 439.8 MB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.05054, allocations: 236.2 kB / 440 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/0.05064, allocations: 268 kB / 440.3 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.05077, allocations: 148.9 kB / 440.4 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.05083, allocations: 272 kB / 440.7 MB, free: 308 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.05086, allocations: 152.8 kB / 440.8 MB, free: 148 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007482/0.05161, allocations: 0.6211 MB / 441.5 MB, free: 15.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05161, allocations: 0 / 441.5 MB, free: 15.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008925/0.0525, allocations: 454.4 kB / 441.9 MB, free: 15.07 MB / 426.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.00013/0.05263, allocations: 222.4 kB / 442.1 MB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006406/0.05327, allocations: 0.7593 MB / 442.9 MB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.05328, allocations: 1.938 kB / 442.9 MB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.05328, allocations: 4 kB / 442.9 MB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.05374, allocations: 0.7878 MB / 443.7 MB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.05604, allocations: 2.595 MB / 446.3 MB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.05633, allocations: 459.5 kB / 446.7 MB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005376/0.05687, allocations: 437.6 kB / 447.1 MB, free: 9.742 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.05693, allocations: 68.44 kB / 447.2 MB, free: 9.672 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/0.05693, allocations: 0 / 447.2 MB, free: 9.672 MB / 426.7 MB Notification: Performance of Templates: time 0.01107/0.068, allocations: 6.315 MB / 453.5 MB, free: 3.488 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.2224176609888673]