Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00238/0.00238, allocations: 99.53 kB / 20.96 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002872/0.002872, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3343/0.3343, allocations: 34.26 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.023e-05, allocations: 10.25 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01272/0.01275, allocations: 8.353 MB / 385.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006138/0.01889, allocations: 2.25 MB / 387.8 MB, free: 8.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000851/0.01974, allocations: 47.88 kB / 387.8 MB, free: 8.223 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003578/0.02332, allocations: 1.643 MB / 389.5 MB, free: 6.574 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.02464, allocations: 0.4968 MB / 390 MB, free: 6.074 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.02499, allocations: 79.77 kB / 390.1 MB, free: 5.996 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.02643, allocations: 0.96 MB / 391 MB, free: 5.031 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.02804, allocations: 1.225 MB / 392.3 MB, free: 3.781 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.02945, allocations: 0.8028 MB / 393.1 MB, free: 2.977 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.03054, allocations: 0.6465 MB / 393.7 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002245/0.03077, allocations: 120 kB / 393.8 MB, free: 2.211 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.03115, allocations: 136 kB / 394 MB, free: 2.078 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008667/0.03201, allocations: 0.7791 MB / 394.7 MB, free: 1.297 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000652/0.03266, allocations: 498.3 kB / 395.2 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002771/0.03544, allocations: 2.265 MB / 397.5 MB, free: 14.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.03544, allocations: 0 / 397.5 MB, free: 14.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.03544, allocations: 0 / 397.5 MB, free: 14.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.467e-05/0.03548, allocations: 0 / 397.5 MB, free: 14.53 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.003356/0.03883, allocations: 2.234 MB / 399.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.03887, allocations: 8.031 kB / 399.7 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007119/0.03958, allocations: 351.4 kB / 400.1 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.04114, allocations: 0.6489 MB / 400.7 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.04127, allocations: 123.3 kB / 400.8 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.04148, allocations: 152.3 kB / 401 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/0.045, allocations: 2.362 MB / 403.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.481e-05/0.04504, allocations: 15.81 kB / 403.4 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.04519, allocations: 75.94 kB / 403.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008445/0.04604, allocations: 0.6227 MB / 404.1 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.0479, allocations: 0.8041 MB / 404.9 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01815/0.06606, allocations: 17.5 MB / 422.4 MB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.06625, allocations: 269.4 kB / 422.6 MB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.06633, allocations: 126.9 kB / 422.8 MB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.627e-05/0.06639, allocations: 119.2 kB / 422.9 MB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.205e-05/0.06648, allocations: 156.6 kB / 423 MB, free: 3.891 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.06649, allocations: 3.938 kB / 423 MB, free: 3.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002456/0.06673, allocations: 132.9 kB / 423.2 MB, free: 3.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.06684, allocations: 178.6 kB / 423.3 MB, free: 3.562 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/0.06901, allocations: 1.631 MB / 425 MB, free: 1.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.06903, allocations: 25.7 kB / 425 MB, free: 1.891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001423/0.07045, allocations: 1.559 MB / 426.5 MB, free: 320 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.0705, allocations: 43.95 kB / 426.6 MB, free: 276 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006975/0.0712, allocations: 0.497 MB / 427.1 MB, free: 15.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003267/0.07153, allocations: 0.516 MB / 427.6 MB, free: 15.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.07187, allocations: 168 kB / 427.8 MB, free: 15.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0032/0.07507, allocations: 2.518 MB / 430.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003621/0.07869, allocations: 2.964 MB / 433.2 MB, free: 7.371 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.214e-05/0.07872, allocations: 19.94 kB / 433.3 MB, free: 7.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003616/0.08234, allocations: 1.818 MB / 435.1 MB, free: 5.527 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.08239, allocations: 31.98 kB / 435.1 MB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.554e-05/0.08245, allocations: 60 kB / 435.2 MB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.46e-05/0.08255, allocations: 75.94 kB / 435.2 MB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.08378, allocations: 483.7 kB / 435.7 MB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001088/0.08389, allocations: 111.6 kB / 435.8 MB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.08516, allocations: 297.9 kB / 436.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.08533, allocations: 140 kB / 436.3 MB, free: 4.352 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.0008594/0.08619, allocations: 0.5022 MB / 436.8 MB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.08642, allocations: 256.2 kB / 437 MB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.08662, allocations: 234.1 kB / 437.2 MB, free: 3.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001447/0.08677, allocations: 280 kB / 437.5 MB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001457/0.08691, allocations: 264.1 kB / 437.8 MB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001475/0.08706, allocations: 272 kB / 438 MB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.08918, allocations: 1.594 MB / 439.6 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.808e-05/0.08925, allocations: 148.8 kB / 439.8 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.794e-05/0.08933, allocations: 148.9 kB / 439.9 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001391/0.08947, allocations: 276 kB / 440.2 MB, free: 304 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.08961, allocations: 268.1 kB / 440.5 MB, free: 28 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001599/0.08977, allocations: 268.1 kB / 440.7 MB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001517/0.08992, allocations: 272 kB / 441 MB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006682/0.09059, allocations: 0.5411 MB / 441.5 MB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.09089, allocations: 232.2 kB / 441.7 MB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.09111, allocations: 272.1 kB / 442 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.0914, allocations: 152.8 kB / 442.2 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.09155, allocations: 272 kB / 442.4 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.183e-05/0.09163, allocations: 152.8 kB / 442.6 MB, free: 13.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001062/0.09269, allocations: 0.7031 MB / 443.3 MB, free: 13.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09269, allocations: 0 / 443.3 MB, free: 13.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001774/0.09446, allocations: 462.3 kB / 443.7 MB, free: 12.66 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.0002237/0.09469, allocations: 218.4 kB / 443.9 MB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.09618, allocations: 0.815 MB / 444.8 MB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.09618, allocations: 0 / 444.8 MB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.09618, allocations: 0 / 444.8 MB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/0.09712, allocations: 0.785 MB / 445.5 MB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/0.1019, allocations: 2.607 MB / 448.2 MB, free: 8.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.1034, allocations: 0.9251 MB / 449.1 MB, free: 7.211 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001005/0.1044, allocations: 421.7 kB / 449.5 MB, free: 6.797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.1045, allocations: 68.5 kB / 449.6 MB, free: 6.727 MB / 426.7 MB Notification: Performance of SimCode: time 1.884e-06/0.1045, allocations: 4 kB / 449.6 MB, free: 6.723 MB / 426.7 MB Notification: Performance of Templates: time 0.01691/0.1215, allocations: 6.038 MB / 455.6 MB, free: 0.8164 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.299948476022109]