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.0008972/0.0008972, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009421/0.0009421, allocations: 168.7 kB / 24.91 MB, free: 9.191 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 0.9814/0.9814, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2358/0.2358, allocations: 32.8 MB / 294.6 MB, free: 1.168 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 1.152e-06/1.152e-06, allocations: 0 / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.5e-05, allocations: 7.188 kB / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.006227/0.006242, allocations: 8.225 MB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003439/0.009681, allocations: 2.331 MB / 333.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004212/0.0101, allocations: 43.88 kB / 333.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.0117, allocations: 1.643 MB / 335.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008463/0.01254, allocations: 0.5007 MB / 336 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.01271, allocations: 75.78 kB / 336 MB, free: 12.83 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005876/0.0133, allocations: 0.9531 MB / 337 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008201/0.01412, allocations: 1.264 MB / 338.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000488/0.01461, allocations: 0.8106 MB / 339.1 MB, free: 9.762 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.0151, allocations: 0.6037 MB / 339.7 MB, free: 9.156 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.397e-05/0.0152, allocations: 120 kB / 339.8 MB, free: 9.039 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.01536, allocations: 143.9 kB / 339.9 MB, free: 8.898 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003835/0.01574, allocations: 0.7674 MB / 340.7 MB, free: 8.129 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002993/0.01604, allocations: 0.4906 MB / 341.2 MB, free: 7.637 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008464/0.01689, allocations: 1.427 MB / 342.6 MB, free: 6.203 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.01689, allocations: 0 / 342.6 MB, free: 6.203 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01689, allocations: 0 / 342.6 MB, free: 6.203 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.0169, allocations: 0 / 342.6 MB, free: 6.203 MB / 314.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.001531/0.01843, allocations: 1.849 MB / 344.4 MB, free: 4.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.01846, allocations: 8.031 kB / 344.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002897/0.01875, allocations: 248.7 kB / 344.7 MB, free: 4.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.01922, allocations: 0.5524 MB / 345.3 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/0.01927, allocations: 115.4 kB / 345.4 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.01937, allocations: 144.3 kB / 345.5 MB, free: 3.238 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.02061, allocations: 1.879 MB / 347.4 MB, free: 1.023 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.02064, allocations: 19.81 kB / 347.4 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-05/0.0207, allocations: 75.92 kB / 347.5 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004209/0.02112, allocations: 0.6111 MB / 348.1 MB, free: 328 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006348/0.02176, allocations: 0.6848 MB / 348.8 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005358/0.02712, allocations: 11.45 MB / 360.2 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.226e-05/0.02717, allocations: 177.1 kB / 360.4 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.794e-05/0.02719, allocations: 80.14 kB / 360.5 MB, free: 3.496 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.0272, allocations: 75.28 kB / 360.5 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.02723, allocations: 105.8 kB / 360.6 MB, free: 3.309 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.02723, allocations: 7.938 kB / 360.7 MB, free: 3.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.627e-05/0.02731, allocations: 81.62 kB / 360.7 MB, free: 3.215 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.02734, allocations: 130.7 kB / 360.9 MB, free: 3.074 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006221/0.02797, allocations: 1.146 MB / 362 MB, free: 1.918 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.02797, allocations: 25.7 kB / 362 MB, free: 1.887 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004781/0.02845, allocations: 1.401 MB / 363.4 MB, free: 480 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.02847, allocations: 43.95 kB / 363.5 MB, free: 436 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.0287, allocations: 411 kB / 363.9 MB, free: 16 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004494/0.02915, allocations: 341.9 kB / 364.2 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.02926, allocations: 136 kB / 364.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/0.03001, allocations: 1.718 MB / 366.1 MB, free: 13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.03112, allocations: 2.166 MB / 368.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/0.03114, allocations: 16 kB / 368.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00115/0.03229, allocations: 1.471 MB / 369.7 MB, free: 8.543 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.03231, allocations: 28 kB / 369.7 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/0.03234, allocations: 60.84 kB / 369.8 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/0.03258, allocations: 72 kB / 369.9 MB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/0.03319, allocations: 491 kB / 370.4 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-05/0.03323, allocations: 115.5 kB / 370.5 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/0.0338, allocations: 297.8 kB / 370.8 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.571e-05/0.03388, allocations: 124 kB / 370.9 MB, free: 7.379 MB / 346.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.000263/0.03414, allocations: 394.6 kB / 371.3 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.03421, allocations: 160.9 kB / 371.4 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.188e-05/0.0343, allocations: 194.3 kB / 371.6 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-05/0.03434, allocations: 180.2 kB / 371.8 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.394e-05/0.03437, allocations: 176.3 kB / 372 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.602e-05/0.03441, allocations: 188.2 kB / 372.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.0348, allocations: 0.6766 MB / 372.8 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-05/0.03483, allocations: 105 kB / 372.9 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.03485, allocations: 108.9 kB / 373 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-05/0.03489, allocations: 184.3 kB / 373.2 MB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.03492, allocations: 176.3 kB / 373.4 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.48e-05/0.03496, allocations: 180.2 kB / 373.6 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-05/0.03499, allocations: 184.3 kB / 373.7 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.03511, allocations: 365.4 kB / 374.1 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.0352, allocations: 192.5 kB / 374.3 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.456e-05/0.03527, allocations: 180.2 kB / 374.5 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.03539, allocations: 105 kB / 374.6 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.03543, allocations: 188.1 kB / 374.7 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.03545, allocations: 109 kB / 374.9 MB, free: 3.227 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002866/0.03574, allocations: 439.3 kB / 375.3 MB, free: 2.793 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03574, allocations: 4 kB / 375.3 MB, free: 2.789 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007768/0.03651, allocations: 454.4 kB / 375.7 MB, free: 2.344 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.0001042/0.03662, allocations: 159.6 kB / 375.9 MB, free: 2.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.03712, allocations: 0.7021 MB / 376.6 MB, free: 1.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.606e-05/0.03718, allocations: 44.69 kB / 376.6 MB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.03718, allocations: 0 / 376.6 MB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.03794, allocations: 0.5303 MB / 377.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.04009, allocations: 2.649 MB / 379.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.04038, allocations: 455.5 kB / 380.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002633/0.04064, allocations: 158.2 kB / 380.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.04076, allocations: 175.4 kB / 380.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.04076, allocations: 0 / 380.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of Templates: time 0.01143/0.05219, allocations: 6.49 MB / 387.1 MB, free: 6.996 MB / 362.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: 2.942993820644915]