Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001062/0.001062, allocations: 85.8 kB / 21.43 MB, free: 3.043 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 164.2 kB / 24.82 MB, free: 9.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.108/1.108, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2982/0.2982, allocations: 34.86 MB / 296.6 MB, free: 0.5273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 379.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.608e-05, allocations: 4.844 kB / 379.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01716/0.0172, allocations: 13.84 MB / 393.1 MB, free: 3.902 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.02886, allocations: 4.894 MB / 398 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003457/0.03232, allocations: 123.3 kB / 398.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006409/0.03873, allocations: 4.392 MB / 402.5 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007695/0.04642, allocations: 2.48 MB / 405 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003025/0.04945, allocations: 1.189 MB / 406.2 MB, free: 6.781 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01063/0.06008, allocations: 8.233 MB / 414.4 MB, free: 14.53 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006762/0.06684, allocations: 4.947 MB / 419.4 MB, free: 9.516 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008381/0.07522, allocations: 4.636 MB / 424 MB, free: 4.875 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005223/0.08045, allocations: 3.363 MB / 427.4 MB, free: 1.504 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.0818, allocations: 496 kB / 427.8 MB, free: 1.02 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002948/0.08475, allocations: 1.315 MB / 429.1 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003441/0.08819, allocations: 2.934 MB / 432.1 MB, free: 12.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003876/0.09207, allocations: 1.854 MB / 433.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.1027, allocations: 6.244 MB / 440.2 MB, free: 4.637 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.1027, allocations: 0 / 440.2 MB, free: 4.637 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1027, allocations: 4 kB / 440.2 MB, free: 4.633 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003776/0.1031, allocations: 3.938 kB / 440.2 MB, free: 4.629 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.2042/0.3073, allocations: 7.134 MB / 447.3 MB, free: 93.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3073, allocations: 9.484 kB / 447.3 MB, free: 93.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.3184, allocations: 2.978 MB / 450.3 MB, free: 93.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005835/0.3242, allocations: 3.231 MB / 453.5 MB, free: 92.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000249/0.3245, allocations: 322.7 kB / 453.9 MB, free: 92.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/0.3255, allocations: 450.6 kB / 454.3 MB, free: 92.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009212/0.3347, allocations: 7.229 MB / 461.5 MB, free: 87.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001681/0.3349, allocations: 70.98 kB / 461.6 MB, free: 87.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003447/0.3353, allocations: 200.8 kB / 461.8 MB, free: 87.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001437/0.3367, allocations: 2.147 MB / 463.9 MB, free: 87.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005894/0.3426, allocations: 3.153 MB / 467.1 MB, free: 86.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0348/0.3774, allocations: 54.74 MB / 0.5096 GB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00515/0.3825, allocations: 2.022 MB / 0.5116 GB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/0.3833, allocations: 0.5584 MB / 0.5121 GB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005966/0.3893, allocations: 4.339 MB / 0.5164 GB, free: 39.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.3893, allocations: 59.08 kB / 0.5164 GB, free: 39.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 3.507e-06/0.3893, allocations: 0 / 0.5164 GB, free: 39.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=212): time 0.02974/0.4191, allocations: 13.09 MB / 0.5292 GB, free: 27.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.4191, allocations: 264.6 kB / 0.5295 GB, free: 27.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003484/0.4226, allocations: 4.589 MB / 0.5339 GB, free: 23.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.4227, allocations: 57.7 kB / 0.534 GB, free: 22.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/0.4241, allocations: 4.488 MB / 0.5384 GB, free: 18.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000511/0.4246, allocations: 0.9111 MB / 0.5393 GB, free: 17.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/0.4257, allocations: 1.67 MB / 0.5409 GB, free: 15.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.4257, allocations: 480.4 kB / 0.5413 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.4268, allocations: 0.7839 MB / 0.5421 GB, free: 14.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002485/0.4292, allocations: 7.66 MB / 0.5496 GB, free: 3.832 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005825/0.4351, allocations: 9.07 MB / 0.5585 GB, free: 7.715 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.861e-05/0.4352, allocations: 48 kB / 0.5585 GB, free: 7.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=992) (initialization): time 0.008309/0.4435, allocations: 6.389 MB / 0.5647 GB, free: 1.266 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.964e-05/0.4435, allocations: 72 kB / 0.5648 GB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/0.4437, allocations: 160 kB / 0.565 GB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/0.4452, allocations: 0.6815 MB / 0.5656 GB, free: 360 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/0.4479, allocations: 1.688 MB / 0.5673 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003898/0.4518, allocations: 4.842 MB / 0.572 GB, free: 9.594 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004333/0.4561, allocations: 335.6 kB / 0.5723 GB, free: 9.266 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006174/0.4567, allocations: 400 kB / 0.5727 GB, free: 8.875 MB / 442.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.001907/0.4586, allocations: 0.775 MB / 0.5735 GB, free: 8.086 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/0.4597, allocations: 0.4971 MB / 0.5739 GB, free: 7.586 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/0.4624, allocations: 1.729 MB / 0.5756 GB, free: 5.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.4625, allocations: 24 kB / 0.5757 GB, free: 5.816 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.4625, allocations: 4 kB / 0.5757 GB, free: 5.812 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.4625, allocations: 7.969 kB / 0.5757 GB, free: 5.805 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.4755, allocations: 7.279 MB / 0.5828 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/0.4755, allocations: 8 kB / 0.5828 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008701/0.4764, allocations: 303.5 kB / 0.5831 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/0.4778, allocations: 467 kB / 0.5835 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.4779, allocations: 51.92 kB / 0.5836 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/0.4816, allocations: 4.48 MB / 0.5879 GB, free: 8.773 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.4816, allocations: 11.94 kB / 0.588 GB, free: 8.762 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004322/0.4859, allocations: 3.159 MB / 0.591 GB, free: 5.422 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.487, allocations: 444.9 kB / 0.5915 GB, free: 4.984 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/0.4874, allocations: 51.97 kB / 0.5915 GB, free: 4.934 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009103/0.4883, allocations: 52.09 kB / 0.5916 GB, free: 4.883 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.4885, allocations: 160.8 kB / 0.5917 GB, free: 4.727 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/0.4886, allocations: 55.94 kB / 0.5918 GB, free: 4.672 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002319/0.4909, allocations: 1.876 MB / 0.5936 GB, free: 2.801 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4909, allocations: 0 / 0.5936 GB, free: 2.801 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005915/0.4969, allocations: 1.453 MB / 0.595 GB, free: 1.348 MB / 458.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.0007387/0.4976, allocations: 203.6 kB / 0.5952 GB, free: 1.137 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006066/0.5037, allocations: 3.745 MB / 0.5989 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/0.5037, allocations: 0 / 0.5989 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.5049, allocations: 1.114 MB / 0.6 GB, free: 12.24 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/0.5083, allocations: 0.6065 MB / 0.6006 GB, free: 11.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01953/0.5278, allocations: 10.49 MB / 0.6108 GB, free: 0.918 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1773/0.705, allocations: 1.659 MB / 0.6124 GB, free: 133.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002215/0.7073, allocations: 0.6258 MB / 0.613 GB, free: 133.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/0.7084, allocations: 0.7761 MB / 0.6138 GB, free: 133.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.485e-06/0.7084, allocations: 0 / 0.6138 GB, free: 133.4 MB / 474.7 MB Notification: Performance of Templates: time 0.06972/0.7781, allocations: 48.13 MB / 0.6608 GB, free: 121 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.026740888133645]