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.001054/0.001054, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001078/0.001078, allocations: 171.5 kB / 24.91 MB, free: 9.227 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.9748/0.9748, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2468/0.2468, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.803e-06/1.803e-06, allocations: 0 / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.801e-05, allocations: 2.312 kB / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.009981/0.009999, allocations: 13.86 MB / 339.1 MB, free: 9.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.02018, allocations: 5.099 MB / 344.2 MB, free: 4.652 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.0229, allocations: 123.4 kB / 344.3 MB, free: 4.531 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005992/0.02889, allocations: 4.45 MB / 348.8 MB, free: 68 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006047/0.03494, allocations: 2.511 MB / 351.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.03743, allocations: 1.193 MB / 352.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009061/0.04649, allocations: 8.21 MB / 360.7 MB, free: 4.125 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006041/0.05254, allocations: 5.069 MB / 365.8 MB, free: 14.97 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006463/0.059, allocations: 4.581 MB / 370.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003814/0.06281, allocations: 3.227 MB / 373.6 MB, free: 7.145 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006959/0.06351, allocations: 496 kB / 374.1 MB, free: 6.66 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.06537, allocations: 1.299 MB / 375.4 MB, free: 5.359 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00233/0.0677, allocations: 2.938 MB / 378.3 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001899/0.06959, allocations: 1.866 MB / 380.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006174/0.07577, allocations: 6.251 MB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.07577, allocations: 0 / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.07577, allocations: 0 / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.312e-05/0.07584, allocations: 0 / 386.4 MB, free: 10.27 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.009488/0.08533, allocations: 6.408 MB / 392.8 MB, free: 3.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.08536, allocations: 12.03 kB / 392.8 MB, free: 3.785 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003652/0.08901, allocations: 1.48 MB / 394.3 MB, free: 2.305 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.09212, allocations: 2.984 MB / 397.3 MB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.09226, allocations: 328.8 kB / 397.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/0.09272, allocations: 444.1 kB / 398 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006034/0.09875, allocations: 6.543 MB / 404.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.09886, allocations: 71.39 kB / 404.7 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/0.09917, allocations: 207.8 kB / 404.9 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001636/0.1008, allocations: 2.141 MB / 407 MB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004914/0.1057, allocations: 3.223 MB / 410.2 MB, free: 1.371 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1802/0.2859, allocations: 39.79 MB / 450 MB, free: 65.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004339/0.2903, allocations: 2.048 MB / 452.1 MB, free: 64.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.2908, allocations: 450 kB / 452.5 MB, free: 64.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004997/0.2957, allocations: 4.067 MB / 456.6 MB, free: 64.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.2958, allocations: 54.78 kB / 456.6 MB, free: 64.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 4.689e-06/0.2958, allocations: 0 / 456.6 MB, free: 64.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=212): time 0.02653/0.3223, allocations: 11.45 MB / 468.1 MB, free: 63.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.3224, allocations: 258.4 kB / 468.3 MB, free: 63.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/0.3256, allocations: 4.134 MB / 472.5 MB, free: 62.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.3258, allocations: 60.62 kB / 472.5 MB, free: 62.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.3269, allocations: 3.908 MB / 476.4 MB, free: 59.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/0.3273, allocations: 0.8831 MB / 477.3 MB, free: 59.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.3284, allocations: 1.44 MB / 478.8 MB, free: 58.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.819e-05/0.3284, allocations: 305.1 kB / 479.1 MB, free: 57.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.3298, allocations: 0.9916 MB / 480 MB, free: 57.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002711/0.3325, allocations: 5.475 MB / 485.5 MB, free: 49.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004299/0.3368, allocations: 6.975 MB / 492.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.782e-05/0.3369, allocations: 47.31 kB / 492.5 MB, free: 41.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=992) (initialization): time 0.006196/0.3431, allocations: 5.435 MB / 498 MB, free: 37.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/0.3431, allocations: 72 kB / 498 MB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.903e-05/0.3432, allocations: 160 kB / 498.2 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.3447, allocations: 0.6733 MB / 498.9 MB, free: 36.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/0.3471, allocations: 1.688 MB / 0.4888 GB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.35, allocations: 3.689 MB / 0.4924 GB, free: 31.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00303/0.353, allocations: 341.1 kB / 0.4928 GB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/0.3533, allocations: 388.9 kB / 0.4931 GB, free: 31.05 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.001385/0.3547, allocations: 0.7291 MB / 0.4938 GB, free: 30.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004592/0.3552, allocations: 298.9 kB / 0.4941 GB, free: 30.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.3572, allocations: 1.527 MB / 0.4956 GB, free: 28.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.3572, allocations: 24 kB / 0.4956 GB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.3572, allocations: 9.438 kB / 0.4957 GB, free: 28.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3572, allocations: 7.969 kB / 0.4957 GB, free: 28.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007475/0.3647, allocations: 6.226 MB / 0.5017 GB, free: 23.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.3647, allocations: 8 kB / 0.5017 GB, free: 23.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006703/0.3653, allocations: 310 kB / 0.502 GB, free: 22.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.3667, allocations: 0.6705 MB / 0.5027 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.715e-05/0.3668, allocations: 43.98 kB / 0.5027 GB, free: 22.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/0.3692, allocations: 3.34 MB / 0.506 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.3692, allocations: 11.94 kB / 0.506 GB, free: 18.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.3719, allocations: 2.621 MB / 0.5086 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000552/0.3725, allocations: 427.3 kB / 0.509 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/0.3728, allocations: 55.05 kB / 0.509 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008287/0.3736, allocations: 55.98 kB / 0.5091 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.3738, allocations: 152.8 kB / 0.5092 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.702e-05/0.3739, allocations: 59.98 kB / 0.5093 GB, free: 15.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001133/0.375, allocations: 1.565 MB / 0.5108 GB, free: 13.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.375, allocations: 2.516 kB / 0.5108 GB, free: 13.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004003/0.379, allocations: 1.453 MB / 0.5122 GB, free: 12.45 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.0003668/0.3794, allocations: 182.9 kB / 0.5124 GB, free: 12.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003335/0.3827, allocations: 3.366 MB / 0.5157 GB, free: 8.988 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001543/0.3829, allocations: 112.2 kB / 0.5158 GB, free: 8.871 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008677/0.3837, allocations: 0.9251 MB / 0.5167 GB, free: 7.945 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.386, allocations: 0.854 MB / 0.5175 GB, free: 7.121 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.3967, allocations: 10.16 MB / 0.5275 GB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/0.3982, allocations: 1.659 MB / 0.5291 GB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001527/0.3997, allocations: 0.6269 MB / 0.5297 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.4008, allocations: 0.7228 MB / 0.5304 GB, free: 9.789 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/0.4008, allocations: 0 / 0.5304 GB, free: 9.789 MB / 426.7 MB Notification: Performance of Templates: time 0.06546/0.4663, allocations: 48.06 MB / 0.5773 GB, free: 10.27 MB / 474.7 MB " [Timeout remaining time 660] 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: 4.334634888917208]