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.0007598/0.0007598, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001788, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007121/0.0007121, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002033, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9931/0.9931, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08184/1.075, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.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.2557/0.2557, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02353/0.2792, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.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.934e-06/1.934e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.504e-05, allocations: 7.078 kB / 292.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009687/0.009712, allocations: 8.318 MB / 300.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004436/0.01415, allocations: 2.351 MB / 303.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007149/0.01486, allocations: 47.88 kB / 303.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.01647, allocations: 1.557 MB / 304.9 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008643/0.01734, allocations: 0.4968 MB / 305.4 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.01754, allocations: 71.77 kB / 305.5 MB, free: 9.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008979/0.01844, allocations: 0.9562 MB / 306.4 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.01949, allocations: 1.233 MB / 307.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000942/0.02044, allocations: 0.8527 MB / 308.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.0215, allocations: 0.6153 MB / 309.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.0217, allocations: 116 kB / 309.2 MB, free: 5.598 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.02203, allocations: 140 kB / 309.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004675/0.0225, allocations: 0.6934 MB / 310.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003276/0.02282, allocations: 418.8 kB / 310.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.02384, allocations: 1.385 MB / 311.8 MB, free: 2.965 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.66e-05/0.02386, allocations: 0 / 311.8 MB, free: 2.965 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.02386, allocations: 0 / 311.8 MB, free: 2.965 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.687e-05/0.0239, allocations: 0 / 311.8 MB, free: 2.965 MB / 298.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.001794/0.0257, allocations: 2.192 MB / 314 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.02573, allocations: 8.031 kB / 314 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.02611, allocations: 321.8 kB / 314.4 MB, free: 404 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.0267, allocations: 0.5457 MB / 314.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/0.02676, allocations: 115.4 kB / 315 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.02688, allocations: 152.3 kB / 315.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.02838, allocations: 1.879 MB / 317 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/0.02843, allocations: 15.81 kB / 317.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.526e-05/0.0285, allocations: 75.94 kB / 317.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004355/0.02894, allocations: 0.6189 MB / 317.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007541/0.02969, allocations: 0.677 MB / 318.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005581/0.03527, allocations: 11.46 MB / 329.9 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.477e-05/0.03535, allocations: 165.1 kB / 330.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.03537, allocations: 80.14 kB / 330.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.03539, allocations: 79.28 kB / 330.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.03542, allocations: 109.8 kB / 330.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.03542, allocations: 0 / 330.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.000113/0.03553, allocations: 81.62 kB / 330.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.03559, allocations: 134.6 kB / 330.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000767/0.03635, allocations: 1.158 MB / 331.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.03636, allocations: 25.7 kB / 331.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005754/0.03694, allocations: 1.393 MB / 333.1 MB, free: 12.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.03696, allocations: 43.95 kB / 333.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.03719, allocations: 414.9 kB / 333.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.03727, allocations: 337.9 kB / 333.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.03738, allocations: 132 kB / 334 MB, free: 11.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009318/0.03831, allocations: 1.718 MB / 335.7 MB, free: 9.316 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.03988, allocations: 2.17 MB / 337.9 MB, free: 6.344 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/0.0399, allocations: 16 kB / 337.9 MB, free: 6.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001271/0.04117, allocations: 1.475 MB / 339.4 MB, free: 4.848 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.04121, allocations: 31.94 kB / 339.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/0.04124, allocations: 56 kB / 339.5 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.43e-05/0.04128, allocations: 76 kB / 339.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/0.04198, allocations: 0.5225 MB / 340.1 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.637e-05/0.04204, allocations: 124.1 kB / 340.2 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007134/0.04275, allocations: 297.8 kB / 340.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-05/0.04283, allocations: 124 kB / 340.6 MB, free: 3.629 MB / 330.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.0003738/0.0432, allocations: 390.6 kB / 341 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/0.04328, allocations: 156.9 kB / 341.1 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.493e-05/0.04337, allocations: 198.3 kB / 341.3 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-05/0.04342, allocations: 188.2 kB / 341.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.57e-05/0.04345, allocations: 180.3 kB / 341.7 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.034e-05/0.04349, allocations: 184.2 kB / 341.9 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.04407, allocations: 0.6805 MB / 342.6 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/0.04409, allocations: 109 kB / 342.7 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.04411, allocations: 104.9 kB / 342.8 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.726e-05/0.04421, allocations: 188.3 kB / 343 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.863e-05/0.04425, allocations: 176.3 kB / 343.1 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.04429, allocations: 184.2 kB / 343.3 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.78e-05/0.04433, allocations: 180.2 kB / 343.5 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002997/0.04463, allocations: 180.2 kB / 343.7 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.04475, allocations: 361.5 kB / 344 MB, free: 76 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/0.04484, allocations: 184.2 kB / 344.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.04496, allocations: 105 kB / 344.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.04499, allocations: 180.2 kB / 344.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.04502, allocations: 105 kB / 344.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002835/0.0453, allocations: 443.2 kB / 345 MB, free: 15.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.0453, allocations: 0 / 345 MB, free: 15.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009347/0.04623, allocations: 462.3 kB / 345.5 MB, free: 14.59 MB / 346.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.0001351/0.04637, allocations: 160.5 kB / 345.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005282/0.0469, allocations: 0.7068 MB / 346.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.877e-05/0.04696, allocations: 39.94 kB / 346.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.04696, allocations: 4 kB / 346.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.04738, allocations: 0.6088 MB / 347 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.05038, allocations: 2.688 MB / 349.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.05071, allocations: 463.5 kB / 350.1 MB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002973/0.05101, allocations: 150.2 kB / 350.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.05114, allocations: 179.3 kB / 350.4 MB, free: 9.523 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.05114, allocations: 4 kB / 350.4 MB, free: 9.52 MB / 346.7 MB Notification: Performance of Templates: time 0.01296/0.0641, allocations: 6.589 MB / 357 MB, free: 3.012 MB / 346.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 -ignoreHideResult -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: 2.892689730040729]