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.00102/0.00102, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001033/0.001033, allocations: 161.2 kB / 24.99 MB, free: 8.805 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 1.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2585/0.2585, allocations: 34.26 MB / 296 MB, free: 0.7773 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.182e-06/1.182e-06, allocations: 3.938 kB / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.574e-05, allocations: 2.312 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01147/0.01148, allocations: 14.16 MB / 392.2 MB, free: 4.73 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008373/0.01986, allocations: 4.918 MB / 397.1 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.0213, allocations: 123.4 kB / 397.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00479/0.02609, allocations: 4.45 MB / 401.7 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003874/0.02997, allocations: 2.461 MB / 404.1 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.03162, allocations: 1.189 MB / 405.3 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006053/0.03767, allocations: 8.231 MB / 413.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003446/0.04111, allocations: 4.962 MB / 418.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003299/0.04441, allocations: 3.528 MB / 422.1 MB, free: 6.738 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.04729, allocations: 3.535 MB / 425.6 MB, free: 3.195 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004644/0.04776, allocations: 0.5 MB / 426.1 MB, free: 2.695 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.04926, allocations: 1.334 MB / 427.4 MB, free: 1.359 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001834/0.05109, allocations: 2.957 MB / 430.4 MB, free: 14.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.05247, allocations: 1.877 MB / 432.3 MB, free: 12.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005051/0.05752, allocations: 6.318 MB / 438.6 MB, free: 6.172 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.05752, allocations: 0 / 438.6 MB, free: 6.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.05752, allocations: 4 kB / 438.6 MB, free: 6.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.673e-05/0.05757, allocations: 0 / 438.6 MB, free: 6.168 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.1723/0.2299, allocations: 7.5 MB / 446.1 MB, free: 101.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.23, allocations: 9.344 kB / 446.1 MB, free: 101.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01284/0.2428, allocations: 3.958 MB / 450 MB, free: 100.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005451/0.2482, allocations: 3.971 MB / 454 MB, free: 98.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.2484, allocations: 327.5 kB / 454.3 MB, free: 98.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004724/0.2489, allocations: 442.3 kB / 454.8 MB, free: 98.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.2596, allocations: 7.985 MB / 462.8 MB, free: 93.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001922/0.2598, allocations: 72.72 kB / 462.8 MB, free: 93.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004108/0.2602, allocations: 211.2 kB / 463 MB, free: 93.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002922/0.2631, allocations: 2.526 MB / 465.6 MB, free: 93.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009505/0.2726, allocations: 4.428 MB / 470 MB, free: 92.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03672/0.3094, allocations: 55.08 MB / 0.5128 GB, free: 47.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006501/0.3159, allocations: 2.742 MB / 0.5154 GB, free: 44.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.3171, allocations: 1.022 MB / 0.5164 GB, free: 44.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003372/0.3175, allocations: 233.7 kB / 0.5167 GB, free: 43.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.3175, allocations: 63.33 kB / 0.5167 GB, free: 43.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=245): time 5.26e-06/0.3175, allocations: 0 / 0.5167 GB, free: 43.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=315): time 0.07864/0.3962, allocations: 24.48 MB / 0.5406 GB, free: 19.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.3963, allocations: 269.3 kB / 0.5409 GB, free: 18.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005375/0.4017, allocations: 4.355 MB / 0.5451 GB, free: 14.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006483/0.4023, allocations: 73.7 kB / 0.5452 GB, free: 14.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001548/0.4038, allocations: 4.212 MB / 0.5493 GB, free: 10.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001071/0.4049, allocations: 1.275 MB / 0.5506 GB, free: 8.887 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/0.4063, allocations: 1.691 MB / 0.5522 GB, free: 7.184 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.285e-05/0.4064, allocations: 480.8 kB / 0.5527 GB, free: 6.711 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.4082, allocations: 1.112 MB / 0.5538 GB, free: 5.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00397/0.4121, allocations: 7.38 MB / 0.561 GB, free: 11.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008907/0.4211, allocations: 9.241 MB / 0.57 GB, free: 15.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001473/0.4212, allocations: 47.94 kB / 0.57 GB, free: 15.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.01616/0.4374, allocations: 8.235 MB / 0.5781 GB, free: 7.023 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.503e-05/0.4374, allocations: 64 kB / 0.5781 GB, free: 6.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/0.4375, allocations: 144 kB / 0.5783 GB, free: 6.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003974/0.4415, allocations: 1.762 MB / 0.58 GB, free: 5.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004136/0.4456, allocations: 1.786 MB / 0.5817 GB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009557/0.4552, allocations: 8.3 MB / 0.5898 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005041/0.4602, allocations: 0.5461 MB / 0.5904 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/0.4615, allocations: 463.9 kB / 0.5908 GB, free: 9.719 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.002546/0.4641, allocations: 0.7675 MB / 0.5916 GB, free: 8.934 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/0.4655, allocations: 0.5322 MB / 0.5921 GB, free: 8.398 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006621/0.4721, allocations: 3.925 MB / 0.5959 GB, free: 4.402 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.863e-05/0.4722, allocations: 39.98 kB / 0.596 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/0.4722, allocations: 8 kB / 0.596 GB, free: 4.355 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/0.4722, allocations: 19.88 kB / 0.596 GB, free: 4.336 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2059/0.6781, allocations: 10.28 MB / 0.606 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/0.6781, allocations: 6.5 kB / 0.606 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.6795, allocations: 0.4957 MB / 0.6065 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003608/0.6831, allocations: 1.539 MB / 0.608 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003121/0.6834, allocations: 57.44 kB / 0.6081 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007745/0.6912, allocations: 7.026 MB / 0.6149 GB, free: 120.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.6912, allocations: 10.28 kB / 0.6149 GB, free: 120.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009452/0.7006, allocations: 5.474 MB / 0.6203 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/0.7021, allocations: 475.1 kB / 0.6207 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000643/0.7027, allocations: 57.09 kB / 0.6208 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.7044, allocations: 297.4 kB / 0.6211 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000576/0.7049, allocations: 225.2 kB / 0.6213 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/0.7051, allocations: 85.03 kB / 0.6214 GB, free: 119.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002797/0.7079, allocations: 1.933 MB / 0.6233 GB, free: 119.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7079, allocations: 0 / 0.6233 GB, free: 119.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006164/0.7141, allocations: 1.72 MB / 0.6249 GB, free: 119 MB / 458.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.000705/0.7148, allocations: 218.6 kB / 0.6252 GB, free: 118.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008299/0.7231, allocations: 4.89 MB / 0.6299 GB, free: 117.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.7231, allocations: 1.188 kB / 0.6299 GB, free: 117.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002859/0.7259, allocations: 1.905 MB / 0.6318 GB, free: 116.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/0.7289, allocations: 0.6146 MB / 0.6324 GB, free: 116.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/0.7506, allocations: 11.57 MB / 0.6437 GB, free: 110.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0027/0.7533, allocations: 1.739 MB / 0.6454 GB, free: 110.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00517/0.7585, allocations: 2.006 MB / 0.6473 GB, free: 109.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/0.7597, allocations: 335.3 kB / 0.6477 GB, free: 109.9 MB / 458.7 MB Notification: Performance of SimCode: time 2.425e-06/0.7597, allocations: 0 / 0.6477 GB, free: 109.9 MB / 458.7 MB Notification: Performance of Templates: time 0.08094/0.8406, allocations: 64.02 MB / 0.7102 GB, free: 51.94 MB / 458.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.26014557108283]