Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001718/0.001718, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.002192/0.002192, allocations: 215 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2415/0.2415, allocations: 46.97 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.1.|freeMotion.v_rel_a.1.|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_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|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_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 55.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.351, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01686/0.3679, allocations: 12.76 MB / 0.5743 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.3792, allocations: 4.807 MB / 0.579 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/0.3817, allocations: 119.4 kB / 0.5791 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008662/0.3903, allocations: 4.038 MB / 0.583 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007529/0.3978, allocations: 2.393 MB / 0.5854 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.4006, allocations: 1.08 MB / 0.5864 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01213/0.4128, allocations: 7.169 MB / 0.5934 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006423/0.4192, allocations: 4.052 MB / 0.5974 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004969/0.4242, allocations: 2.278 MB / 0.5996 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00617/0.4303, allocations: 3.291 MB / 0.6028 GB, free: 9.988 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001859/0.4322, allocations: 496 kB / 0.6033 GB, free: 9.504 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003618/0.4358, allocations: 1.272 MB / 0.6045 GB, free: 8.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003931/0.4397, allocations: 2.801 MB / 0.6073 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004551/0.4443, allocations: 2.342 MB / 0.6096 GB, free: 3.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01405/0.4583, allocations: 9.857 MB / 0.6192 GB, free: 9.168 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4584, allocations: 0 / 0.6192 GB, free: 9.168 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4584, allocations: 0 / 0.6192 GB, free: 9.168 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003063/0.4587, allocations: 0 / 0.6192 GB, free: 9.168 MB / 462.1 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.01976/0.4784, allocations: 6.961 MB / 0.626 GB, free: 2.137 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.4785, allocations: 12.03 kB / 0.626 GB, free: 2.125 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02767/0.5061, allocations: 3.351 MB / 0.6293 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01269/0.5188, allocations: 4.361 MB / 0.6335 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/0.5192, allocations: 328.7 kB / 0.6339 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001747/0.5209, allocations: 451.7 kB / 0.6343 GB, free: 9.574 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02674/0.5477, allocations: 13.23 MB / 0.6472 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002519/0.5479, allocations: 71.47 kB / 0.6473 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009306/0.5489, allocations: 211.8 kB / 0.6475 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005097/0.554, allocations: 2.535 MB / 0.6499 GB, free: 8.617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02648/0.5804, allocations: 11.34 MB / 0.661 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07523/0.6557, allocations: 48.39 MB / 0.7083 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01367/0.6693, allocations: 5.007 MB / 0.7132 GB, free: 6.605 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004544/0.6739, allocations: 3.244 MB / 0.7163 GB, free: 3.359 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005642/0.6744, allocations: 238.3 kB / 0.7166 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.234e-05/0.6745, allocations: 64.44 kB / 0.7166 GB, free: 3.055 MB / 0.545 GB Notification: Performance of pre-optimization done (n=245): time 5.661e-06/0.6745, allocations: 0 / 0.7166 GB, free: 3.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=315): time 0.4451/1.12, allocations: 36.24 MB / 0.752 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/1.12, allocations: 264.9 kB / 0.7523 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005565/1.125, allocations: 4.772 MB / 0.7569 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007367/1.126, allocations: 72.89 kB / 0.757 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002029/1.128, allocations: 4.061 MB / 0.761 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001275/1.129, allocations: 1.226 MB / 0.7622 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001933/1.131, allocations: 1.606 MB / 0.7637 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.623e-05/1.131, allocations: 305.1 kB / 0.764 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003998/1.135, allocations: 3.624 MB / 0.7676 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005347/1.141, allocations: 7.909 MB / 0.7753 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/1.152, allocations: 12.25 MB / 0.7872 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000121/1.152, allocations: 40 kB / 0.7873 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.02214/1.174, allocations: 13.67 MB / 0.8006 GB, free: 98.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002086/1.175, allocations: 68 kB / 0.8007 GB, free: 98.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002896/1.175, allocations: 148.2 kB / 0.8008 GB, free: 98.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006677/1.182, allocations: 2.746 MB / 0.8035 GB, free: 95.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006441/1.188, allocations: 1.786 MB / 0.8053 GB, free: 93.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/1.207, allocations: 17.36 MB / 0.8222 GB, free: 76.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006483/1.213, allocations: 467.4 kB / 0.8227 GB, free: 75.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/1.215, allocations: 459.7 kB / 0.8231 GB, free: 75.46 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * 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 (948): * Single equations (assignments): 943 * 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%), (3,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004881/1.22, allocations: 2.745 MB / 0.8258 GB, free: 72.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/1.221, allocations: 458.2 kB / 0.8262 GB, free: 72.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/1.233, allocations: 7.96 MB / 0.834 GB, free: 64.22 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.182e-05/1.233, allocations: 15.95 kB / 0.834 GB, free: 64.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.233, allocations: 0 / 0.834 GB, free: 64.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.235, allocations: 420.7 kB / 0.8344 GB, free: 63.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001126/1.236, allocations: 48 kB / 0.8345 GB, free: 63.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00266/1.239, allocations: 227.7 kB / 0.8347 GB, free: 63.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000652/1.239, allocations: 237.5 kB / 0.8349 GB, free: 63.29 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01388/1.253, allocations: 8.392 MB / 0.8431 GB, free: 54.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01098/1.264, allocations: 10.24 MB / 0.8531 GB, free: 44.6 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004408/1.268, allocations: 2.653 MB / 0.8557 GB, free: 41.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00385/1.272, allocations: 2.804 MB / 0.8584 GB, free: 39.12 MB / 0.5606 GB Notification: Performance of Backend: time 4.61e-07/1.272, allocations: 0 / 0.8584 GB, free: 39.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.284, allocations: 6.271 MB / 0.8646 GB, free: 32.87 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02096/1.304, allocations: 13.26 MB / 0.8775 GB, free: 19.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.1493/1.454, allocations: 85.14 MB / 0.9606 GB, free: 15.04 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.587309893002384]