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.001063/0.001063, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.0009645/0.0009645, allocations: 156.5 kB / 24.56 MB, free: 8 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 0.9356/0.9356, allocations: 177 MB / 204.8 MB, free: 5.574 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.2933/0.2933, allocations: 34.86 MB / 296.3 MB, free: 0.5352 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.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.583e-06/1.583e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.711e-05, allocations: 6.875 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01263/0.01266, allocations: 14.19 MB / 393 MB, free: 3.797 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007683/0.02034, allocations: 4.937 MB / 397.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.02161, allocations: 119.4 kB / 398 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004253/0.02586, allocations: 4.462 MB / 402.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003696/0.02955, allocations: 2.468 MB / 405 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.03116, allocations: 1.193 MB / 406.2 MB, free: 6.574 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005736/0.0369, allocations: 8.248 MB / 414.4 MB, free: 14.31 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003413/0.04031, allocations: 4.955 MB / 419.4 MB, free: 9.289 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005837/0.04615, allocations: 4.62 MB / 424 MB, free: 4.66 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005294/0.05144, allocations: 3.367 MB / 427.3 MB, free: 1.285 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001747/0.05319, allocations: 0.4921 MB / 427.8 MB, free: 0.793 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003244/0.05643, allocations: 1.315 MB / 429.2 MB, free: 15.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002984/0.05942, allocations: 2.938 MB / 432.1 MB, free: 12.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002326/0.06174, allocations: 1.862 MB / 434 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006861/0.0686, allocations: 6.24 MB / 440.2 MB, free: 4.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.06861, allocations: 4 kB / 440.2 MB, free: 4.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.06861, allocations: 0 / 440.2 MB, free: 4.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001547/0.06877, allocations: 0 / 440.2 MB, free: 4.398 MB / 410.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.178/0.2468, allocations: 7.499 MB / 447.7 MB, free: 93.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.2468, allocations: 8.938 kB / 447.7 MB, free: 93.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01235/0.2592, allocations: 3.886 MB / 451.6 MB, free: 93.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00536/0.2645, allocations: 3.628 MB / 455.2 MB, free: 92.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.2647, allocations: 324.6 kB / 455.5 MB, free: 92.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008178/0.2656, allocations: 444.9 kB / 456 MB, free: 92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01544/0.281, allocations: 7.967 MB / 463.9 MB, free: 87.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003049/0.2813, allocations: 66.8 kB / 464 MB, free: 87.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006231/0.2819, allocations: 203 kB / 464.2 MB, free: 87.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002608/0.2845, allocations: 2.304 MB / 466.5 MB, free: 86.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01312/0.2977, allocations: 4.009 MB / 470.5 MB, free: 86.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03248/0.3301, allocations: 55.21 MB / 0.5134 GB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006815/0.337, allocations: 2.284 MB / 0.5156 GB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009406/0.3379, allocations: 0.6627 MB / 0.5163 GB, free: 39.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00566/0.3436, allocations: 4.604 MB / 0.5208 GB, free: 35.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.3436, allocations: 62.27 kB / 0.5208 GB, free: 35.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 3.958e-06/0.3436, allocations: 0 / 0.5208 GB, free: 35.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=212): time 0.04762/0.3912, allocations: 21.56 MB / 0.5419 GB, free: 14.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.3913, allocations: 256.6 kB / 0.5421 GB, free: 14.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003544/0.3948, allocations: 4.635 MB / 0.5467 GB, free: 9.641 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-05/0.3949, allocations: 57.7 kB / 0.5467 GB, free: 9.578 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00137/0.3963, allocations: 4.454 MB / 0.5511 GB, free: 5.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/0.3967, allocations: 0.8962 MB / 0.5519 GB, free: 4.273 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/0.3978, allocations: 1.632 MB / 0.5535 GB, free: 2.633 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.29e-05/0.3978, allocations: 480.8 kB / 0.554 GB, free: 2.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.3989, allocations: 0.8776 MB / 0.5549 GB, free: 1.281 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004009/0.403, allocations: 7.716 MB / 0.5624 GB, free: 6.473 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00656/0.4095, allocations: 9.312 MB / 0.5715 GB, free: 10.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-05/0.4096, allocations: 44 kB / 0.5715 GB, free: 10.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=992) (initialization): time 0.009991/0.4196, allocations: 7.138 MB / 0.5785 GB, free: 2.926 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.936e-05/0.4196, allocations: 72.94 kB / 0.5786 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/0.4198, allocations: 160 kB / 0.5787 GB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.4217, allocations: 0.8957 MB / 0.5796 GB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002934/0.4247, allocations: 1.766 MB / 0.5813 GB, free: 28 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004549/0.4292, allocations: 5.096 MB / 0.5863 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/0.4323, allocations: 0.5225 MB / 0.5868 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003876/0.4327, allocations: 452 kB / 0.5872 GB, free: 9.723 MB / 458.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.001448/0.4342, allocations: 0.7829 MB / 0.588 GB, free: 8.926 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004838/0.4347, allocations: 0.4893 MB / 0.5885 GB, free: 8.434 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.4378, allocations: 2.139 MB / 0.5906 GB, free: 6.277 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.4378, allocations: 24 kB / 0.5906 GB, free: 6.254 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.4378, allocations: 4 kB / 0.5906 GB, free: 6.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.4379, allocations: 11.95 kB / 0.5906 GB, free: 6.238 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.4484, allocations: 7.918 MB / 0.5983 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.4484, allocations: 12.03 kB / 0.5983 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/0.4492, allocations: 351.4 kB / 0.5987 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/0.4508, allocations: 0.6233 MB / 0.5993 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.4509, allocations: 51.94 kB / 0.5993 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003665/0.4545, allocations: 4.701 MB / 0.6039 GB, free: 8.164 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.4546, allocations: 15.94 kB / 0.6039 GB, free: 8.148 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004172/0.4587, allocations: 3.596 MB / 0.6075 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/0.4592, allocations: 468.8 kB / 0.6079 GB, free: 3.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.4595, allocations: 51.81 kB / 0.608 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.4605, allocations: 187.7 kB / 0.6081 GB, free: 3.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.4608, allocations: 156.8 kB / 0.6083 GB, free: 3.527 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.372e-05/0.4608, allocations: 64 kB / 0.6083 GB, free: 3.465 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002139/0.463, allocations: 2.029 MB / 0.6103 GB, free: 1.441 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.463, allocations: 0 / 0.6103 GB, free: 1.441 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.1667/0.6297, allocations: 1.454 MB / 0.6117 GB, free: 132.6 MB / 474.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.0007414/0.6305, allocations: 208.4 kB / 0.6119 GB, free: 132.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005625/0.6361, allocations: 4.077 MB / 0.6159 GB, free: 132.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.6361, allocations: 0 / 0.6159 GB, free: 132.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.6373, allocations: 1.253 MB / 0.6171 GB, free: 131.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/0.6397, allocations: 0.5896 MB / 0.6177 GB, free: 131.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.6521, allocations: 10.68 MB / 0.6281 GB, free: 127.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.6534, allocations: 1.66 MB / 0.6298 GB, free: 126.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002776/0.6562, allocations: 1.916 MB / 0.6316 GB, free: 126.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006345/0.6568, allocations: 294.4 kB / 0.6319 GB, free: 126.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6568, allocations: 0 / 0.6319 GB, free: 126.7 MB / 474.7 MB Notification: Performance of Templates: time 0.05694/0.7137, allocations: 45.79 MB / 0.6766 GB, free: 105.3 MB / 474.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 -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.717030032072216]