Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009005/0.0009005, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.0009756/0.0009756, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9495/0.9495, allocations: 158.6 MB / 186 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1462/0.1462, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.835e-05/4.029e-05, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.1899/0.1899, allocations: 14.36 MB / 313.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009642/0.1995, allocations: 5.192 MB / 318.6 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.2014, allocations: 130.2 kB / 318.8 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004532/0.2059, allocations: 4.488 MB / 323.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004223/0.2101, allocations: 2.635 MB / 325.9 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.2118, allocations: 1.205 MB / 327.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00628/0.2181, allocations: 7.816 MB / 334.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004289/0.2224, allocations: 5.173 MB / 340.1 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.2273, allocations: 4.37 MB / 344.4 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003115/0.2304, allocations: 3.324 MB / 347.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006715/0.2311, allocations: 0.5039 MB / 348.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.2328, allocations: 1.338 MB / 349.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00192/0.2347, allocations: 3.051 MB / 352.7 MB, free: 8.484 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001922/0.2366, allocations: 1.94 MB / 354.6 MB, free: 6.539 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005363/0.242, allocations: 6.512 MB / 361.1 MB, free: 4 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.242, allocations: 0 / 361.1 MB, free: 4 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.242, allocations: 0 / 361.1 MB, free: 4 kB / 314.7 MB Notification: Performance of Transformations before backend: time 7.075e-05/0.242, allocations: 0 / 361.1 MB, free: 4 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.006897/0.2489, allocations: 6.568 MB / 367.7 MB, free: 9.367 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.249, allocations: 8.031 kB / 367.7 MB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004053/0.253, allocations: 1.547 MB / 369.2 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003411/0.2564, allocations: 3.071 MB / 372.3 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.2566, allocations: 337 kB / 372.6 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004931/0.2571, allocations: 456.1 kB / 373.1 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00658/0.2637, allocations: 6.733 MB / 379.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/0.2638, allocations: 71.39 kB / 379.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004965/0.2643, allocations: 211.8 kB / 380.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001846/0.2661, allocations: 2.267 MB / 382.4 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004711/0.2708, allocations: 3.328 MB / 385.7 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02863/0.2995, allocations: 40.7 MB / 426.4 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004307/0.3038, allocations: 2.119 MB / 428.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005224/0.3043, allocations: 459.9 kB / 428.9 MB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004772/0.3091, allocations: 4.161 MB / 433.1 MB, free: 5.367 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.3091, allocations: 55.81 kB / 433.2 MB, free: 5.305 MB / 394.7 MB Notification: Performance of pre-optimization done (n=188): time 3.487e-06/0.3091, allocations: 4 kB / 433.2 MB, free: 5.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=222): time 0.02679/0.3359, allocations: 12.06 MB / 445.2 MB, free: 9.254 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.305e-05/0.336, allocations: 257.3 kB / 445.5 MB, free: 8.945 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00343/0.3394, allocations: 4.233 MB / 449.7 MB, free: 4.699 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.3395, allocations: 61.7 kB / 449.8 MB, free: 4.633 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001847/0.3414, allocations: 4.026 MB / 453.8 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1766/0.518, allocations: 0.9156 MB / 454.7 MB, free: 122 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002049/0.5201, allocations: 1.478 MB / 456.2 MB, free: 121.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.443e-05/0.5201, allocations: 302.4 kB / 456.5 MB, free: 121.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.5219, allocations: 1.013 MB / 457.5 MB, free: 121.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00373/0.5256, allocations: 5.597 MB / 463.1 MB, free: 115.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007103/0.5327, allocations: 7.15 MB / 470.2 MB, free: 109.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002764/0.533, allocations: 47.66 kB / 470.3 MB, free: 109.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=1018) (initialization): time 0.01281/0.5458, allocations: 5.554 MB / 475.8 MB, free: 107.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.481e-05/0.5459, allocations: 75.88 kB / 475.9 MB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001833/0.5461, allocations: 161.3 kB / 476.1 MB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.5479, allocations: 0.6753 MB / 476.8 MB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003715/0.5516, allocations: 1.74 MB / 478.5 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004128/0.5557, allocations: 3.705 MB / 482.2 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006731/0.5625, allocations: 346.9 kB / 482.5 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/0.5638, allocations: 395.6 kB / 482.9 MB, free: 105.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 744 * Number of states: 0 () * Number of discrete variables: 42 (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 (976): * Single equations (assignments): 971 * 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.002771/0.5665, allocations: 0.7482 MB / 483.7 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009692/0.5675, allocations: 305.9 kB / 484 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.57, allocations: 1.592 MB / 485.6 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/0.57, allocations: 27.34 kB / 485.6 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.57, allocations: 3.906 kB / 485.6 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.57, allocations: 8.516 kB / 485.6 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.5808, allocations: 6.421 MB / 492 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.5808, allocations: 8 kB / 492 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008425/0.5816, allocations: 328.2 kB / 492.4 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00171/0.5834, allocations: 0.6651 MB / 493 MB, free: 99.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/0.5835, allocations: 53.05 kB / 493.1 MB, free: 99.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/0.5862, allocations: 3.344 MB / 496.4 MB, free: 96.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.5862, allocations: 11.94 kB / 496.4 MB, free: 96.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/0.5901, allocations: 2.699 MB / 499.1 MB, free: 93.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/0.5918, allocations: 0.6191 MB / 499.7 MB, free: 93.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007289/0.5925, allocations: 48.86 kB / 499.8 MB, free: 93.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.5936, allocations: 59.98 kB / 499.9 MB, free: 93.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.5939, allocations: 160.8 kB / 0.4883 GB, free: 92.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.93e-05/0.594, allocations: 55.98 kB / 0.4883 GB, free: 92.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001833/0.5958, allocations: 1.614 MB / 0.4899 GB, free: 91.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5958, allocations: 0 / 0.4899 GB, free: 91.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005994/0.6018, allocations: 1.522 MB / 0.4914 GB, free: 89.74 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 (187): * Single equations (assignments): 182 * 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.0005791/0.6024, allocations: 197.3 kB / 0.4916 GB, free: 89.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005624/0.608, allocations: 3.455 MB / 0.495 GB, free: 86.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004168/0.6084, allocations: 112.2 kB / 0.4951 GB, free: 86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.6099, allocations: 0.9346 MB / 0.496 GB, free: 85.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/0.6142, allocations: 0.8708 MB / 0.4968 GB, free: 84.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/0.6324, allocations: 10.53 MB / 0.5071 GB, free: 73.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/0.6347, allocations: 1.722 MB / 0.5088 GB, free: 71.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00234/0.6371, allocations: 0.6496 MB / 0.5094 GB, free: 71.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001567/0.6386, allocations: 0.7276 MB / 0.5101 GB, free: 70.4 MB / 410.7 MB Notification: Performance of SimCode: time 3.327e-06/0.6386, allocations: 1.531 kB / 0.5101 GB, free: 70.4 MB / 410.7 MB Notification: Performance of Templates: time 0.07089/0.7095, allocations: 49.42 MB / 0.5584 GB, free: 21.05 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.723019892349839]