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.001109/0.001109, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001176/0.001176, allocations: 169.3 kB / 24.14 MB, free: 364 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.9766/0.9766, allocations: 158.6 MB / 186 MB, free: 2.773 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.1547/0.1547, allocations: 32.38 MB / 270.7 MB, free: 14.61 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 2.605e-06/2.605e-06, allocations: 0 / 299.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.271e-05/4.532e-05, allocations: 2.312 kB / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.1655/0.1655, allocations: 15.92 MB / 315 MB, free: 11.26 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.1789, allocations: 5.422 MB / 320.5 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004356/0.1833, allocations: 131.7 kB / 320.6 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006647/0.1899, allocations: 5.449 MB / 326 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008073/0.198, allocations: 2.989 MB / 329 MB, free: 248 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.2011, allocations: 1.4 MB / 330.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01123/0.2123, allocations: 8.723 MB / 339.1 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008174/0.2205, allocations: 6.036 MB / 345.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/0.2309, allocations: 5.103 MB / 350.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006325/0.2372, allocations: 4.025 MB / 354.3 MB, free: 6.805 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002141/0.2394, allocations: 0.6055 MB / 354.9 MB, free: 6.199 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004163/0.2435, allocations: 1.572 MB / 356.5 MB, free: 4.625 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004874/0.2484, allocations: 3.705 MB / 360.2 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00582/0.2542, allocations: 2.298 MB / 362.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.2656, allocations: 7.695 MB / 370.2 MB, free: 6.883 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2656, allocations: 4 kB / 370.2 MB, free: 6.879 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2656, allocations: 0 / 370.2 MB, free: 6.879 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000382/0.2659, allocations: 0 / 370.2 MB, free: 6.879 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.01195/0.2779, allocations: 7.583 MB / 377.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2779, allocations: 12.03 kB / 377.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005327/0.2833, allocations: 1.776 MB / 379.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006599/0.2899, allocations: 3.482 MB / 383 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002711/0.2901, allocations: 394.4 kB / 383.4 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001272/0.2914, allocations: 0.5156 MB / 383.9 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/0.3054, allocations: 7.772 MB / 391.7 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002549/0.3057, allocations: 72.69 kB / 391.8 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000797/0.3065, allocations: 247.9 kB / 392 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002446/0.3089, allocations: 2.58 MB / 394.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00967/0.3186, allocations: 3.826 MB / 398.4 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05236/0.3709, allocations: 47.64 MB / 446.1 MB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005264/0.3762, allocations: 2.219 MB / 448.3 MB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.3772, allocations: 0.5107 MB / 448.8 MB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009807/0.387, allocations: 5.075 MB / 453.9 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.3871, allocations: 55.56 kB / 453.9 MB, free: 0 / 410.7 MB Notification: Performance of pre-optimization done (n=196): time 3.377e-06/0.3871, allocations: 0 / 453.9 MB, free: 0 / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.01641/0.4035, allocations: 5.787 MB / 459.7 MB, free: 10.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.4036, allocations: 260.2 kB / 460 MB, free: 9.832 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008597/0.4122, allocations: 5.021 MB / 465 MB, free: 4.816 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005281/0.4127, allocations: 57.7 kB / 465.1 MB, free: 4.754 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1668/0.5795, allocations: 4.765 MB / 469.8 MB, free: 136.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001195/0.5807, allocations: 0.8429 MB / 470.7 MB, free: 136.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002248/0.5829, allocations: 1.7 MB / 472.4 MB, free: 136.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.357e-05/0.583, allocations: 302.2 kB / 472.7 MB, free: 136.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.5853, allocations: 1.039 MB / 473.7 MB, free: 136.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004295/0.5896, allocations: 6.486 MB / 480.2 MB, free: 129.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008622/0.5982, allocations: 8.259 MB / 488.4 MB, free: 121.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000312/0.5985, allocations: 56.5 kB / 488.5 MB, free: 121.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.01152/0.61, allocations: 5.981 MB / 494.5 MB, free: 120 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-05/0.6101, allocations: 90.41 kB / 494.6 MB, free: 120 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001868/0.6103, allocations: 201.6 kB / 494.8 MB, free: 120 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000543/0.6108, allocations: 371.9 kB / 495.1 MB, free: 119.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003651/0.6145, allocations: 2.042 MB / 497.2 MB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.6162, allocations: 3.985 MB / 0.4894 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005317/0.6215, allocations: 402.8 kB / 0.4898 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/0.6226, allocations: 468.1 kB / 0.4902 GB, free: 116.1 MB / 426.7 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.002499/0.6251, allocations: 0.8639 MB / 0.4911 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008762/0.6259, allocations: 319.3 kB / 0.4914 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.6274, allocations: 1.138 MB / 0.4925 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.6274, allocations: 28.22 kB / 0.4925 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6274, allocations: 0 / 0.4925 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.6274, allocations: 10.41 kB / 0.4925 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007295/0.6347, allocations: 5.544 MB / 0.4979 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.6347, allocations: 4 kB / 0.4979 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/0.6355, allocations: 337.7 kB / 0.4983 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005866/0.6361, allocations: 389.2 kB / 0.4986 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.6362, allocations: 39.61 kB / 0.4987 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.6375, allocations: 3.638 MB / 0.5022 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.6375, allocations: 8 kB / 0.5022 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.6397, allocations: 2.284 MB / 0.5045 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.6409, allocations: 0.6355 MB / 0.5051 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004487/0.6414, allocations: 43.75 kB / 0.5051 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009714/0.6423, allocations: 47.33 kB / 0.5052 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.6425, allocations: 140.1 kB / 0.5053 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.307e-05/0.6426, allocations: 55.97 kB / 0.5054 GB, free: 105.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002128/0.6447, allocations: 1.912 MB / 0.5072 GB, free: 103.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6447, allocations: 0 / 0.5072 GB, free: 103.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00618/0.6509, allocations: 1.563 MB / 0.5088 GB, free: 102.2 MB / 426.7 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.0004768/0.6514, allocations: 184.4 kB / 0.5089 GB, free: 102 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004517/0.6559, allocations: 3.65 MB / 0.5125 GB, free: 98.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002493/0.6561, allocations: 124.2 kB / 0.5126 GB, free: 98.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007184/0.6569, allocations: 0.8201 MB / 0.5134 GB, free: 97.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00347/0.6603, allocations: 0.9977 MB / 0.5144 GB, free: 96.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.6752, allocations: 11.78 MB / 0.5259 GB, free: 84.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/0.677, allocations: 1.958 MB / 0.5278 GB, free: 82.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002113/0.6791, allocations: 0.7411 MB / 0.5285 GB, free: 82.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/0.6803, allocations: 0.7979 MB / 0.5293 GB, free: 81.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/0.6803, allocations: 0 / 0.5293 GB, free: 81.34 MB / 426.7 MB Notification: Performance of Templates: time 0.06479/0.7451, allocations: 42.96 MB / 0.5713 GB, free: 38.47 MB / 426.7 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 -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.786524820141494]