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.0008904/0.0008904, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.002035, 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.0007495/0.0007495, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009762/0.001726, 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 1.092/1.092, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.146/1.238, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.3996/0.3996, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03745/0.437, allocations: 12.52 MB / 289.3 MB, free: 8.688 MB / 282.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.355e-06/2.355e-06, allocations: 0 / 290.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.943e-05, allocations: 7.078 kB / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.007427/0.007456, allocations: 8.33 MB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00393/0.01139, allocations: 2.343 MB / 301.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006404/0.01203, allocations: 43.88 kB / 301.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.01364, allocations: 1.549 MB / 302.9 MB, free: 12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007501/0.01439, allocations: 0.5007 MB / 303.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.01462, allocations: 75.7 kB / 303.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.01568, allocations: 0.9626 MB / 304.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.01687, allocations: 1.229 MB / 305.6 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009692/0.01784, allocations: 0.8604 MB / 306.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008572/0.01869, allocations: 0.6037 MB / 307.1 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.01887, allocations: 120 kB / 307.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.01918, allocations: 140 kB / 307.3 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005115/0.01969, allocations: 0.6935 MB / 308 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000431/0.02012, allocations: 418.7 kB / 308.4 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.02137, allocations: 1.381 MB / 309.8 MB, free: 4.977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.686e-05/0.02138, allocations: 0 / 309.8 MB, free: 4.977 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.02139, allocations: 4 kB / 309.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.004e-05/0.02146, allocations: 0 / 309.8 MB, free: 4.973 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.002493/0.02395, allocations: 2.192 MB / 312 MB, free: 2.746 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.02399, allocations: 8.031 kB / 312 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004482/0.02444, allocations: 317.8 kB / 312.3 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000683/0.02512, allocations: 0.5408 MB / 312.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.02518, allocations: 115.4 kB / 313 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.0253, allocations: 156.3 kB / 313.1 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.02689, allocations: 1.879 MB / 315 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.02693, allocations: 19.81 kB / 315 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.882e-05/0.02701, allocations: 71.94 kB / 315.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004799/0.02749, allocations: 0.6189 MB / 315.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009458/0.02843, allocations: 0.6692 MB / 316.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00629/0.03472, allocations: 11.48 MB / 327.9 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.106e-05/0.03481, allocations: 173.1 kB / 328.1 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.03483, allocations: 80.14 kB / 328.1 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.03485, allocations: 75.28 kB / 328.2 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.03489, allocations: 113.8 kB / 328.3 MB, free: 1.625 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.03489, allocations: 0 / 328.3 MB, free: 1.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 0.000127/0.03502, allocations: 81.64 kB / 328.4 MB, free: 1.539 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.03508, allocations: 130.6 kB / 328.5 MB, free: 1.398 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007433/0.03582, allocations: 1.154 MB / 329.7 MB, free: 240 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.03583, allocations: 25.7 kB / 329.7 MB, free: 208 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000621/0.03645, allocations: 1.397 MB / 331.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.03648, allocations: 43.95 kB / 331.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.03676, allocations: 415 kB / 331.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.03687, allocations: 333.9 kB / 331.9 MB, free: 14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.03699, allocations: 136 kB / 332 MB, free: 13.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009693/0.03796, allocations: 1.714 MB / 333.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.03942, allocations: 2.17 MB / 335.9 MB, free: 8.355 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/0.03944, allocations: 16 kB / 335.9 MB, free: 8.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001583/0.04102, allocations: 1.475 MB / 337.4 MB, free: 6.859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.04106, allocations: 32 kB / 337.4 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.245e-05/0.0411, allocations: 56 kB / 337.5 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.875e-05/0.04115, allocations: 72 kB / 337.5 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/0.04184, allocations: 0.5264 MB / 338.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-05/0.0419, allocations: 111.3 kB / 338.2 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/0.04258, allocations: 297.8 kB / 338.5 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/0.04266, allocations: 120 kB / 338.6 MB, free: 5.66 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.0003035/0.04296, allocations: 402.9 kB / 339 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.698e-05/0.04304, allocations: 156.9 kB / 339.1 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.04314, allocations: 194.2 kB / 339.3 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-05/0.04319, allocations: 184.3 kB / 339.5 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.387e-05/0.04324, allocations: 180.2 kB / 339.7 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-05/0.04328, allocations: 184.2 kB / 339.9 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.04375, allocations: 0.6806 MB / 340.5 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.66e-05/0.04378, allocations: 112.9 kB / 340.6 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.0438, allocations: 101 kB / 340.7 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.916e-05/0.0439, allocations: 200.2 kB / 340.9 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.121e-05/0.04394, allocations: 180.2 kB / 341.1 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.04399, allocations: 176.3 kB / 341.3 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.777e-05/0.04403, allocations: 188.2 kB / 341.5 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.541e-05/0.04408, allocations: 176.3 kB / 341.6 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.04422, allocations: 361.4 kB / 342 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.414e-05/0.0443, allocations: 180.3 kB / 342.2 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.04443, allocations: 112.9 kB / 342.3 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.04447, allocations: 184.2 kB / 342.5 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.0445, allocations: 104.9 kB / 342.6 MB, free: 1.492 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003094/0.04481, allocations: 443.3 kB / 343 MB, free: 1.055 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04481, allocations: 0 / 343 MB, free: 1.055 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008334/0.04564, allocations: 466.3 kB / 343.4 MB, free: 0.5977 MB / 330.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.0001538/0.0458, allocations: 151.7 kB / 343.6 MB, free: 452 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008885/0.04669, allocations: 0.6998 MB / 344.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.494e-05/0.04675, allocations: 48.75 kB / 344.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.04675, allocations: 0 / 344.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.04723, allocations: 0.6032 MB / 344.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.05027, allocations: 2.692 MB / 347.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.05061, allocations: 459.5 kB / 348.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002952/0.05091, allocations: 154.2 kB / 348.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.05106, allocations: 179.3 kB / 348.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of SimCode: time 1.303e-06/0.05106, allocations: 0 / 348.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of Templates: time 0.01299/0.06405, allocations: 6.605 MB / 355 MB, free: 5.016 MB / 346.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 -ignoreHideResult -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.495552563108504]