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.001376/0.001376, allocations: 75.77 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.000996/0.000996, allocations: 161 kB / 24.56 MB, free: 8 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.9605/0.9605, allocations: 177.1 MB / 205 MB, free: 5.629 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.3038/0.3038, allocations: 34.26 MB / 295.7 MB, free: 0.7578 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.213e-06/1.213e-06, allocations: 0 / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.415e-05, allocations: 2.312 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.006442/0.006456, allocations: 8.423 MB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003187/0.009643, allocations: 2.258 MB / 388.7 MB, free: 7.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003739/0.01002, allocations: 47.88 kB / 388.8 MB, free: 7.883 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.01176, allocations: 1.655 MB / 390.4 MB, free: 6.223 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006103/0.01237, allocations: 0.4968 MB / 390.9 MB, free: 5.723 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.01256, allocations: 75.77 kB / 391 MB, free: 5.648 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000759/0.01332, allocations: 0.9522 MB / 391.9 MB, free: 4.691 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000949/0.01426, allocations: 1.221 MB / 393.2 MB, free: 3.445 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005909/0.01486, allocations: 0.8145 MB / 394 MB, free: 2.629 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006162/0.01547, allocations: 0.6387 MB / 394.6 MB, free: 1.988 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.0156, allocations: 120 kB / 394.7 MB, free: 1.871 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.01581, allocations: 140 kB / 394.9 MB, free: 1.734 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004453/0.01625, allocations: 0.7751 MB / 395.6 MB, free: 0.957 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003361/0.01659, allocations: 0.4906 MB / 396.1 MB, free: 476 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.01759, allocations: 1.431 MB / 397.6 MB, free: 15.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.01759, allocations: 0 / 397.6 MB, free: 15.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.01759, allocations: 0 / 397.6 MB, free: 15.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.23e-05/0.01762, allocations: 0 / 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.001613/0.01923, allocations: 2.083 MB / 399.6 MB, free: 12.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.01926, allocations: 12.03 kB / 399.7 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003669/0.01963, allocations: 351.3 kB / 400 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006313/0.02026, allocations: 0.6333 MB / 400.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.139e-05/0.02032, allocations: 119.3 kB / 400.7 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.02043, allocations: 148.3 kB / 400.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.02222, allocations: 2.237 MB / 403.1 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.02225, allocations: 27.75 kB / 403.2 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.428e-05/0.02233, allocations: 71.94 kB / 403.2 MB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004439/0.02278, allocations: 0.6111 MB / 403.8 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.02395, allocations: 0.8125 MB / 404.6 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007089/0.03104, allocations: 16.83 MB / 421.5 MB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.45e-05/0.03114, allocations: 265.4 kB / 421.7 MB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.03118, allocations: 126.9 kB / 421.9 MB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.0312, allocations: 119.2 kB / 422 MB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.03125, allocations: 152.6 kB / 422.1 MB, free: 5.352 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.03125, allocations: 0 / 422.1 MB, free: 5.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001243/0.03137, allocations: 148.8 kB / 422.3 MB, free: 5.199 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.03142, allocations: 174.6 kB / 422.4 MB, free: 5.016 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009973/0.03242, allocations: 1.357 MB / 423.8 MB, free: 3.648 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.03243, allocations: 29.7 kB / 423.8 MB, free: 3.613 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006316/0.03306, allocations: 1.504 MB / 425.3 MB, free: 2.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.03309, allocations: 43.95 kB / 425.4 MB, free: 2.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/0.0334, allocations: 448.8 kB / 425.8 MB, free: 1.598 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.03352, allocations: 0.5043 MB / 426.3 MB, free: 1.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.03373, allocations: 164 kB / 426.5 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.0349, allocations: 2.468 MB / 428.9 MB, free: 13.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.03656, allocations: 2.902 MB / 431.9 MB, free: 9.336 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-05/0.03658, allocations: 16 kB / 431.9 MB, free: 9.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001718/0.0383, allocations: 1.806 MB / 433.7 MB, free: 7.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.03833, allocations: 32 kB / 433.7 MB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.69e-05/0.03837, allocations: 60.83 kB / 433.8 MB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.69e-05/0.03841, allocations: 75.94 kB / 433.8 MB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.03905, allocations: 491.1 kB / 434.3 MB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.725e-05/0.03911, allocations: 111.5 kB / 434.4 MB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006393/0.03975, allocations: 301.8 kB / 434.7 MB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/0.03983, allocations: 136 kB / 434.9 MB, free: 6.324 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.0002945/0.04013, allocations: 482.4 kB / 435.3 MB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.962e-05/0.04023, allocations: 260.1 kB / 435.6 MB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.04033, allocations: 238.2 kB / 435.8 MB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.823e-05/0.04039, allocations: 276 kB / 436.1 MB, free: 5.059 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.738e-05/0.04045, allocations: 272 kB / 436.3 MB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.957e-05/0.04051, allocations: 272.1 kB / 436.6 MB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000853/0.04136, allocations: 1.293 MB / 437.9 MB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.103e-05/0.04139, allocations: 144.9 kB / 438 MB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.04142, allocations: 148.9 kB / 438.2 MB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.454e-05/0.04147, allocations: 272 kB / 438.5 MB, free: 2.598 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/0.04153, allocations: 264.1 kB / 438.7 MB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.489e-05/0.04159, allocations: 268 kB / 439 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-05/0.04164, allocations: 280 kB / 439.3 MB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.04181, allocations: 0.5411 MB / 439.8 MB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.04192, allocations: 232.2 kB / 440 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.04203, allocations: 276 kB / 440.3 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.04216, allocations: 144.9 kB / 440.4 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.04222, allocations: 272 kB / 440.7 MB, free: 288 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.04226, allocations: 148.9 kB / 440.8 MB, free: 132 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005243/0.04278, allocations: 0.6172 MB / 441.5 MB, free: 15.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04278, allocations: 4 kB / 441.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000925/0.04371, allocations: 454.4 kB / 441.9 MB, free: 15.06 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.0001343/0.04384, allocations: 222.4 kB / 442.1 MB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006807/0.04452, allocations: 0.7636 MB / 442.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.04452, allocations: 0 / 442.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.04453, allocations: 3.938 kB / 442.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.04502, allocations: 0.7865 MB / 443.7 MB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.04743, allocations: 2.599 MB / 446.3 MB, free: 10.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.04775, allocations: 463.5 kB / 446.7 MB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005614/0.04832, allocations: 425.7 kB / 447.1 MB, free: 9.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.04838, allocations: 64.5 kB / 447.2 MB, free: 9.664 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.04838, allocations: 0 / 447.2 MB, free: 9.664 MB / 426.7 MB Notification: Performance of Templates: time 0.01024/0.05862, allocations: 6.042 MB / 453.2 MB, free: 3.758 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.517715281341225]