Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001465/0.001465, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009965/0.0009965, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9598/0.9598, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2572/0.2572, allocations: 34.26 MB / 295.7 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 378 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.499e-05, allocations: 5.547 kB / 378 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01145/0.01148, allocations: 14.21 MB / 392.3 MB, free: 4.336 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007209/0.01869, allocations: 4.929 MB / 397.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.0197, allocations: 123.3 kB / 397.3 MB, free: 15.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004167/0.02386, allocations: 4.462 MB / 401.8 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.02701, allocations: 2.468 MB / 404.2 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.02858, allocations: 1.189 MB / 405.4 MB, free: 7.121 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005865/0.03444, allocations: 8.233 MB / 413.7 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003393/0.03784, allocations: 4.951 MB / 418.6 MB, free: 9.855 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.04085, allocations: 3.539 MB / 422.1 MB, free: 6.309 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003126/0.04397, allocations: 3.523 MB / 425.7 MB, free: 2.777 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006339/0.04461, allocations: 0.5039 MB / 426.2 MB, free: 2.273 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.04645, allocations: 1.33 MB / 427.5 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001828/0.04827, allocations: 2.961 MB / 430.5 MB, free: 13.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001687/0.04996, allocations: 1.877 MB / 432.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006444/0.05641, allocations: 6.314 MB / 438.7 MB, free: 5.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.05641, allocations: 0 / 438.7 MB, free: 5.754 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.05642, allocations: 0 / 438.7 MB, free: 5.754 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001526/0.05657, allocations: 0 / 438.7 MB, free: 5.754 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.1663/0.2229, allocations: 7.505 MB / 446.2 MB, free: 93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.2229, allocations: 8.25 kB / 446.2 MB, free: 93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/0.2398, allocations: 3.962 MB / 450.1 MB, free: 92.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005129/0.2449, allocations: 3.965 MB / 454.1 MB, free: 92.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.245, allocations: 323.2 kB / 454.4 MB, free: 92.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004832/0.2455, allocations: 449.7 kB / 454.9 MB, free: 92.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008339/0.2538, allocations: 8.008 MB / 462.9 MB, free: 87.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001332/0.254, allocations: 61.16 kB / 462.9 MB, free: 87.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003433/0.2543, allocations: 206.4 kB / 463.1 MB, free: 87.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002253/0.2566, allocations: 2.521 MB / 465.6 MB, free: 87.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007472/0.264, allocations: 4.423 MB / 470.1 MB, free: 86.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03521/0.2993, allocations: 55.09 MB / 0.5128 GB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005921/0.3052, allocations: 2.758 MB / 0.5155 GB, free: 40.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.3063, allocations: 1.009 MB / 0.5165 GB, free: 39.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/0.3066, allocations: 231 kB / 0.5167 GB, free: 39.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3067, allocations: 67.33 kB / 0.5168 GB, free: 39.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=245): time 4.899e-06/0.3067, allocations: 0 / 0.5168 GB, free: 39.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=315): time 0.05626/0.3629, allocations: 24.49 MB / 0.5407 GB, free: 15.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.363, allocations: 261.3 kB / 0.541 GB, free: 15.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004438/0.3675, allocations: 4.351 MB / 0.5452 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002083/0.3677, allocations: 76.55 kB / 0.5453 GB, free: 10.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001755/0.3694, allocations: 4.219 MB / 0.5494 GB, free: 6.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008182/0.3702, allocations: 1.265 MB / 0.5507 GB, free: 5.395 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001793/0.372, allocations: 1.695 MB / 0.5523 GB, free: 3.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.726e-05/0.3721, allocations: 484.7 kB / 0.5528 GB, free: 3.211 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002058/0.3741, allocations: 1.108 MB / 0.5539 GB, free: 2.098 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005711/0.3798, allocations: 7.381 MB / 0.5611 GB, free: 7.902 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007842/0.3877, allocations: 9.245 MB / 0.5701 GB, free: 11.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.188e-05/0.3877, allocations: 44 kB / 0.5701 GB, free: 11.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.01243/0.4002, allocations: 8.234 MB / 0.5782 GB, free: 3.574 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.858e-05/0.4002, allocations: 64 kB / 0.5782 GB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/0.4004, allocations: 144 kB / 0.5784 GB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003857/0.4042, allocations: 1.759 MB / 0.5801 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00332/0.4076, allocations: 1.782 MB / 0.5818 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009135/0.4167, allocations: 8.304 MB / 0.5899 GB, free: 7.293 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/0.4201, allocations: 0.5578 MB / 0.5905 GB, free: 6.734 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004439/0.4206, allocations: 451.9 kB / 0.5909 GB, free: 6.293 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * 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 (948): * Single equations (assignments): 943 * 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,24,100.0%), (3,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00157/0.4221, allocations: 0.7749 MB / 0.5917 GB, free: 5.504 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008357/0.423, allocations: 0.5322 MB / 0.5922 GB, free: 4.969 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006016/0.429, allocations: 3.929 MB / 0.596 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.429, allocations: 32 kB / 0.5961 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/0.429, allocations: 12 kB / 0.5961 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.4291, allocations: 15.89 kB / 0.5961 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.4441, allocations: 10.28 MB / 0.6061 GB, free: 6.535 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.4441, allocations: 4 kB / 0.6061 GB, free: 6.531 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.4454, allocations: 0.4953 MB / 0.6066 GB, free: 6.035 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003419/0.4488, allocations: 1.535 MB / 0.6081 GB, free: 4.492 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001985/0.449, allocations: 65.48 kB / 0.6082 GB, free: 4.434 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1677/0.6167, allocations: 7.021 MB / 0.615 GB, free: 130.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.6167, allocations: 9.531 kB / 0.615 GB, free: 130.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008336/0.6251, allocations: 5.465 MB / 0.6204 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009472/0.626, allocations: 478.3 kB / 0.6208 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004576/0.6265, allocations: 61.33 kB / 0.6209 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.6279, allocations: 291.9 kB / 0.6212 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004051/0.6283, allocations: 218.6 kB / 0.6214 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.6285, allocations: 93.67 kB / 0.6215 GB, free: 129.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002537/0.631, allocations: 1.937 MB / 0.6234 GB, free: 128.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.631, allocations: 0 / 0.6234 GB, free: 128.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004888/0.6359, allocations: 1.708 MB / 0.625 GB, free: 128.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (253): * Single equations (assignments): 248 * 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,21,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005235/0.6364, allocations: 225.8 kB / 0.6252 GB, free: 128.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006661/0.6431, allocations: 4.893 MB / 0.63 GB, free: 128.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.6431, allocations: 3.281 kB / 0.63 GB, free: 128.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.6453, allocations: 1.905 MB / 0.6319 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.6475, allocations: 0.6073 MB / 0.6325 GB, free: 127.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.6624, allocations: 11.57 MB / 0.6438 GB, free: 123.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/0.6641, allocations: 1.743 MB / 0.6455 GB, free: 123.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003504/0.6676, allocations: 2.004 MB / 0.6474 GB, free: 122.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009013/0.6685, allocations: 331.7 kB / 0.6478 GB, free: 122.9 MB / 474.7 MB Notification: Performance of SimCode: time 2.014e-06/0.6685, allocations: 0 / 0.6478 GB, free: 122.9 MB / 474.7 MB Notification: Performance of Templates: time 0.07297/0.7415, allocations: 64.03 MB / 0.7103 GB, free: 74.68 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 5.210669255815446]