Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.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.0009401/0.0009401, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.0009468/0.0009468, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9945/0.9945, allocations: 158.6 MB / 186 MB, free: 2.359 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1617/0.1617, allocations: 32.38 MB / 270.7 MB, free: 14.56 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 299.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.554e-05, allocations: 2.312 kB / 299.2 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.1577/0.1578, allocations: 15.96 MB / 315.1 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01343/0.1712, allocations: 5.43 MB / 320.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003692/0.1749, allocations: 131.9 kB / 320.7 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006199/0.1811, allocations: 5.355 MB / 326 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008252/0.1893, allocations: 2.952 MB / 329 MB, free: 252 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.1924, allocations: 1.388 MB / 330.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01008/0.2024, allocations: 8.742 MB / 339.1 MB, free: 6.102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006449/0.2089, allocations: 5.685 MB / 344.8 MB, free: 308 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007025/0.2159, allocations: 5.009 MB / 349.8 MB, free: 11.28 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005346/0.2213, allocations: 4.022 MB / 353.8 MB, free: 7.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001783/0.223, allocations: 0.6055 MB / 354.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/0.2262, allocations: 1.623 MB / 356.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00329/0.2295, allocations: 3.701 MB / 359.8 MB, free: 1.309 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003911/0.2334, allocations: 2.294 MB / 362.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009055/0.2424, allocations: 7.695 MB / 369.8 MB, free: 7.285 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2424, allocations: 0 / 369.8 MB, free: 7.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2424, allocations: 3.938 kB / 369.8 MB, free: 7.281 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003731/0.2428, allocations: 0 / 369.8 MB, free: 7.281 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.0112/0.254, allocations: 7.594 MB / 377.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.254, allocations: 12.03 kB / 377.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004903/0.2589, allocations: 1.78 MB / 379.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005649/0.2646, allocations: 3.467 MB / 382.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/0.2649, allocations: 398.4 kB / 383 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/0.2664, allocations: 0.5156 MB / 383.5 MB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01222/0.2786, allocations: 7.77 MB / 391.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001973/0.2788, allocations: 67.39 kB / 391.4 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00049/0.2793, allocations: 253.8 kB / 391.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002177/0.2815, allocations: 2.584 MB / 394.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008758/0.2902, allocations: 3.826 MB / 398 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04667/0.3369, allocations: 47.64 MB / 445.6 MB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006541/0.3434, allocations: 2.215 MB / 447.9 MB, free: 6.094 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009789/0.3444, allocations: 0.5037 MB / 448.4 MB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009515/0.3539, allocations: 5.074 MB / 453.4 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.354, allocations: 59.44 kB / 453.5 MB, free: 408 kB / 410.7 MB Notification: Performance of pre-optimization done (n=196): time 3.868e-06/0.354, allocations: 0 / 453.5 MB, free: 408 kB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.01835/0.3723, allocations: 5.786 MB / 459.3 MB, free: 10.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.768e-05/0.3724, allocations: 264 kB / 459.5 MB, free: 10.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006298/0.3787, allocations: 5.018 MB / 464.6 MB, free: 5.219 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003582/0.3791, allocations: 57.7 kB / 464.6 MB, free: 5.156 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002608/0.3817, allocations: 4.774 MB / 469.4 MB, free: 336 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2658/0.6475, allocations: 0.8362 MB / 470.2 MB, free: 135.2 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002346/0.6498, allocations: 1.698 MB / 471.9 MB, free: 135.1 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 4.419e-05/0.6499, allocations: 308.1 kB / 472.2 MB, free: 134.8 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.6517, allocations: 1.039 MB / 473.3 MB, free: 134.8 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003989/0.6557, allocations: 6.483 MB / 479.7 MB, free: 127.5 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007908/0.6636, allocations: 8.261 MB / 488 MB, free: 119.8 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003784/0.664, allocations: 56.03 kB / 488.1 MB, free: 119.8 MB / 426.8 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.01301/0.677, allocations: 5.983 MB / 494 MB, free: 118.2 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.6771, allocations: 88.97 kB / 494.1 MB, free: 118.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/0.6773, allocations: 200.5 kB / 494.3 MB, free: 118.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/0.6779, allocations: 374.8 kB / 494.7 MB, free: 118.2 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004379/0.6823, allocations: 2.133 MB / 496.8 MB, free: 118 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.6843, allocations: 3.992 MB / 0.4891 GB, free: 114.4 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005452/0.6897, allocations: 405.8 kB / 0.4895 GB, free: 114.4 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009177/0.6906, allocations: 470.9 kB / 0.4899 GB, free: 114.4 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 897 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1123): * Single equations (assignments): 1117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002414/0.693, allocations: 0.8589 MB / 0.4908 GB, free: 114 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007839/0.6938, allocations: 321.3 kB / 0.4911 GB, free: 114 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.6953, allocations: 1.129 MB / 0.4922 GB, free: 113.5 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.6953, allocations: 26.97 kB / 0.4922 GB, free: 113.5 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.6953, allocations: 0 / 0.4922 GB, free: 113.5 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.6953, allocations: 10.97 kB / 0.4922 GB, free: 113.5 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007853/0.7032, allocations: 5.542 MB / 0.4976 GB, free: 110.6 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.7032, allocations: 8.125 kB / 0.4976 GB, free: 110.6 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000939/0.7041, allocations: 363.8 kB / 0.498 GB, free: 110.3 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000608/0.7047, allocations: 390.5 kB / 0.4983 GB, free: 110 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/0.7049, allocations: 47.94 kB / 0.4984 GB, free: 109.9 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.7063, allocations: 3.634 MB / 0.5019 GB, free: 106.1 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.7063, allocations: 11.94 kB / 0.5019 GB, free: 106.1 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.7087, allocations: 2.286 MB / 0.5042 GB, free: 103.9 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.7099, allocations: 0.6426 MB / 0.5048 GB, free: 103.6 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004224/0.7103, allocations: 41.97 kB / 0.5048 GB, free: 103.6 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000939/0.7112, allocations: 47.98 kB / 0.5049 GB, free: 103.6 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.7115, allocations: 149.5 kB / 0.505 GB, free: 103.5 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/0.7115, allocations: 43.98 kB / 0.5051 GB, free: 103.4 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002025/0.7136, allocations: 1.92 MB / 0.507 GB, free: 101.9 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7136, allocations: 0 / 0.507 GB, free: 101.9 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.007216/0.7208, allocations: 1.557 MB / 0.5085 GB, free: 100.3 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w) * 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 (178): * Single equations (assignments): 172 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004805/0.7213, allocations: 187.8 kB / 0.5087 GB, free: 100.2 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.005562/0.7268, allocations: 3.642 MB / 0.5122 GB, free: 96.88 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002687/0.7271, allocations: 124.2 kB / 0.5123 GB, free: 96.75 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008636/0.7279, allocations: 0.8192 MB / 0.5131 GB, free: 95.91 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003935/0.7319, allocations: 1.001 MB / 0.5141 GB, free: 94.97 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/0.7493, allocations: 11.79 MB / 0.5256 GB, free: 83.03 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002283/0.7516, allocations: 1.958 MB / 0.5275 GB, free: 81.05 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002419/0.754, allocations: 0.7345 MB / 0.5283 GB, free: 80.32 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.7551, allocations: 0.7979 MB / 0.529 GB, free: 79.52 MB / 426.8 MB Notification: Performance of SimCode: time 1.834e-06/0.7551, allocations: 4 kB / 0.529 GB, free: 79.52 MB / 426.8 MB Notification: Performance of Templates: time 0.06287/0.818, allocations: 42.96 MB / 0.571 GB, free: 36.65 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.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: 4.567078234162182]