Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002409/0.002409, allocations: 99.86 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00265/0.00265, allocations: 145.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 173.3 MB / 200.8 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.829e-05/4.993e-05, allocations: 9.766 kB / 267.4 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1608/0.1609, allocations: 22.69 MB / 290 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.1753, allocations: 6.952 MB / 297 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004731/0.18, allocations: 215.2 kB / 297.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01522/0.1952, allocations: 8.581 MB / 305.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.2055, allocations: 3.823 MB / 309.6 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004472/0.21, allocations: 2.307 MB / 311.9 MB, free: 7.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01714/0.2271, allocations: 15.19 MB / 327.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01501/0.2421, allocations: 9.787 MB / 336.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01472/0.2569, allocations: 6.662 MB / 343.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01324/0.2701, allocations: 6.741 MB / 350.3 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003449/0.2736, allocations: 1.031 MB / 351.3 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006426/0.28, allocations: 2.142 MB / 353.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008418/0.2884, allocations: 5.507 MB / 359 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00834/0.2967, allocations: 3.479 MB / 362.5 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02662/0.3233, allocations: 17.84 MB / 380.3 MB, free: 8.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3234, allocations: 4 kB / 380.3 MB, free: 8.266 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3234, allocations: 0 / 380.3 MB, free: 8.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005348/0.3239, allocations: 7.938 kB / 380.3 MB, free: 8.258 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.03691/0.3608, allocations: 13.29 MB / 393.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3608, allocations: 8.031 kB / 393.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05542/0.4163, allocations: 6.499 MB / 400.1 MB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0247/0.441, allocations: 8.069 MB / 408.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005844/0.4416, allocations: 0.5302 MB / 408.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002666/0.4442, allocations: 0.7228 MB / 409.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03344/0.4777, allocations: 12.89 MB / 422.3 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003258/0.478, allocations: 91.3 kB / 422.4 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009706/0.4789, allocations: 327.8 kB / 422.7 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004895/0.4838, allocations: 2.817 MB / 425.5 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02503/0.5089, allocations: 6.807 MB / 432.4 MB, free: 2.473 MB / 378.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.3321/0.841, allocations: 89.59 MB / 0.5097 GB, free: 38.57 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0189/0.8599, allocations: 5.31 MB / 0.5149 GB, free: 33.27 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003228/0.8631, allocations: 1.563 MB / 0.5164 GB, free: 31.68 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01965/0.8827, allocations: 8.819 MB / 0.525 GB, free: 23.03 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.8828, allocations: 83.36 kB / 0.5251 GB, free: 22.93 MB / 378.8 MB Notification: Performance of pre-optimization done (n=321): time 6.012e-06/0.8828, allocations: 0 / 0.5251 GB, free: 22.93 MB / 378.8 MB Notification: Performance of matching and sorting (n=428): time 0.1556/1.038, allocations: 40.31 MB / 0.5645 GB, free: 15.16 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003186/1.039, allocations: 410.8 kB / 0.5649 GB, free: 14.67 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01538/1.054, allocations: 8.305 MB / 0.573 GB, free: 6.566 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001108/1.055, allocations: 89.7 kB / 0.5731 GB, free: 6.473 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006778/1.062, allocations: 6.46 MB / 0.5794 GB, free: 284 kB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.1442/1.206, allocations: 1.8 MB / 0.5811 GB, free: 128.4 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00446/1.211, allocations: 2.69 MB / 0.5838 GB, free: 128.3 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/1.211, allocations: 478.5 kB / 0.5842 GB, free: 127.9 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/1.215, allocations: 1.832 MB / 0.586 GB, free: 127.8 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008247/1.224, allocations: 9.857 MB / 0.5956 GB, free: 118.2 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01406/1.238, allocations: 13.74 MB / 0.609 GB, free: 108.3 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003044/1.238, allocations: 45.47 kB / 0.6091 GB, free: 108.3 MB / 410.8 MB Notification: Performance of matching and sorting (n=1333) (initialization): time 0.03646/1.275, allocations: 13.18 MB / 0.6219 GB, free: 106.8 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/1.275, allocations: 82.16 kB / 0.622 GB, free: 106.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001916/1.275, allocations: 169.4 kB / 0.6222 GB, free: 106.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02146/1.296, allocations: 4.85 MB / 0.6269 GB, free: 105.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006848/1.303, allocations: 2.151 MB / 0.629 GB, free: 103.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02868/1.332, allocations: 13.08 MB / 0.6418 GB, free: 90.87 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/1.342, allocations: 0.7245 MB / 0.6425 GB, free: 90.17 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002129/1.344, allocations: 0.5312 MB / 0.643 GB, free: 89.64 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 778 * 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],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[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],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1176): * Single equations (assignments): 1171 * 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 {(3,129,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004558/1.349, allocations: 1.085 MB / 0.6441 GB, free: 88.65 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001957/1.351, allocations: 0.8103 MB / 0.6449 GB, free: 87.86 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02172/1.373, allocations: 7.724 MB / 0.6524 GB, free: 80.09 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.528e-05/1.373, allocations: 47.94 kB / 0.6525 GB, free: 80.04 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.198e-05/1.373, allocations: 24 kB / 0.6525 GB, free: 80.02 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-05/1.373, allocations: 15.94 kB / 0.6525 GB, free: 80 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04714/1.42, allocations: 20.08 MB / 0.6721 GB, free: 59.82 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.837e-05/1.42, allocations: 8 kB / 0.6721 GB, free: 59.81 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004333/1.424, allocations: 0.5858 MB / 0.6727 GB, free: 59.23 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03041/1.455, allocations: 4.536 MB / 0.6771 GB, free: 54.69 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00131/1.456, allocations: 83.98 kB / 0.6772 GB, free: 54.61 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02863/1.485, allocations: 10.94 MB / 0.6879 GB, free: 43.55 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/1.485, allocations: 11.94 kB / 0.6879 GB, free: 43.54 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02716/1.512, allocations: 10.08 MB / 0.6977 GB, free: 33.23 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005369/1.517, allocations: 1.476 MB / 0.6992 GB, free: 31.76 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002124/1.519, allocations: 81.91 kB / 0.6993 GB, free: 31.68 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005155/1.524, allocations: 427 kB / 0.6997 GB, free: 31.27 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001115/1.526, allocations: 323 kB / 0.7 GB, free: 30.95 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003433/1.526, allocations: 115.7 kB / 0.7001 GB, free: 30.84 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.005932/1.532, allocations: 3.662 MB / 0.7037 GB, free: 27.21 MB / 410.8 MB Notification: Performance of sort global known variables: time 2e-07/1.532, allocations: 0 / 0.7037 GB, free: 27.21 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01143/1.543, allocations: 2.732 MB / 0.7063 GB, free: 24.49 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (296): * Single equations (assignments): 292 * 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 {(3,116,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/1.544, allocations: 318.1 kB / 0.7066 GB, free: 24.19 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01479/1.559, allocations: 7.416 MB / 0.7139 GB, free: 16.77 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/1.559, allocations: 3.938 kB / 0.7139 GB, free: 16.76 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00502/1.564, allocations: 2.923 MB / 0.7167 GB, free: 13.81 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006225/1.57, allocations: 1.049 MB / 0.7178 GB, free: 12.81 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1775/1.748, allocations: 18.24 MB / 0.7356 GB, free: 105 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00991/1.758, allocations: 5.44 MB / 0.7409 GB, free: 104.5 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.006191/1.764, allocations: 2.449 MB / 0.7433 GB, free: 104.4 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/1.766, allocations: 437.8 kB / 0.7437 GB, free: 104.4 MB / 410.8 MB Notification: Performance of SimCode: time 1.503e-06/1.766, allocations: 0.7188 kB / 0.7437 GB, free: 104.4 MB / 410.8 MB Notification: Performance of Templates: time 0.1456/1.911, allocations: 109.3 MB / 0.8504 GB, free: 12.11 MB / 410.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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: 9.54985312500503]