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.001434/0.001434, allocations: 91.22 kB / 20.43 MB, free: 4.145 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.001644/0.001644, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 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.9496/0.9496, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.152/0.152, allocations: 32.38 MB / 270.4 MB, free: 14.7 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 2.625e-06/2.625e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.461e-05, allocations: 6.25 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01638/0.01641, allocations: 14.75 MB / 362.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.03079, allocations: 5.02 MB / 367.5 MB, free: 5.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005547/0.03633, allocations: 127.3 kB / 367.6 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008302/0.04463, allocations: 4.493 MB / 372.1 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007313/0.05195, allocations: 2.589 MB / 374.7 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.054, allocations: 1.201 MB / 375.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007308/0.06131, allocations: 7.842 MB / 383.7 MB, free: 5.293 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00457/0.06588, allocations: 5.064 MB / 388.8 MB, free: 164 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004116/0.07, allocations: 3.66 MB / 392.4 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003833/0.07383, allocations: 3.644 MB / 396.1 MB, free: 8.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000669/0.0745, allocations: 0.5156 MB / 396.6 MB, free: 8.324 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.0763, allocations: 1.362 MB / 397.9 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001894/0.0782, allocations: 3.074 MB / 401 MB, free: 3.879 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.07984, allocations: 1.959 MB / 403 MB, free: 1.914 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005814/0.08566, allocations: 6.574 MB / 409.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.08566, allocations: 4 kB / 409.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.08566, allocations: 3.938 kB / 409.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001121/0.08577, allocations: 0 / 409.6 MB, free: 11.31 MB / 346.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.008803/0.09458, allocations: 7.692 MB / 417.3 MB, free: 3.535 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.09462, allocations: 12.03 kB / 417.3 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/0.1082, allocations: 4.038 MB / 421.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005685/0.1139, allocations: 4.071 MB / 425.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.1141, allocations: 333 kB / 425.7 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000587/0.1147, allocations: 460 kB / 426.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.1252, allocations: 8.212 MB / 434.4 MB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000148/0.1254, allocations: 71.41 kB / 434.4 MB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003989/0.1258, allocations: 211.8 kB / 434.6 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002664/0.1285, allocations: 2.648 MB / 437.3 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009497/0.138, allocations: 4.573 MB / 441.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2167/0.3547, allocations: 56.24 MB / 498.1 MB, free: 32.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006214/0.3609, allocations: 2.822 MB / 0.4892 GB, free: 31.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.3621, allocations: 1.028 MB / 0.4902 GB, free: 31.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/0.3624, allocations: 238.2 kB / 0.4904 GB, free: 31.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.3624, allocations: 64.53 kB / 0.4905 GB, free: 31.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=254): time 7.914e-06/0.3625, allocations: 0 / 0.4905 GB, free: 31.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=324): time 0.04552/0.408, allocations: 25.26 MB / 0.5151 GB, free: 18.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.408, allocations: 273.4 kB / 0.5154 GB, free: 18.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00398/0.412, allocations: 4.45 MB / 0.5197 GB, free: 14.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001922/0.4122, allocations: 81.69 kB / 0.5198 GB, free: 13.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001727/0.4139, allocations: 4.338 MB / 0.5241 GB, free: 10.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007566/0.4147, allocations: 1.301 MB / 0.5253 GB, free: 8.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/0.4162, allocations: 1.734 MB / 0.527 GB, free: 7.027 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.973e-05/0.4162, allocations: 484.7 kB / 0.5275 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.418, allocations: 1.132 MB / 0.5286 GB, free: 5.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003987/0.422, allocations: 7.56 MB / 0.536 GB, free: 11.03 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008978/0.4309, allocations: 9.462 MB / 0.5452 GB, free: 15.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.05e-05/0.431, allocations: 40 kB / 0.5453 GB, free: 15.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.01356/0.4446, allocations: 8.395 MB / 0.5535 GB, free: 7.504 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.476e-05/0.4446, allocations: 68 kB / 0.5535 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001831/0.4448, allocations: 148 kB / 0.5537 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003951/0.4488, allocations: 1.771 MB / 0.5554 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003512/0.4523, allocations: 1.833 MB / 0.5572 GB, free: 3.684 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009516/0.4618, allocations: 8.305 MB / 0.5653 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004426/0.4662, allocations: 0.5695 MB / 0.5658 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005836/0.4668, allocations: 463.9 kB / 0.5663 GB, free: 10.13 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * 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 (973): * Single equations (assignments): 968 * 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,24,100.0%), (4,23,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002034/0.4688, allocations: 0.7806 MB / 0.5671 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00088/0.4697, allocations: 0.5478 MB / 0.5676 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006551/0.4763, allocations: 4.014 MB / 0.5715 GB, free: 4.711 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-05/0.4763, allocations: 35.94 kB / 0.5715 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/0.4763, allocations: 12 kB / 0.5716 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/0.4764, allocations: 15.94 kB / 0.5716 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/0.4928, allocations: 10.49 MB / 0.5818 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.4928, allocations: 4 kB / 0.5818 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.4942, allocations: 0.5148 MB / 0.5823 GB, free: 9.543 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0035/0.4977, allocations: 1.544 MB / 0.5838 GB, free: 7.988 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/0.4979, allocations: 67.92 kB / 0.5839 GB, free: 7.922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007579/0.5055, allocations: 7.001 MB / 0.5907 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.5055, allocations: 11.94 kB / 0.5907 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008821/0.5143, allocations: 5.565 MB / 0.5962 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/0.5161, allocations: 0.9925 MB / 0.5971 GB, free: 9.883 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004036/0.5165, allocations: 66.8 kB / 0.5972 GB, free: 9.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.518, allocations: 315.5 kB / 0.5975 GB, free: 9.512 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003752/0.5184, allocations: 214.2 kB / 0.5977 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/0.5185, allocations: 87.98 kB / 0.5978 GB, free: 9.219 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002449/0.521, allocations: 1.994 MB / 0.5997 GB, free: 7.227 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.521, allocations: 0 / 0.5997 GB, free: 7.227 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005038/0.526, allocations: 1.769 MB / 0.6015 GB, free: 5.457 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (263): * Single equations (assignments): 258 * 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,21,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004737/0.5265, allocations: 232.3 kB / 0.6017 GB, free: 5.227 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007703/0.5342, allocations: 5.065 MB / 0.6066 GB, free: 140 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5342, allocations: 4 kB / 0.6066 GB, free: 136 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1444/0.6786, allocations: 1.881 MB / 0.6085 GB, free: 142.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/0.6816, allocations: 0.6207 MB / 0.6091 GB, free: 142.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/0.6975, allocations: 11.98 MB / 0.6208 GB, free: 137.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.6989, allocations: 1.806 MB / 0.6225 GB, free: 137.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003412/0.7023, allocations: 2.05 MB / 0.6245 GB, free: 137.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008275/0.7031, allocations: 349.3 kB / 0.6249 GB, free: 137.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.773e-06/0.7031, allocations: 0 / 0.6249 GB, free: 137.1 MB / 458.7 MB Notification: Performance of Templates: time 0.0706/0.7737, allocations: 65.21 MB / 0.6886 GB, free: 82.65 MB / 458.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: 5.078591587021947]