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.001285/0.001285, allocations: 80.05 kB / 20.72 MB, free: 3.762 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.001353/0.001353, allocations: 169 kB / 24.14 MB, free: 352 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.9196/0.9196, allocations: 158.6 MB / 186 MB, free: 2.758 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.1296/0.1296, allocations: 32.38 MB / 270.7 MB, free: 14.58 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.774e-06/1.774e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.03e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.1687/0.1687, allocations: 14.41 MB / 313.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.1809, allocations: 5.195 MB / 318.7 MB, free: 8.844 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/0.1833, allocations: 125.5 kB / 318.9 MB, free: 8.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005278/0.1886, allocations: 4.41 MB / 323.3 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005253/0.1938, allocations: 2.608 MB / 325.9 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.1959, allocations: 1.197 MB / 327.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007544/0.2034, allocations: 7.818 MB / 334.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006017/0.2095, allocations: 4.833 MB / 339.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005928/0.2154, allocations: 4.277 MB / 344 MB, free: 1.137 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004406/0.2198, allocations: 3.32 MB / 347.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007432/0.2205, allocations: 0.5039 MB / 347.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.2227, allocations: 1.381 MB / 349.2 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002135/0.2248, allocations: 3.055 MB / 352.3 MB, free: 8.859 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002023/0.2268, allocations: 1.94 MB / 354.2 MB, free: 6.914 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006379/0.2332, allocations: 6.508 MB / 360.7 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.2332, allocations: 4 kB / 360.7 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.2332, allocations: 0 / 360.7 MB, free: 388 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000145/0.2334, allocations: 0 / 360.7 MB, free: 388 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.008645/0.242, allocations: 6.573 MB / 367.3 MB, free: 9.734 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.242, allocations: 8.031 kB / 367.3 MB, free: 9.727 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004409/0.2465, allocations: 1.534 MB / 368.8 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003385/0.2498, allocations: 3.083 MB / 371.9 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.25, allocations: 333 kB / 372.2 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005099/0.2505, allocations: 460.1 kB / 372.7 MB, free: 4.227 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006956/0.2575, allocations: 6.732 MB / 379.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.2576, allocations: 75.38 kB / 379.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003185/0.2579, allocations: 207.8 kB / 379.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001796/0.2597, allocations: 2.27 MB / 382 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004816/0.2645, allocations: 3.319 MB / 385.3 MB, free: 6.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02952/0.2941, allocations: 40.71 MB / 426 MB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004327/0.2984, allocations: 2.105 MB / 428.1 MB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/0.2989, allocations: 471.2 kB / 428.6 MB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004866/0.3038, allocations: 4.16 MB / 432.7 MB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.3038, allocations: 55.81 kB / 432.8 MB, free: 5.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=188): time 2.996e-06/0.3038, allocations: 0 / 432.8 MB, free: 5.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=222): time 0.02803/0.3319, allocations: 12.21 MB / 445 MB, free: 9.477 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.3319, allocations: 257.3 kB / 445.2 MB, free: 9.168 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003249/0.3352, allocations: 4.233 MB / 449.5 MB, free: 4.922 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.3353, allocations: 57.7 kB / 449.5 MB, free: 4.859 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001627/0.3369, allocations: 4.038 MB / 453.6 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1504/0.4874, allocations: 0.9063 MB / 454.5 MB, free: 121.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002369/0.4897, allocations: 1.479 MB / 455.9 MB, free: 121.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.801e-05/0.4898, allocations: 307.2 kB / 456.2 MB, free: 121.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002336/0.4921, allocations: 1.014 MB / 457.3 MB, free: 121.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003327/0.4954, allocations: 5.595 MB / 462.8 MB, free: 115.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005949/0.5014, allocations: 7.149 MB / 470 MB, free: 109.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-05/0.5015, allocations: 46.09 kB / 470 MB, free: 109.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=1018) (initialization): time 0.007696/0.5092, allocations: 5.561 MB / 475.6 MB, free: 107.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.134e-05/0.5092, allocations: 72.41 kB / 475.7 MB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/0.5094, allocations: 163.2 kB / 475.8 MB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.5109, allocations: 0.6749 MB / 476.5 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/0.5135, allocations: 1.819 MB / 478.3 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.5165, allocations: 3.702 MB / 482 MB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/0.5193, allocations: 341.8 kB / 482.4 MB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003622/0.5197, allocations: 402 kB / 482.8 MB, free: 105.1 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.001533/0.5212, allocations: 0.7446 MB / 483.5 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004246/0.5216, allocations: 303.5 kB / 483.8 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.5238, allocations: 1.599 MB / 485.4 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.5239, allocations: 31.84 kB / 485.4 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.5239, allocations: 5.812 kB / 485.4 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.5239, allocations: 13.39 kB / 485.4 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007145/0.531, allocations: 6.402 MB / 491.8 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.531, allocations: 8 kB / 491.9 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008127/0.5318, allocations: 351.8 kB / 492.2 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001423/0.5333, allocations: 0.6699 MB / 492.9 MB, free: 99.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.5334, allocations: 51.7 kB / 492.9 MB, free: 99.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002495/0.5359, allocations: 3.359 MB / 496.3 MB, free: 96.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.5359, allocations: 17.25 kB / 496.3 MB, free: 96.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/0.5387, allocations: 2.698 MB / 499 MB, free: 93.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007382/0.5395, allocations: 0.6127 MB / 499.6 MB, free: 93.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003116/0.5398, allocations: 53.86 kB / 499.7 MB, free: 93.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008509/0.5406, allocations: 66.81 kB / 499.7 MB, free: 93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/0.5409, allocations: 164.7 kB / 499.9 MB, free: 92.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.523e-05/0.5409, allocations: 55.98 kB / 499.9 MB, free: 92.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001286/0.5422, allocations: 1.61 MB / 0.4898 GB, free: 91.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5422, allocations: 0 / 0.4898 GB, free: 91.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004209/0.5464, allocations: 1.528 MB / 0.4913 GB, free: 89.66 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.0003349/0.5468, allocations: 194.9 kB / 0.4915 GB, free: 89.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00346/0.5502, allocations: 3.444 MB / 0.4948 GB, free: 86.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001501/0.5504, allocations: 112.2 kB / 0.4949 GB, free: 85.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008469/0.5512, allocations: 0.9438 MB / 0.4959 GB, free: 84.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.5534, allocations: 0.8674 MB / 0.4967 GB, free: 84.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.5636, allocations: 10.52 MB / 0.507 GB, free: 73.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.5649, allocations: 1.722 MB / 0.5087 GB, free: 71.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001365/0.5662, allocations: 0.644 MB / 0.5093 GB, free: 71.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.5673, allocations: 0.7354 MB / 0.51 GB, free: 70.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5673, allocations: 2.078 kB / 0.51 GB, free: 70.32 MB / 410.7 MB Notification: Performance of Templates: time 0.05872/0.626, allocations: 49.43 MB / 0.5583 GB, free: 20.99 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 -s gbode -gbm=radauIIA3 -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.418935571331531]