Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.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.001262/0.001262, allocations: 76.41 kB / 22.21 MB, free: 2.281 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.001265/0.001265, allocations: 172.6 kB / 25.61 MB, free: 8.895 MB / 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.9518/0.9518, allocations: 177.1 MB / 206 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1381/0.1381, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.21e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.009132/0.009154, allocations: 13.83 MB / 391.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008281/0.01744, allocations: 4.9 MB / 396 MB, free: 6.773 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.01926, allocations: 123.3 kB / 396.1 MB, free: 6.652 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003429/0.02269, allocations: 4.388 MB / 400.5 MB, free: 2.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003492/0.02619, allocations: 2.476 MB / 403 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.02783, allocations: 1.189 MB / 404.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007144/0.03497, allocations: 8.238 MB / 412.4 MB, free: 6.316 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004271/0.03924, allocations: 4.958 MB / 417.4 MB, free: 1.293 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004857/0.0441, allocations: 4.636 MB / 422 MB, free: 12.65 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003215/0.04731, allocations: 3.351 MB / 425.4 MB, free: 9.289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006631/0.04798, allocations: 0.4922 MB / 425.9 MB, free: 8.797 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.0496, allocations: 1.326 MB / 427.2 MB, free: 7.469 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001819/0.05142, allocations: 2.926 MB / 430.1 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.05316, allocations: 1.862 MB / 432 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005138/0.05829, allocations: 6.236 MB / 438.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.0583, allocations: 0 / 438.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.0583, allocations: 0 / 438.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.866e-05/0.05839, allocations: 0 / 438.2 MB, free: 12.41 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.007924/0.06631, allocations: 7.147 MB / 445.4 MB, free: 5.184 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.06635, allocations: 11.98 kB / 445.4 MB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.07781, allocations: 2.97 MB / 448.3 MB, free: 2.195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003659/0.08147, allocations: 3.227 MB / 451.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.08163, allocations: 328.7 kB / 451.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004958/0.08212, allocations: 452 kB / 452.3 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00779/0.08991, allocations: 7.225 MB / 459.6 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/0.09003, allocations: 67.5 kB / 459.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003394/0.09037, allocations: 207.8 kB / 459.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001787/0.09216, allocations: 2.157 MB / 462 MB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00529/0.09745, allocations: 3.138 MB / 465.1 MB, free: 116 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2304/0.3279, allocations: 54.74 MB / 0.5077 GB, free: 52.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005477/0.3333, allocations: 2.016 MB / 0.5096 GB, free: 52.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/0.3341, allocations: 0.5518 MB / 0.5102 GB, free: 52.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005746/0.3398, allocations: 4.345 MB / 0.5144 GB, free: 51.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.888e-05/0.3399, allocations: 58.61 kB / 0.5145 GB, free: 51.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 4.478e-06/0.3399, allocations: 2.109 kB / 0.5145 GB, free: 51.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=212): time 0.0329/0.3728, allocations: 13.1 MB / 0.5273 GB, free: 49.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.3729, allocations: 252.6 kB / 0.5275 GB, free: 49.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003599/0.3765, allocations: 4.597 MB / 0.532 GB, free: 46.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.3766, allocations: 62.06 kB / 0.5321 GB, free: 46.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.3781, allocations: 4.484 MB / 0.5364 GB, free: 43.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005703/0.3787, allocations: 0.91 MB / 0.5373 GB, free: 42.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/0.3799, allocations: 1.667 MB / 0.539 GB, free: 41.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.266e-05/0.38, allocations: 476.8 kB / 0.5394 GB, free: 41.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.3811, allocations: 0.7819 MB / 0.5402 GB, free: 40.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/0.3839, allocations: 7.658 MB / 0.5477 GB, free: 30.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004968/0.3889, allocations: 9.077 MB / 0.5565 GB, free: 18.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.904e-05/0.389, allocations: 48 kB / 0.5566 GB, free: 18.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=992) (initialization): time 0.008153/0.3972, allocations: 6.399 MB / 0.5628 GB, free: 13.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.177e-05/0.3972, allocations: 76.17 kB / 0.5629 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000146/0.3974, allocations: 164 kB / 0.563 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/0.3991, allocations: 0.6746 MB / 0.5637 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/0.4017, allocations: 1.688 MB / 0.5653 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.4054, allocations: 4.83 MB / 0.5701 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004422/0.4098, allocations: 333.4 kB / 0.5704 GB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000471/0.4103, allocations: 392 kB / 0.5708 GB, free: 5.074 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.001845/0.4121, allocations: 0.7804 MB / 0.5715 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/0.4132, allocations: 0.491 MB / 0.572 GB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.4157, allocations: 1.737 MB / 0.5737 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.483e-05/0.4157, allocations: 24 kB / 0.5737 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/0.4157, allocations: 4 kB / 0.5737 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.4157, allocations: 7.969 kB / 0.5737 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.4264, allocations: 7.273 MB / 0.5808 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.4265, allocations: 11.94 kB / 0.5808 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000834/0.4273, allocations: 310.5 kB / 0.5811 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.4287, allocations: 456.6 kB / 0.5816 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/0.4288, allocations: 58.22 kB / 0.5816 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00364/0.4325, allocations: 4.477 MB / 0.586 GB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.4325, allocations: 15.94 kB / 0.586 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004439/0.4369, allocations: 3.146 MB / 0.5891 GB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.438, allocations: 447 kB / 0.5895 GB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003476/0.4383, allocations: 47.98 kB / 0.5896 GB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009398/0.4393, allocations: 59.48 kB / 0.5896 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/0.4395, allocations: 152.8 kB / 0.5898 GB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.551e-05/0.4396, allocations: 52 kB / 0.5898 GB, free: 1.812 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002121/0.4417, allocations: 1.884 MB / 0.5917 GB, free: 128 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4417, allocations: 4 kB / 0.5917 GB, free: 124 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.004817/0.4465, allocations: 1.45 MB / 0.5931 GB, free: 14.67 MB / 442.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.0004782/0.447, allocations: 206.7 kB / 0.5933 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005867/0.4529, allocations: 3.746 MB / 0.5969 GB, free: 10.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.4529, allocations: 4 kB / 0.5969 GB, free: 10.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.4544, allocations: 1.108 MB / 0.598 GB, free: 9.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/0.4574, allocations: 0.6055 MB / 0.5986 GB, free: 9.105 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/0.4749, allocations: 10.49 MB / 0.6088 GB, free: 14.42 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/0.4772, allocations: 1.667 MB / 0.6105 GB, free: 12.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00211/0.4793, allocations: 0.6376 MB / 0.6111 GB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001354/0.4807, allocations: 0.7753 MB / 0.6119 GB, free: 11.32 MB / 458.7 MB Notification: Performance of SimCode: time 1.803e-06/0.4807, allocations: 0 / 0.6119 GB, free: 11.32 MB / 458.7 MB Notification: Performance of Templates: time 0.07418/0.5549, allocations: 49.22 MB / 0.6599 GB, free: 10.69 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 5.073107725009322]