Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9414/0.9414, allocations: 177 MB / 204.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 273 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.284e-05, allocations: 5.266 kB / 273 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1408/0.1409, allocations: 22.71 MB / 295.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.1538, allocations: 6.974 MB / 302.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003677/0.1575, allocations: 212.4 kB / 302.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007745/0.1653, allocations: 8.574 MB / 311.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00622/0.1715, allocations: 3.786 MB / 315.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.1742, allocations: 2.301 MB / 317.5 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01467/0.1889, allocations: 15.72 MB / 333.2 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01177/0.2007, allocations: 9.775 MB / 343 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01545/0.2161, allocations: 9.519 MB / 352.5 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009578/0.2257, allocations: 6.704 MB / 359.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002639/0.2283, allocations: 1.039 MB / 360.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/0.2325, allocations: 2.131 MB / 362.4 MB, free: 8.008 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004997/0.2375, allocations: 5.483 MB / 367.9 MB, free: 2.512 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005521/0.243, allocations: 3.464 MB / 371.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.2544, allocations: 10.68 MB / 382 MB, free: 4.324 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2544, allocations: 4 kB / 382 MB, free: 4.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2544, allocations: 0 / 382 MB, free: 4.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004165/0.2548, allocations: 0 / 382 MB, free: 4.32 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.01965/0.2745, allocations: 12.31 MB / 394.3 MB, free: 7.902 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.2745, allocations: 15.97 kB / 394.4 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02286/0.2974, allocations: 6.234 MB / 400.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.3086, allocations: 7.046 MB / 407.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/0.3089, allocations: 0.5256 MB / 408.2 MB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/0.3105, allocations: 0.7189 MB / 408.9 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01843/0.3289, allocations: 12.05 MB / 420.9 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002471/0.3292, allocations: 83.36 kB / 421 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007011/0.3299, allocations: 323.8 kB / 421.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00232/0.3322, allocations: 2.782 MB / 424.1 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.3466, allocations: 6.345 MB / 430.5 MB, free: 2.141 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.2806/0.6272, allocations: 74.77 MB / 0.4934 GB, free: 52.66 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.6375, allocations: 4.547 MB / 0.4978 GB, free: 49.04 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/0.6397, allocations: 1.281 MB / 0.4991 GB, free: 47.75 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01553/0.6552, allocations: 10.15 MB / 0.509 GB, free: 37.88 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.6552, allocations: 71.38 kB / 0.5091 GB, free: 37.8 MB / 378.8 MB Notification: Performance of pre-optimization done (n=298): time 6.592e-06/0.6553, allocations: 0 / 0.5091 GB, free: 37.8 MB / 378.8 MB Notification: Performance of matching and sorting (n=406): time 0.09994/0.7552, allocations: 51.15 MB / 0.559 GB, free: 3.324 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.7553, allocations: 410.6 kB / 0.5594 GB, free: 2.836 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009095/0.7644, allocations: 6.499 MB / 0.5657 GB, free: 12.55 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009052/0.7653, allocations: 91.81 kB / 0.5658 GB, free: 12.46 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004282/0.7696, allocations: 6.084 MB / 0.5718 GB, free: 6.867 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001985/0.7716, allocations: 1.581 MB / 0.5733 GB, free: 5.305 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002976/0.7746, allocations: 2.115 MB / 0.5754 GB, free: 3.176 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.7747, allocations: 476.8 kB / 0.5758 GB, free: 2.707 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/0.778, allocations: 1.53 MB / 0.5773 GB, free: 1.172 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1399/0.9179, allocations: 9.123 MB / 0.5862 GB, free: 119.5 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.9282, allocations: 11.4 MB / 0.5974 GB, free: 110.1 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/0.9284, allocations: 48.91 kB / 0.5974 GB, free: 110.1 MB / 410.8 MB Notification: Performance of matching and sorting (n=1303) (initialization): time 0.01842/0.9468, allocations: 11.27 MB / 0.6084 GB, free: 108.6 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.221e-05/0.9469, allocations: 78.03 kB / 0.6085 GB, free: 108.6 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/0.947, allocations: 169.2 kB / 0.6087 GB, free: 108.6 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007309/0.9543, allocations: 3.073 MB / 0.6117 GB, free: 108.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004926/0.9593, allocations: 2.316 MB / 0.6139 GB, free: 108.4 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.9714, allocations: 8.838 MB / 0.6226 GB, free: 104.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005281/0.9767, allocations: 0.8075 MB / 0.6233 GB, free: 104.1 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007529/0.9774, allocations: 0.5187 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.002248/0.9797, allocations: 0.926 MB / 0.6248 GB, free: 103.1 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/0.9807, allocations: 0.7985 MB / 0.6255 GB, free: 102.8 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009106/0.9898, allocations: 5.724 MB / 0.6311 GB, free: 98.89 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/0.9898, allocations: 40 kB / 0.6312 GB, free: 98.85 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.9898, allocations: 16 kB / 0.6312 GB, free: 98.83 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.998e-05/0.9899, allocations: 23.92 kB / 0.6312 GB, free: 98.81 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0252/1.015, allocations: 16.31 MB / 0.6471 GB, free: 82.43 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/1.015, allocations: 22.05 kB / 0.6472 GB, free: 82.41 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/1.017, allocations: 0.7878 MB / 0.6479 GB, free: 81.62 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006607/1.024, allocations: 2.712 MB / 0.6506 GB, free: 78.9 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000396/1.024, allocations: 83.98 kB / 0.6507 GB, free: 78.82 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/1.035, allocations: 7.958 MB / 0.6584 GB, free: 70.9 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.035, allocations: 27.92 kB / 0.6584 GB, free: 70.88 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01221/1.047, allocations: 7.737 MB / 0.666 GB, free: 63.08 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/1.049, allocations: 0.7307 MB / 0.6667 GB, free: 62.35 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007061/1.05, allocations: 81.03 kB / 0.6668 GB, free: 62.27 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/1.052, allocations: 451 kB / 0.6672 GB, free: 61.84 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006061/1.052, allocations: 306.1 kB / 0.6675 GB, free: 61.53 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/1.053, allocations: 119.9 kB / 0.6676 GB, free: 61.42 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003469/1.056, allocations: 3.029 MB / 0.6706 GB, free: 58.41 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.01e-07/1.056, allocations: 0 / 0.6706 GB, free: 58.41 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.007521/1.064, allocations: 2.565 MB / 0.6731 GB, free: 55.86 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.0007108/1.064, allocations: 310.7 kB / 0.6734 GB, free: 55.57 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.008044/1.072, allocations: 5.937 MB / 0.6792 GB, free: 49.62 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.072, allocations: 4 kB / 0.6792 GB, free: 49.62 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002742/1.075, allocations: 2.167 MB / 0.6813 GB, free: 47.43 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00407/1.079, allocations: 1.051 MB / 0.6823 GB, free: 46.43 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02233/1.102, allocations: 17.05 MB / 0.699 GB, free: 29.01 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002339/1.104, allocations: 2.72 MB / 0.7016 GB, free: 26.26 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004109/1.108, allocations: 2.445 MB / 0.704 GB, free: 23.81 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/1.109, allocations: 440.4 kB / 0.7045 GB, free: 23.38 MB / 410.8 MB Notification: Performance of SimCode: time 2.615e-06/1.109, allocations: 0 / 0.7045 GB, free: 23.38 MB / 410.8 MB Notification: Performance of Templates: time 0.2308/1.34, allocations: 99.58 MB / 0.8017 GB, free: 61.88 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.606064510066062]