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.00116/0.00116, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001106/0.001106, allocations: 169.6 kB / 24.83 MB, free: 8.934 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.988/0.988, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.149/0.149, allocations: 32.37 MB / 271.5 MB, free: 14.53 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 3.126e-06/3.126e-06, allocations: 0 / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.519e-05/4.831e-05, allocations: 14.19 kB / 348.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01299/0.01304, allocations: 14.36 MB / 363.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.02455, allocations: 4.996 MB / 368.3 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004022/0.02857, allocations: 123.4 kB / 368.4 MB, free: 5.605 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007354/0.03592, allocations: 4.423 MB / 372.8 MB, free: 1.164 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007291/0.04322, allocations: 2.604 MB / 375.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.04596, allocations: 1.193 MB / 376.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01045/0.05641, allocations: 7.824 MB / 384.5 MB, free: 5.512 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00756/0.06397, allocations: 5.064 MB / 389.5 MB, free: 388 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008763/0.07273, allocations: 4.417 MB / 393.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005898/0.07863, allocations: 3.464 MB / 397.4 MB, free: 8.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001629/0.08026, allocations: 0.5038 MB / 397.9 MB, free: 7.977 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.08365, allocations: 1.346 MB / 399.2 MB, free: 6.629 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003722/0.08737, allocations: 3.055 MB / 402.3 MB, free: 3.566 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004176/0.09155, allocations: 1.936 MB / 404.2 MB, free: 1.625 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.1019, allocations: 6.504 MB / 410.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.1019, allocations: 0 / 410.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.1019, allocations: 0 / 410.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005944/0.1025, allocations: 0 / 410.7 MB, free: 11.1 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.01528/0.1178, allocations: 7.347 MB / 418.1 MB, free: 3.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1178, allocations: 11.97 kB / 418.1 MB, free: 3.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/0.1304, allocations: 3.037 MB / 421.1 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007875/0.1383, allocations: 3.325 MB / 424.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.1385, allocations: 333 kB / 424.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009716/0.1395, allocations: 464 kB / 425.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/0.1533, allocations: 7.423 MB / 432.7 MB, free: 3.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003049/0.1536, allocations: 63.47 kB / 432.7 MB, free: 3.703 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005529/0.1542, allocations: 207.8 kB / 432.9 MB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002049/0.1562, allocations: 2.27 MB / 435.2 MB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009482/0.1657, allocations: 3.258 MB / 438.5 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2457/0.4114, allocations: 55.91 MB / 494.4 MB, free: 53.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005483/0.4169, allocations: 2.087 MB / 496.5 MB, free: 53.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.4179, allocations: 0.5674 MB / 497 MB, free: 52.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00724/0.4251, allocations: 4.441 MB / 0.4897 GB, free: 51.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.4252, allocations: 55.11 kB / 0.4898 GB, free: 51.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=188): time 9.307e-06/0.4252, allocations: 3.156 kB / 0.4898 GB, free: 51.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=222): time 0.04325/0.4685, allocations: 13.71 MB / 0.5032 GB, free: 44.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.4685, allocations: 256.9 kB / 0.5034 GB, free: 43.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005212/0.4737, allocations: 4.698 MB / 0.508 GB, free: 39.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003299/0.4741, allocations: 65.7 kB / 0.5081 GB, free: 39.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002212/0.4763, allocations: 4.613 MB / 0.5126 GB, free: 34.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001084/0.4774, allocations: 0.946 MB / 0.5135 GB, free: 34.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001759/0.4791, allocations: 1.718 MB / 0.5152 GB, free: 32.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.4792, allocations: 480.7 kB / 0.5156 GB, free: 31.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.4808, allocations: 0.8038 MB / 0.5164 GB, free: 31.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004073/0.4849, allocations: 7.832 MB / 0.524 GB, free: 20.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007577/0.4925, allocations: 9.28 MB / 0.5331 GB, free: 7.949 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002103/0.4927, allocations: 48 kB / 0.5332 GB, free: 7.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=1018) (initialization): time 0.01293/0.5056, allocations: 6.545 MB / 0.5395 GB, free: 1.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.035e-05/0.5057, allocations: 76 kB / 0.5396 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/0.5058, allocations: 164.9 kB / 0.5398 GB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.5077, allocations: 0.6864 MB / 0.5404 GB, free: 432 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004097/0.5118, allocations: 1.739 MB / 0.5421 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005331/0.5171, allocations: 4.842 MB / 0.5469 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006504/0.5236, allocations: 347.6 kB / 0.5472 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001502/0.5251, allocations: 400 kB / 0.5476 GB, free: 8.891 MB / 394.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.003356/0.5285, allocations: 0.7884 MB / 0.5484 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00149/0.53, allocations: 0.5087 MB / 0.5489 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003186/0.5332, allocations: 1.809 MB / 0.5506 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/0.5332, allocations: 24 kB / 0.5506 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.5332, allocations: 8 kB / 0.5507 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.14e-05/0.5332, allocations: 15.95 kB / 0.5507 GB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/0.5499, allocations: 7.507 MB / 0.558 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/0.55, allocations: 8 kB / 0.558 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009823/0.5509, allocations: 323.5 kB / 0.5583 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/0.5524, allocations: 463 kB / 0.5588 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/0.5526, allocations: 55.98 kB / 0.5588 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004167/0.5568, allocations: 4.479 MB / 0.5632 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.5568, allocations: 15.94 kB / 0.5632 GB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004922/0.5617, allocations: 3.229 MB / 0.5664 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/0.5635, allocations: 0.649 MB / 0.567 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000476/0.5639, allocations: 63.91 kB / 0.567 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.565, allocations: 51.98 kB / 0.5671 GB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/0.5652, allocations: 164.8 kB / 0.5673 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.5654, allocations: 52 kB / 0.5673 GB, free: 4.023 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0024/0.5678, allocations: 1.941 MB / 0.5692 GB, free: 2.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5678, allocations: 0 / 0.5692 GB, free: 2.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00579/0.5735, allocations: 1.519 MB / 0.5707 GB, free: 0.5742 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.0005365/0.5741, allocations: 226.6 kB / 0.5709 GB, free: 352 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006111/0.5802, allocations: 3.824 MB / 0.5746 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.5802, allocations: 192 / 0.5746 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.5819, allocations: 1.148 MB / 0.5758 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003391/0.5853, allocations: 0.6069 MB / 0.5763 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/0.6045, allocations: 10.86 MB / 0.587 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002389/0.6069, allocations: 1.731 MB / 0.5886 GB, free: 13.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00229/0.6092, allocations: 0.6503 MB / 0.5893 GB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/0.6105, allocations: 0.791 MB / 0.5901 GB, free: 12.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.464e-06/0.6105, allocations: 0 / 0.5901 GB, free: 12.41 MB / 442.7 MB Notification: Performance of Templates: time 0.2749/0.8855, allocations: 50.61 MB / 0.6395 GB, free: 122.5 MB / 442.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.34622668242082]