Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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.0009178/0.0009178, allocations: 80.8 kB / 22.29 MB, free: 2.199 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.0009953/0.0009953, allocations: 171.2 kB / 25.7 MB, free: 8.441 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.8533/0.8533, allocations: 158.6 MB / 187.6 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5062,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5062,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 251.6 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.881e-05, allocations: 2.312 kB / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.01609/0.01611, allocations: 22 MB / 273.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.02824, allocations: 7.257 MB / 280.8 MB, free: 9.863 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002924/0.03116, allocations: 214.9 kB / 281 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008105/0.03927, allocations: 8.535 MB / 289.6 MB, free: 1.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006582/0.04585, allocations: 3.915 MB / 293.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.04878, allocations: 2.324 MB / 295.8 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01242/0.0612, allocations: 14.12 MB / 309.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009322/0.07052, allocations: 9.972 MB / 319.9 MB, free: 2.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009474/0.08, allocations: 8.469 MB / 328.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006722/0.08672, allocations: 6.478 MB / 334.8 MB, free: 3.613 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00146/0.08818, allocations: 1.039 MB / 335.9 MB, free: 2.574 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.09076, allocations: 2.127 MB / 338 MB, free: 456 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004022/0.09478, allocations: 5.53 MB / 343.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003634/0.09841, allocations: 3.491 MB / 347 MB, free: 7.395 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1173/0.2157, allocations: 10.76 MB / 357.8 MB, free: 53.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2157, allocations: 0 / 357.8 MB, free: 53.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2157, allocations: 0 / 357.8 MB, free: 53.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004842/0.2162, allocations: 1.656 kB / 357.8 MB, free: 53.19 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.01394/0.2302, allocations: 10.49 MB / 368.3 MB, free: 49.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2302, allocations: 13.64 kB / 368.3 MB, free: 49.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006638/0.2368, allocations: 2.431 MB / 370.7 MB, free: 49.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006928/0.2438, allocations: 5.859 MB / 376.6 MB, free: 47.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.244, allocations: 0.5215 MB / 377.1 MB, free: 47.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009076/0.2449, allocations: 0.7375 MB / 377.8 MB, free: 47.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.256, allocations: 9.643 MB / 387.5 MB, free: 44.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003015/0.2563, allocations: 94.75 kB / 387.6 MB, free: 44.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006672/0.2569, allocations: 317.4 kB / 387.9 MB, free: 44.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002162/0.2591, allocations: 2.619 MB / 390.5 MB, free: 44.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/0.2715, allocations: 4.662 MB / 395.2 MB, free: 43.57 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05323/0.3247, allocations: 54.23 MB / 449.4 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008414/0.3331, allocations: 3.577 MB / 453 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.3344, allocations: 0.8663 MB / 453.8 MB, free: 2.578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01411/0.3486, allocations: 8.635 MB / 462.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.3486, allocations: 68.56 kB / 462.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of pre-optimization done (n=296): time 5.951e-06/0.3486, allocations: 0 / 462.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=397): time 0.05318/0.4018, allocations: 19.32 MB / 481.9 MB, free: 7.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.4019, allocations: 406.5 kB / 482.3 MB, free: 6.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006614/0.4085, allocations: 5.906 MB / 488.2 MB, free: 1.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000645/0.4092, allocations: 87.97 kB / 488.2 MB, free: 1.863 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002745/0.4119, allocations: 5.111 MB / 493.4 MB, free: 13.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001325/0.4133, allocations: 1.507 MB / 494.9 MB, free: 11.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00213/0.4154, allocations: 1.884 MB / 496.7 MB, free: 10.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.4155, allocations: 305.1 kB / 497 MB, free: 9.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002779/0.4182, allocations: 1.486 MB / 498.5 MB, free: 8.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1242/0.5425, allocations: 6.563 MB / 0.4933 GB, free: 133.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00791/0.5504, allocations: 8.548 MB / 0.5016 GB, free: 126.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001376/0.5505, allocations: 54.47 kB / 0.5017 GB, free: 126.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=1300) (initialization): time 0.01305/0.5636, allocations: 7.624 MB / 0.5091 GB, free: 125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.83e-05/0.5636, allocations: 76.53 kB / 0.5092 GB, free: 125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/0.5638, allocations: 174.3 kB / 0.5093 GB, free: 125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004832/0.5686, allocations: 1.79 MB / 0.5111 GB, free: 124.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004234/0.5728, allocations: 2.108 MB / 0.5131 GB, free: 124.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008575/0.5814, allocations: 6.118 MB / 0.5191 GB, free: 123.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005714/0.5871, allocations: 398.8 kB / 0.5195 GB, free: 123.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008901/0.588, allocations: 456.5 kB / 0.5199 GB, free: 123.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 783 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1196): * Single equations (assignments): 1191 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,78,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00309/0.5911, allocations: 0.8811 MB / 0.5208 GB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/0.5925, allocations: 491.5 kB / 0.5213 GB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006099/0.5986, allocations: 3.356 MB / 0.5245 GB, free: 120 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-05/0.5987, allocations: 36 kB / 0.5246 GB, free: 119.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/0.5987, allocations: 19.84 kB / 0.5246 GB, free: 119.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/0.5987, allocations: 18.52 kB / 0.5246 GB, free: 119.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02053/0.6192, allocations: 11.72 MB / 0.5361 GB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/0.6192, allocations: 12.97 kB / 0.5361 GB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.6208, allocations: 0.5383 MB / 0.5366 GB, free: 109.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004806/0.6256, allocations: 1.831 MB / 0.5384 GB, free: 108 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003053/0.6259, allocations: 79.98 kB / 0.5385 GB, free: 108 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007526/0.6334, allocations: 5.357 MB / 0.5437 GB, free: 102.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.6334, allocations: 27.88 kB / 0.5437 GB, free: 102.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008234/0.6416, allocations: 4.918 MB / 0.5485 GB, free: 97.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002531/0.6442, allocations: 1.107 MB / 0.5496 GB, free: 96.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008856/0.6451, allocations: 83.98 kB / 0.5497 GB, free: 96.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/0.6469, allocations: 99.91 kB / 0.5498 GB, free: 96.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004827/0.6474, allocations: 302 kB / 0.5501 GB, free: 96.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/0.6476, allocations: 88 kB / 0.5502 GB, free: 96.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00229/0.6498, allocations: 2.439 MB / 0.5525 GB, free: 93.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6498, allocations: 4.031 kB / 0.5525 GB, free: 93.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006074/0.6559, allocations: 2.547 MB / 0.555 GB, free: 91.15 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 65 * Number of states: 2 (Inertia.phi,Inertia.w) * 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 (314): * Single equations (assignments): 310 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,67,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006107/0.6565, allocations: 306.2 kB / 0.5553 GB, free: 90.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005484/0.662, allocations: 4.712 MB / 0.5599 GB, free: 86.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002371/0.6623, allocations: 136.2 kB / 0.56 GB, free: 86.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.6641, allocations: 1.527 MB / 0.5615 GB, free: 84.53 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005279/0.6694, allocations: 1.464 MB / 0.563 GB, free: 83.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/0.6902, allocations: 16.69 MB / 0.5793 GB, free: 66.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/0.6929, allocations: 2.714 MB / 0.5819 GB, free: 63.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002919/0.6958, allocations: 0.913 MB / 0.5828 GB, free: 62.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/0.6978, allocations: 1.128 MB / 0.5839 GB, free: 61.36 MB / 394.7 MB Notification: Performance of SimCode: time 1.863e-06/0.6978, allocations: 0 / 0.5839 GB, free: 61.36 MB / 394.7 MB Notification: Performance of Templates: time 0.2103/0.9081, allocations: 98.23 MB / 0.6798 GB, free: 100.6 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.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.159619396086782]