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.001098/0.001098, allocations: 80.92 kB / 21.49 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.0009788/0.0009788, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2833/0.2833, allocations: 34.26 MB / 296.1 MB, free: 0.6836 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.233e-06/1.233e-06, allocations: 0 / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.622e-05, allocations: 7.812 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01005/0.01006, allocations: 13.91 MB / 339.2 MB, free: 9.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008693/0.01876, allocations: 5.091 MB / 344.3 MB, free: 4.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.02005, allocations: 123.3 kB / 344.4 MB, free: 4.449 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003818/0.02387, allocations: 4.376 MB / 348.8 MB, free: 60 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003362/0.02723, allocations: 2.484 MB / 351.3 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.02874, allocations: 1.189 MB / 352.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005676/0.03441, allocations: 8.209 MB / 360.7 MB, free: 4.148 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003708/0.03812, allocations: 4.726 MB / 365.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004003/0.04212, allocations: 4.503 MB / 369.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002966/0.04509, allocations: 3.215 MB / 373.1 MB, free: 7.598 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005042/0.04559, allocations: 500 kB / 373.6 MB, free: 7.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.04741, allocations: 1.342 MB / 375 MB, free: 5.766 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001789/0.0492, allocations: 2.938 MB / 377.9 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.05065, allocations: 1.862 MB / 379.8 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.06241, allocations: 6.244 MB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.06242, allocations: 4 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.06242, allocations: 0 / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001498/0.06257, allocations: 0 / 386 MB, free: 10.68 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.01837/0.08094, allocations: 6.412 MB / 392.4 MB, free: 4.207 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.08098, allocations: 12.03 kB / 392.4 MB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/0.09236, allocations: 1.48 MB / 393.9 MB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007676/0.1, allocations: 2.98 MB / 396.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.1002, allocations: 328.8 kB / 397.2 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003597/0.1038, allocations: 452 kB / 397.7 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01801/0.1218, allocations: 6.551 MB / 404.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/0.122, allocations: 67.45 kB / 404.3 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004055/0.1224, allocations: 207.8 kB / 404.5 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005271/0.1277, allocations: 2.145 MB / 406.6 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01286/0.1405, allocations: 3.218 MB / 409.8 MB, free: 1.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2261/0.3667, allocations: 39.79 MB / 449.6 MB, free: 83.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005504/0.3722, allocations: 2.045 MB / 451.7 MB, free: 82.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009033/0.3731, allocations: 457.4 kB / 452.1 MB, free: 82.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008896/0.382, allocations: 4.072 MB / 456.2 MB, free: 82.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.144e-05/0.382, allocations: 50.25 kB / 456.2 MB, free: 82.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 8.296e-06/0.382, allocations: 0 / 456.2 MB, free: 82.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=212): time 0.02874/0.4108, allocations: 11.6 MB / 467.8 MB, free: 79.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.4108, allocations: 252.6 kB / 468.1 MB, free: 79.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003969/0.4148, allocations: 4.141 MB / 472.2 MB, free: 76.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002563/0.415, allocations: 56.2 kB / 472.3 MB, free: 76.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.4163, allocations: 3.91 MB / 476.2 MB, free: 72.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007226/0.417, allocations: 0.8729 MB / 477.1 MB, free: 71.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/0.4183, allocations: 1.447 MB / 478.5 MB, free: 70.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.897e-05/0.4184, allocations: 304.5 kB / 478.8 MB, free: 70.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.4199, allocations: 0.982 MB / 479.8 MB, free: 69.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/0.4226, allocations: 5.475 MB / 485.3 MB, free: 62.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005604/0.4282, allocations: 6.975 MB / 492.2 MB, free: 53.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001535/0.4283, allocations: 48 kB / 492.3 MB, free: 53.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=992) (initialization): time 0.008615/0.4369, allocations: 5.432 MB / 497.7 MB, free: 48.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.292e-05/0.437, allocations: 83.48 kB / 497.8 MB, free: 48.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001419/0.4372, allocations: 164 kB / 498 MB, free: 48.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001777/0.4389, allocations: 0.6679 MB / 498.6 MB, free: 47.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/0.442, allocations: 1.751 MB / 0.4886 GB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003249/0.4452, allocations: 3.717 MB / 0.4923 GB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004184/0.4494, allocations: 331.6 kB / 0.4926 GB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000728/0.4501, allocations: 392 kB / 0.493 GB, free: 41.09 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.002141/0.4523, allocations: 0.7401 MB / 0.4937 GB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007646/0.4531, allocations: 283.7 kB / 0.494 GB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.4554, allocations: 1.53 MB / 0.4955 GB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/0.4554, allocations: 24 kB / 0.4955 GB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.4554, allocations: 8 kB / 0.4955 GB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.4554, allocations: 15.95 kB / 0.4955 GB, free: 38.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/0.4666, allocations: 6.215 MB / 0.5016 GB, free: 32.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/0.4666, allocations: 12 kB / 0.5016 GB, free: 32.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009371/0.4675, allocations: 331.5 kB / 0.5019 GB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/0.4692, allocations: 0.6607 MB / 0.5025 GB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.4694, allocations: 51.92 kB / 0.5026 GB, free: 31.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002788/0.4721, allocations: 3.355 MB / 0.5059 GB, free: 27.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.4721, allocations: 11.94 kB / 0.5059 GB, free: 27.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003629/0.4758, allocations: 2.623 MB / 0.5084 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009836/0.4768, allocations: 439.9 kB / 0.5089 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004398/0.4772, allocations: 48 kB / 0.5089 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009459/0.4781, allocations: 55.92 kB / 0.509 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/0.4784, allocations: 152.8 kB / 0.5091 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.835e-05/0.4785, allocations: 59.97 kB / 0.5092 GB, free: 23.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001789/0.4803, allocations: 1.568 MB / 0.5107 GB, free: 22.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4803, allocations: 0 / 0.5107 GB, free: 22.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004417/0.4847, allocations: 1.457 MB / 0.5121 GB, free: 20.94 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.00043/0.4851, allocations: 184.5 kB / 0.5123 GB, free: 20.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004268/0.4894, allocations: 3.368 MB / 0.5156 GB, free: 17.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000198/0.4896, allocations: 112.2 kB / 0.5157 GB, free: 17.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.4906, allocations: 0.9093 MB / 0.5166 GB, free: 16.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/0.4938, allocations: 0.8624 MB / 0.5174 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.5074, allocations: 10.16 MB / 0.5273 GB, free: 5.145 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/0.5092, allocations: 1.655 MB / 0.529 GB, free: 3.469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001889/0.511, allocations: 0.6246 MB / 0.5296 GB, free: 2.848 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/0.5123, allocations: 0.7198 MB / 0.5303 GB, free: 2.129 MB / 410.7 MB Notification: Performance of SimCode: time 2.505e-06/0.5123, allocations: 0 / 0.5303 GB, free: 2.129 MB / 410.7 MB Notification: Performance of Templates: time 0.07406/0.5863, allocations: 48.07 MB / 0.5772 GB, free: 2.484 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 -s gbode -gbm=radauIIA3 -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.538950800895691]