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.001014/0.001014, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001176/0.001176, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.9724/0.9724, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2429/0.2429, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.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.954e-06/1.954e-06, allocations: 0 / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.509e-05, allocations: 5.578 kB / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01464/0.01466, allocations: 13.9 MB / 337.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009869/0.02453, allocations: 5.104 MB / 342.3 MB, free: 6.555 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002765/0.0273, allocations: 119.4 kB / 342.4 MB, free: 6.438 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004814/0.03211, allocations: 4.38 MB / 346.8 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004779/0.03689, allocations: 2.484 MB / 349.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.03871, allocations: 1.185 MB / 350.4 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006965/0.04567, allocations: 8.215 MB / 358.7 MB, free: 6.133 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004652/0.05033, allocations: 4.733 MB / 363.4 MB, free: 1.309 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006134/0.05646, allocations: 4.491 MB / 367.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003957/0.06042, allocations: 3.223 MB / 371.1 MB, free: 9.578 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.06154, allocations: 496 kB / 371.6 MB, free: 9.094 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.06331, allocations: 1.346 MB / 372.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001811/0.06512, allocations: 2.934 MB / 375.9 MB, free: 4.805 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.06704, allocations: 1.862 MB / 377.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005498/0.07254, allocations: 6.248 MB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.07255, allocations: 0 / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.07255, allocations: 4 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000159/0.07271, allocations: 0 / 384 MB, free: 12.66 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.007448/0.08016, allocations: 6.417 MB / 390.4 MB, free: 6.184 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.08019, allocations: 12.03 kB / 390.4 MB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003965/0.08416, allocations: 1.476 MB / 391.9 MB, free: 4.695 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003388/0.08755, allocations: 2.984 MB / 394.9 MB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.0877, allocations: 332.8 kB / 395.2 MB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004663/0.08817, allocations: 440.1 kB / 395.6 MB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007145/0.09531, allocations: 6.547 MB / 402.2 MB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001733/0.09549, allocations: 67.45 kB / 402.2 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004958/0.09598, allocations: 207.8 kB / 402.4 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002603/0.09859, allocations: 2.153 MB / 404.6 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007469/0.1061, allocations: 3.207 MB / 407.8 MB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02889/0.135, allocations: 39.8 MB / 447.6 MB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004687/0.1396, allocations: 2.049 MB / 449.7 MB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/0.1402, allocations: 455.2 kB / 450.1 MB, free: 7.992 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005174/0.1454, allocations: 4.061 MB / 454.2 MB, free: 3.902 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.1454, allocations: 63.48 kB / 454.2 MB, free: 3.828 MB / 426.7 MB Notification: Performance of pre-optimization done (n=179): time 3.647e-06/0.1454, allocations: 0 / 454.2 MB, free: 3.828 MB / 426.7 MB Notification: Performance of matching and sorting (n=212): time 0.1935/0.3389, allocations: 11.57 MB / 465.8 MB, free: 110.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.339, allocations: 259 kB / 466 MB, free: 109.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003005/0.342, allocations: 4.139 MB / 470.2 MB, free: 109.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.3421, allocations: 57.27 kB / 470.2 MB, free: 109.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.3432, allocations: 3.913 MB / 474.2 MB, free: 107.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/0.3436, allocations: 0.8694 MB / 475 MB, free: 106.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.3447, allocations: 1.444 MB / 476.5 MB, free: 106.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.929e-05/0.3447, allocations: 308.9 kB / 476.8 MB, free: 106.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.3459, allocations: 0.9833 MB / 477.8 MB, free: 106.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/0.3482, allocations: 5.472 MB / 483.2 MB, free: 100.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004119/0.3523, allocations: 6.985 MB / 490.2 MB, free: 94.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-05/0.3524, allocations: 49.62 kB / 490.3 MB, free: 94.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=992) (initialization): time 0.005821/0.3582, allocations: 5.428 MB / 495.7 MB, free: 91.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.3583, allocations: 72 kB / 495.8 MB, free: 91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.014e-05/0.3583, allocations: 160 kB / 495.9 MB, free: 90.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.3598, allocations: 0.664 MB / 496.6 MB, free: 90.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002509/0.3623, allocations: 1.76 MB / 498.3 MB, free: 88.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/0.3652, allocations: 3.719 MB / 0.4903 GB, free: 85.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.3677, allocations: 341 kB / 0.4906 GB, free: 85.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/0.368, allocations: 386.2 kB / 0.491 GB, free: 84.84 MB / 426.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.001271/0.3693, allocations: 0.7386 MB / 0.4917 GB, free: 84.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/0.3697, allocations: 294.8 kB / 0.492 GB, free: 84.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/0.3716, allocations: 1.524 MB / 0.4935 GB, free: 82.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.3716, allocations: 20 kB / 0.4935 GB, free: 82.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3716, allocations: 6.688 kB / 0.4935 GB, free: 82.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.3716, allocations: 11.97 kB / 0.4935 GB, free: 82.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006451/0.378, allocations: 6.239 MB / 0.4996 GB, free: 77.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.378, allocations: 13 kB / 0.4996 GB, free: 77.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007152/0.3788, allocations: 335.5 kB / 0.4999 GB, free: 77.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.3801, allocations: 0.659 MB / 0.5006 GB, free: 76.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.159e-05/0.3801, allocations: 55.03 kB / 0.5006 GB, free: 76.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.3825, allocations: 3.339 MB / 0.5039 GB, free: 72.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3825, allocations: 15.94 kB / 0.5039 GB, free: 72.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.385, allocations: 2.619 MB / 0.5065 GB, free: 70.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004115/0.3854, allocations: 425 kB / 0.5069 GB, free: 69.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.3857, allocations: 55.98 kB / 0.5069 GB, free: 69.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000805/0.3865, allocations: 51.98 kB / 0.507 GB, free: 69.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.3867, allocations: 154.9 kB / 0.5071 GB, free: 69.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.481e-05/0.3868, allocations: 56 kB / 0.5072 GB, free: 69.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001023/0.3878, allocations: 1.571 MB / 0.5087 GB, free: 68.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3878, allocations: 0 / 0.5087 GB, free: 68.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003507/0.3913, allocations: 1.459 MB / 0.5101 GB, free: 66.62 MB / 426.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.0003013/0.3916, allocations: 182.7 kB / 0.5103 GB, free: 66.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003075/0.3947, allocations: 3.374 MB / 0.5136 GB, free: 63.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001483/0.3948, allocations: 112.2 kB / 0.5137 GB, free: 63.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008442/0.3957, allocations: 0.9099 MB / 0.5146 GB, free: 62.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.3978, allocations: 0.8588 MB / 0.5154 GB, free: 61.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009393/0.4072, allocations: 10.17 MB / 0.5254 GB, free: 51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.4083, allocations: 1.652 MB / 0.527 GB, free: 49.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001338/0.4096, allocations: 0.6303 MB / 0.5276 GB, free: 48.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.4106, allocations: 0.712 MB / 0.5283 GB, free: 47.97 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/0.4106, allocations: 0 / 0.5283 GB, free: 47.97 MB / 426.7 MB Notification: Performance of Templates: time 0.06794/0.4785, allocations: 48.07 MB / 0.5752 GB, free: 456 kB / 426.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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: 4.33624891191721]