Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.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.001409/0.001409, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001887/0.001887, allocations: 161.4 kB / 24.91 MB, free: 8.719 MB / 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.022/1.022, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] 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.2703/0.2703, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 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.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08e-05/1.227e-05, allocations: 3.297 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01006/0.01007, allocations: 13.9 MB / 339.9 MB, free: 9.129 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007566/0.01764, allocations: 5.096 MB / 345 MB, free: 4.016 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.01886, allocations: 119.4 kB / 345.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.02306, allocations: 4.38 MB / 349.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003687/0.02675, allocations: 2.48 MB / 351.9 MB, free: 13.01 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.02828, allocations: 1.193 MB / 353.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008405/0.03669, allocations: 8.207 MB / 361.3 MB, free: 3.602 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0057/0.04239, allocations: 4.73 MB / 366.1 MB, free: 14.78 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005083/0.04747, allocations: 4.503 MB / 370.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003772/0.05124, allocations: 3.215 MB / 373.8 MB, free: 7.047 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.0524, allocations: 500 kB / 374.3 MB, free: 6.559 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.05452, allocations: 1.346 MB / 375.6 MB, free: 5.211 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002135/0.05666, allocations: 2.934 MB / 378.6 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002447/0.05911, allocations: 1.862 MB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006818/0.06592, allocations: 6.244 MB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.06593, allocations: 0 / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.06593, allocations: 0 / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002413/0.06617, allocations: 0 / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1953 * Number of variables: 1953 Notification: Performance of Generate backend data structure: time 0.009357/0.07553, allocations: 6.416 MB / 393.1 MB, free: 3.656 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.07558, allocations: 12.03 kB / 393.1 MB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004383/0.07996, allocations: 1.476 MB / 394.6 MB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004087/0.08405, allocations: 2.984 MB / 397.6 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.08421, allocations: 328.8 kB / 397.9 MB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000512/0.08473, allocations: 448.1 kB / 398.3 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008034/0.09276, allocations: 6.551 MB / 404.9 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001297/0.09289, allocations: 63.47 kB / 404.9 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000348/0.09324, allocations: 207.8 kB / 405.1 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001678/0.09491, allocations: 2.153 MB / 407.3 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006664/0.1016, allocations: 3.205 MB / 410.5 MB, free: 1.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1981/0.2996, allocations: 39.8 MB / 450.3 MB, free: 82.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004802/0.3044, allocations: 2.049 MB / 452.3 MB, free: 82.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/0.305, allocations: 451.5 kB / 452.8 MB, free: 82.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005274/0.3102, allocations: 4.07 MB / 456.8 MB, free: 81.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.3103, allocations: 55.53 kB / 456.9 MB, free: 81.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 4.529e-06/0.3103, allocations: 0 / 456.9 MB, free: 81.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=212): time 0.02748/0.3378, allocations: 11.59 MB / 468.5 MB, free: 78.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.3378, allocations: 260.5 kB / 468.7 MB, free: 78.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003624/0.3415, allocations: 4.138 MB / 472.9 MB, free: 75.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001999/0.3417, allocations: 63.19 kB / 472.9 MB, free: 75.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.3428, allocations: 3.908 MB / 476.9 MB, free: 72.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005781/0.3434, allocations: 0.8764 MB / 477.7 MB, free: 71.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/0.3445, allocations: 1.444 MB / 479.2 MB, free: 70.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.366e-05/0.3445, allocations: 305.1 kB / 479.5 MB, free: 70.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.3459, allocations: 0.9821 MB / 480.5 MB, free: 69.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/0.3481, allocations: 5.473 MB / 485.9 MB, free: 61.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003845/0.352, allocations: 6.983 MB / 492.9 MB, free: 53.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.75e-05/0.3521, allocations: 44 kB / 493 MB, free: 53.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=992) (initialization): time 0.006471/0.3585, allocations: 5.43 MB / 498.4 MB, free: 47.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.413e-05/0.3586, allocations: 72 kB / 498.5 MB, free: 47.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/0.3587, allocations: 162.8 kB / 498.6 MB, free: 47.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/0.3603, allocations: 0.6726 MB / 499.3 MB, free: 46.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002927/0.3632, allocations: 1.766 MB / 0.4893 GB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.3667, allocations: 3.697 MB / 0.4929 GB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/0.3706, allocations: 339.6 kB / 0.4932 GB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005909/0.3712, allocations: 388 kB / 0.4936 GB, free: 40.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (950): * Single equations (assignments): 945 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,7,88.9%), (3,7,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00172/0.3729, allocations: 0.7414 MB / 0.4943 GB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006813/0.3736, allocations: 294.2 kB / 0.4946 GB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.376, allocations: 1.526 MB / 0.4961 GB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.376, allocations: 24 kB / 0.4961 GB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.376, allocations: 4 kB / 0.4961 GB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.376, allocations: 7.969 kB / 0.4961 GB, free: 37.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009932/0.3859, allocations: 6.22 MB / 0.5022 GB, free: 31.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.386, allocations: 12.22 kB / 0.5022 GB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000851/0.3868, allocations: 331.5 kB / 0.5025 GB, free: 31.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/0.3885, allocations: 0.6678 MB / 0.5032 GB, free: 30.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.3886, allocations: 51.92 kB / 0.5032 GB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/0.3914, allocations: 3.345 MB / 0.5065 GB, free: 26.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.3914, allocations: 15.94 kB / 0.5065 GB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003513/0.3949, allocations: 2.628 MB / 0.5091 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009625/0.3959, allocations: 428.8 kB / 0.5095 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004693/0.3963, allocations: 47.98 kB / 0.5095 GB, free: 23.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.3973, allocations: 51.98 kB / 0.5096 GB, free: 23.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/0.3976, allocations: 156.8 kB / 0.5097 GB, free: 23.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.102e-05/0.3977, allocations: 48 kB / 0.5098 GB, free: 23.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001944/0.3996, allocations: 1.579 MB / 0.5113 GB, free: 21.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3996, allocations: 0 / 0.5113 GB, free: 21.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00497/0.4046, allocations: 1.449 MB / 0.5128 GB, free: 20.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (176): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,7,88.9%), (3,7,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004369/0.405, allocations: 187.9 kB / 0.5129 GB, free: 20.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004152/0.4092, allocations: 3.373 MB / 0.5162 GB, free: 16.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002015/0.4094, allocations: 112.2 kB / 0.5163 GB, free: 16.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.4104, allocations: 0.9096 MB / 0.5172 GB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/0.4139, allocations: 0.8671 MB / 0.5181 GB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.4269, allocations: 10.15 MB / 0.528 GB, free: 4.469 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/0.4285, allocations: 1.659 MB / 0.5296 GB, free: 2.789 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001909/0.4304, allocations: 0.6312 MB / 0.5302 GB, free: 2.164 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/0.4316, allocations: 0.7237 MB / 0.5309 GB, free: 1.441 MB / 410.7 MB Notification: Performance of SimCode: time 2.294e-06/0.4316, allocations: 4 kB / 0.5309 GB, free: 1.438 MB / 410.7 MB Notification: Performance of Templates: time 0.07078/0.5024, allocations: 48.06 MB / 0.5779 GB, free: 1.781 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.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.463401786983013]