Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009878/0.0009878, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009325/0.0009325, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 0.9158/0.9158, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.818e-05, allocations: 2.312 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1469/0.1469, allocations: 22.71 MB / 295.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.1603, allocations: 6.976 MB / 302.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004232/0.1646, allocations: 216 kB / 302.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01056/0.1751, allocations: 8.571 MB / 311.5 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007728/0.1828, allocations: 3.782 MB / 315.3 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00337/0.1862, allocations: 2.312 MB / 317.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0149/0.2011, allocations: 15.72 MB / 333.3 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01038/0.2115, allocations: 9.767 MB / 343.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01342/0.2249, allocations: 9.527 MB / 352.6 MB, free: 1.844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007996/0.2329, allocations: 6.7 MB / 359.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002817/0.2357, allocations: 1.035 MB / 360.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.2395, allocations: 2.138 MB / 362.5 MB, free: 7.949 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004426/0.2439, allocations: 5.475 MB / 367.9 MB, free: 2.461 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005304/0.2492, allocations: 3.472 MB / 371.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.261, allocations: 10.68 MB / 382.1 MB, free: 4.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.261, allocations: 4 kB / 382.1 MB, free: 4.262 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.261, allocations: 3.938 kB / 382.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004745/0.2614, allocations: 0 / 382.1 MB, free: 4.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: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.01814/0.2796, allocations: 12.31 MB / 394.4 MB, free: 7.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2796, allocations: 12.03 kB / 394.4 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02201/0.3016, allocations: 6.23 MB / 400.7 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03512/0.3368, allocations: 7.049 MB / 407.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003549/0.3371, allocations: 0.5218 MB / 408.2 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.3382, allocations: 0.7267 MB / 409 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03872/0.377, allocations: 12.04 MB / 421 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001985/0.3772, allocations: 83.36 kB / 421.1 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000529/0.3777, allocations: 327.8 kB / 421.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002485/0.3802, allocations: 2.79 MB / 424.2 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/0.3931, allocations: 6.341 MB / 430.5 MB, free: 2.082 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.2609/0.654, allocations: 74.75 MB / 0.4934 GB, free: 52.57 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009808/0.6638, allocations: 4.567 MB / 0.4979 GB, free: 49.01 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/0.6656, allocations: 1.281 MB / 0.4991 GB, free: 47.72 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01285/0.6785, allocations: 10.14 MB / 0.509 GB, free: 37.85 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.6785, allocations: 71.39 kB / 0.5091 GB, free: 37.77 MB / 378.8 MB Notification: Performance of pre-optimization done (n=298): time 5.631e-06/0.6785, allocations: 0 / 0.5091 GB, free: 37.77 MB / 378.8 MB Notification: Performance of matching and sorting (n=406): time 0.09684/0.7754, allocations: 51.15 MB / 0.5591 GB, free: 3.316 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001806/0.7756, allocations: 410.5 kB / 0.5595 GB, free: 2.828 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007834/0.7834, allocations: 6.505 MB / 0.5658 GB, free: 12.54 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007465/0.7841, allocations: 93.7 kB / 0.5659 GB, free: 12.45 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003609/0.7878, allocations: 6.079 MB / 0.5718 GB, free: 6.84 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001693/0.7894, allocations: 1.582 MB / 0.5734 GB, free: 5.277 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002237/0.7917, allocations: 2.119 MB / 0.5755 GB, free: 3.145 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.7918, allocations: 476.8 kB / 0.5759 GB, free: 2.676 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/0.7944, allocations: 1.527 MB / 0.5774 GB, free: 1.145 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1479/0.9422, allocations: 9.118 MB / 0.5863 GB, free: 119.5 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/0.9531, allocations: 11.4 MB / 0.5974 GB, free: 110.1 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002223/0.9534, allocations: 48.12 kB / 0.5975 GB, free: 110.1 MB / 410.8 MB Notification: Performance of matching and sorting (n=1303) (initialization): time 0.02117/0.9745, allocations: 11.27 MB / 0.6085 GB, free: 108.6 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.306e-05/0.9746, allocations: 88.78 kB / 0.6086 GB, free: 108.6 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/0.9747, allocations: 167.8 kB / 0.6087 GB, free: 108.6 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006961/0.9817, allocations: 3.056 MB / 0.6117 GB, free: 108.6 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004935/0.9866, allocations: 2.333 MB / 0.614 GB, free: 108.4 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/0.9989, allocations: 8.829 MB / 0.6226 GB, free: 104.6 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006076/1.005, allocations: 0.8044 MB / 0.6234 GB, free: 104.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/1.006, allocations: 0.5268 MB / 0.6239 GB, free: 103.7 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 777 * 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 (1193): * Single equations (assignments): 1188 * 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,84,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002606/1.009, allocations: 0.9232 MB / 0.6248 GB, free: 103.2 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001296/1.01, allocations: 0.7952 MB / 0.6256 GB, free: 102.8 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009055/1.019, allocations: 5.724 MB / 0.6312 GB, free: 98.93 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.987e-05/1.019, allocations: 44.34 kB / 0.6312 GB, free: 98.89 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.019, allocations: 16 kB / 0.6312 GB, free: 98.88 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/1.019, allocations: 23.92 kB / 0.6313 GB, free: 98.86 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02389/1.043, allocations: 16.32 MB / 0.6472 GB, free: 82.47 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/1.043, allocations: 16 kB / 0.6472 GB, free: 82.45 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/1.045, allocations: 0.7839 MB / 0.648 GB, free: 81.67 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006436/1.051, allocations: 2.718 MB / 0.6506 GB, free: 78.95 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003506/1.052, allocations: 87.98 kB / 0.6507 GB, free: 78.86 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/1.062, allocations: 7.956 MB / 0.6585 GB, free: 70.95 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/1.062, allocations: 23.88 kB / 0.6585 GB, free: 70.93 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/1.074, allocations: 7.743 MB / 0.6661 GB, free: 63.12 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/1.076, allocations: 0.7252 MB / 0.6668 GB, free: 62.4 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009446/1.077, allocations: 83.98 kB / 0.6669 GB, free: 62.32 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/1.079, allocations: 449.8 kB / 0.6673 GB, free: 61.88 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000631/1.08, allocations: 310.1 kB / 0.6676 GB, free: 61.57 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/1.08, allocations: 116 kB / 0.6677 GB, free: 61.46 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003392/1.083, allocations: 3.025 MB / 0.6707 GB, free: 58.46 MB / 410.8 MB Notification: Performance of sort global known variables: time 3.8e-07/1.083, allocations: 0 / 0.6707 GB, free: 58.46 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.007703/1.091, allocations: 2.567 MB / 0.6732 GB, free: 55.9 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (317): * Single equations (assignments): 313 * 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,73,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008163/1.092, allocations: 310 kB / 0.6735 GB, free: 55.61 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.009011/1.101, allocations: 5.932 MB / 0.6792 GB, free: 49.68 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/1.101, allocations: 4 kB / 0.6792 GB, free: 49.67 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003003/1.104, allocations: 2.183 MB / 0.6814 GB, free: 47.47 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004226/1.108, allocations: 1.034 MB / 0.6824 GB, free: 46.47 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/1.13, allocations: 17.06 MB / 0.6991 GB, free: 29.04 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002608/1.132, allocations: 2.724 MB / 0.7017 GB, free: 26.29 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004349/1.137, allocations: 2.455 MB / 0.7041 GB, free: 23.82 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/1.138, allocations: 436.4 kB / 0.7045 GB, free: 23.4 MB / 410.8 MB Notification: Performance of SimCode: time 2.455e-06/1.138, allocations: 0 / 0.7045 GB, free: 23.4 MB / 410.8 MB Notification: Performance of Templates: time 0.2293/1.367, allocations: 99.58 MB / 0.8018 GB, free: 62.07 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.593024815898389]