Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001563/0.001563, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.002131/0.002131, allocations: 166.7 kB / 24.99 MB, free: 8.793 MB / 18.57 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.102/1.102, allocations: 177.1 MB / 205.3 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.274/0.274, allocations: 32.8 MB / 294.6 MB, free: 1.301 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.[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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.188e-05, allocations: 5.828 kB / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01109/0.01112, allocations: 14.16 MB / 390.2 MB, free: 6.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008605/0.01972, allocations: 4.921 MB / 395.1 MB, free: 1.832 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002867/0.02259, allocations: 123.4 kB / 395.2 MB, free: 1.711 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005244/0.02783, allocations: 4.447 MB / 399.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005162/0.03299, allocations: 2.476 MB / 402.1 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.03522, allocations: 1.177 MB / 403.3 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00877/0.04399, allocations: 8.231 MB / 411.5 MB, free: 1.336 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005499/0.04949, allocations: 4.951 MB / 416.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005233/0.05473, allocations: 3.539 MB / 420 MB, free: 8.77 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004321/0.05905, allocations: 3.523 MB / 423.6 MB, free: 5.238 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001033/0.06008, allocations: 0.5 MB / 424.1 MB, free: 4.738 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.06245, allocations: 1.33 MB / 425.4 MB, free: 3.406 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002379/0.06483, allocations: 2.965 MB / 428.3 MB, free: 444 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002391/0.06722, allocations: 1.885 MB / 430.2 MB, free: 14.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007413/0.07464, allocations: 6.31 MB / 436.5 MB, free: 8.211 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.07464, allocations: 0 / 436.5 MB, free: 8.211 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.07464, allocations: 0 / 436.5 MB, free: 8.211 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002213/0.07486, allocations: 4 kB / 436.5 MB, free: 8.207 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.01123/0.08609, allocations: 7.503 MB / 444 MB, free: 0.625 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.08614, allocations: 8.031 kB / 444.1 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1891/0.2753, allocations: 3.953 MB / 448 MB, free: 78.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00701/0.2823, allocations: 3.967 MB / 452 MB, free: 77.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.2825, allocations: 327 kB / 452.3 MB, free: 77.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000813/0.2833, allocations: 448.8 kB / 452.7 MB, free: 77.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/0.2954, allocations: 7.995 MB / 460.7 MB, free: 74.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000222/0.2956, allocations: 66.7 kB / 460.8 MB, free: 74.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004143/0.296, allocations: 204.2 kB / 461 MB, free: 74.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002617/0.2986, allocations: 2.53 MB / 463.5 MB, free: 74.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.3099, allocations: 4.424 MB / 467.9 MB, free: 74.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04226/0.3522, allocations: 55.09 MB / 0.5108 GB, free: 30.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007284/0.3594, allocations: 2.75 MB / 0.5135 GB, free: 30.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.361, allocations: 1.008 MB / 0.5144 GB, free: 30.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003293/0.3613, allocations: 225.7 kB / 0.5147 GB, free: 30.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.3613, allocations: 68.45 kB / 0.5147 GB, free: 30.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=245): time 5.4e-06/0.3613, allocations: 0 / 0.5147 GB, free: 30.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=315): time 0.05086/0.4122, allocations: 24.49 MB / 0.5386 GB, free: 10.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.4123, allocations: 269.3 kB / 0.5389 GB, free: 10.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003802/0.4161, allocations: 4.348 MB / 0.5431 GB, free: 6.141 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003537/0.4164, allocations: 73.7 kB / 0.5432 GB, free: 6.062 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001439/0.4179, allocations: 4.212 MB / 0.5473 GB, free: 1.883 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009558/0.4188, allocations: 1.272 MB / 0.5486 GB, free: 0.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001658/0.4205, allocations: 1.701 MB / 0.5502 GB, free: 14.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002657/0.4207, allocations: 480.7 kB / 0.5507 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/0.4228, allocations: 1.112 MB / 0.5518 GB, free: 13.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005219/0.428, allocations: 7.378 MB / 0.559 GB, free: 3.195 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00955/0.4376, allocations: 9.25 MB / 0.568 GB, free: 7.473 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002002/0.4378, allocations: 40 kB / 0.5681 GB, free: 7.434 MB / 442.7 MB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.01828/0.4561, allocations: 8.24 MB / 0.5761 GB, free: 15.15 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.221e-05/0.4561, allocations: 68 kB / 0.5762 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/0.4563, allocations: 140 kB / 0.5763 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00409/0.4604, allocations: 1.763 MB / 0.578 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004218/0.4646, allocations: 1.782 MB / 0.5798 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.4747, allocations: 8.304 MB / 0.5879 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00496/0.4797, allocations: 0.5539 MB / 0.5884 GB, free: 2.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/0.4808, allocations: 450.4 kB / 0.5888 GB, free: 1.867 MB / 458.7 MB 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.00237/0.4832, allocations: 0.7676 MB / 0.5896 GB, free: 1.082 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/0.4844, allocations: 0.5361 MB / 0.5901 GB, free: 0.543 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007036/0.4915, allocations: 3.931 MB / 0.594 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.897e-05/0.4915, allocations: 32 kB / 0.594 GB, free: 12.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/0.4916, allocations: 11.94 kB / 0.594 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.605e-05/0.4916, allocations: 19.94 kB / 0.594 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01989/0.5115, allocations: 10.27 MB / 0.604 GB, free: 2.113 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.422e-05/0.5115, allocations: 11.98 kB / 0.6041 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/0.5136, allocations: 0.4914 MB / 0.6045 GB, free: 1.609 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00411/0.5177, allocations: 1.535 MB / 0.606 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007366/0.5185, allocations: 62.66 kB / 0.6061 GB, free: 8 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2055/0.7239, allocations: 7.023 MB / 0.613 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.7239, allocations: 11.78 kB / 0.613 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009465/0.7334, allocations: 5.468 MB / 0.6183 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.7347, allocations: 477.1 kB / 0.6188 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005203/0.7352, allocations: 55.81 kB / 0.6188 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/0.7368, allocations: 295.8 kB / 0.6191 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005462/0.7374, allocations: 213 kB / 0.6193 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/0.7375, allocations: 93.61 kB / 0.6194 GB, free: 114 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00267/0.7402, allocations: 1.935 MB / 0.6213 GB, free: 113.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 3e-08/0.7402, allocations: 1.203 kB / 0.6213 GB, free: 113.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006503/0.7467, allocations: 1.712 MB / 0.6229 GB, free: 113.8 MB / 474.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 (253): * Single equations (assignments): 248 * 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.0007198/0.7474, allocations: 230.3 kB / 0.6232 GB, free: 113.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007526/0.7549, allocations: 4.892 MB / 0.6279 GB, free: 113.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.755, allocations: 0 / 0.6279 GB, free: 113.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002558/0.7575, allocations: 1.919 MB / 0.6298 GB, free: 112.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/0.7605, allocations: 0.599 MB / 0.6304 GB, free: 112.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/0.7803, allocations: 11.57 MB / 0.6417 GB, free: 108.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002777/0.7831, allocations: 1.741 MB / 0.6434 GB, free: 108.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00441/0.7875, allocations: 2.003 MB / 0.6454 GB, free: 107.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/0.7886, allocations: 331.6 kB / 0.6457 GB, free: 107.9 MB / 474.7 MB Notification: Performance of SimCode: time 2.545e-06/0.7886, allocations: 1.406 kB / 0.6457 GB, free: 107.9 MB / 474.7 MB Notification: Performance of Templates: time 0.08124/0.8698, allocations: 64.04 MB / 0.7082 GB, free: 62.58 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.363311749882996]