Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.001483/0.001483, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.001492/0.001492, allocations: 156.9 kB / 24.26 MB, free: 148 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 1.449/1.449, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 272.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.793e-05, allocations: 2.312 kB / 272.2 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02394/0.02396, allocations: 17.66 MB / 289.9 MB, free: 4 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.128/0.1519, allocations: 5.984 MB / 295.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00334/0.1553, allocations: 201.2 kB / 296.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.1662, allocations: 6.599 MB / 302.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00837/0.1745, allocations: 3.623 MB / 306.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003558/0.1781, allocations: 1.921 MB / 308.2 MB, free: 8.414 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01579/0.1939, allocations: 15.1 MB / 323.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01308/0.207, allocations: 8.062 MB / 331.4 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01286/0.2198, allocations: 5.777 MB / 337.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01069/0.2305, allocations: 5.858 MB / 343 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002441/0.2329, allocations: 0.793 MB / 343.8 MB, free: 9.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005064/0.238, allocations: 1.705 MB / 345.5 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008168/0.2462, allocations: 4.765 MB / 350.3 MB, free: 2.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006984/0.2532, allocations: 2.933 MB / 353.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0222/0.2754, allocations: 14.66 MB / 367.9 MB, free: 1.168 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2754, allocations: 0 / 367.9 MB, free: 1.168 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2754, allocations: 0 / 367.9 MB, free: 1.168 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004592/0.2758, allocations: 0 / 367.9 MB, free: 1.168 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.03092/0.3067, allocations: 10.57 MB / 378.4 MB, free: 6.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.3068, allocations: 15.98 kB / 378.5 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04778/0.3546, allocations: 6.308 MB / 384.8 MB, free: 188 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02308/0.3777, allocations: 7.945 MB / 392.7 MB, free: 8.168 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005795/0.3782, allocations: 449.5 kB / 393.1 MB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002319/0.3806, allocations: 0.6211 MB / 393.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03736/0.4179, allocations: 17.76 MB / 411.5 MB, free: 4.223 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003534/0.4183, allocations: 107.2 kB / 411.6 MB, free: 4.117 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001168/0.4194, allocations: 279.8 kB / 411.9 MB, free: 3.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005483/0.4249, allocations: 2.882 MB / 414.8 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03324/0.4582, allocations: 14.31 MB / 429.1 MB, free: 2.637 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.2867/0.7449, allocations: 65.38 MB / 494.5 MB, free: 65.77 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01839/0.7632, allocations: 7.483 MB / 0.4902 GB, free: 58.27 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004662/0.7679, allocations: 4.503 MB / 0.4946 GB, free: 53.77 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01763/0.7855, allocations: 11.88 MB / 0.5062 GB, free: 42.04 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.7856, allocations: 76.44 kB / 0.5063 GB, free: 41.96 MB / 378.8 MB Notification: Performance of pre-optimization done (n=297): time 6.341e-06/0.7856, allocations: 0 / 0.5063 GB, free: 41.96 MB / 378.8 MB Notification: Performance of matching and sorting (n=364): time 0.4153/1.201, allocations: 85 MB / 0.5893 GB, free: 138.9 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/1.201, allocations: 396.6 kB / 0.5896 GB, free: 138.5 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009126/1.21, allocations: 7.386 MB / 0.5969 GB, free: 136.3 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001039/1.211, allocations: 82.39 kB / 0.5969 GB, free: 136.2 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002443/1.214, allocations: 5.339 MB / 0.6022 GB, free: 133.3 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001532/1.215, allocations: 1.387 MB / 0.6035 GB, free: 132.1 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002601/1.218, allocations: 1.901 MB / 0.6054 GB, free: 131 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.645e-05/1.218, allocations: 301.1 kB / 0.6056 GB, free: 130.8 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006171/1.224, allocations: 5.599 MB / 0.6111 GB, free: 127.9 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00771/1.232, allocations: 10.56 MB / 0.6214 GB, free: 118.3 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/1.247, allocations: 16.68 MB / 0.6377 GB, free: 99.5 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/1.247, allocations: 52 kB / 0.6378 GB, free: 99.45 MB / 410.8 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.04632/1.293, allocations: 25.36 MB / 0.6625 GB, free: 74.03 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/1.293, allocations: 80.03 kB / 0.6626 GB, free: 73.95 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001843/1.294, allocations: 163.9 kB / 0.6628 GB, free: 73.79 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03263/1.326, allocations: 11.84 MB / 0.6743 GB, free: 61.94 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006224/1.332, allocations: 2.047 MB / 0.6763 GB, free: 59.89 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0518/1.384, allocations: 44.59 MB / 0.7199 GB, free: 15.01 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009103/1.393, allocations: 0.8464 MB / 0.7207 GB, free: 14.16 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/1.395, allocations: 0.4961 MB / 0.7212 GB, free: 13.66 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 731 * Number of states: 0 () * Number of discrete variables: 72 (rod3.color[3],rod3.color[2],rod3.color[1],rod1.color[3],rod1.color[2],rod1.color[1],cylinder.boxColor[3],cylinder.boxColor[2],cylinder.boxColor[1],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.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 (1063): * Single equations (assignments): 1057 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,101,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.1559/1.551, allocations: 3.58 MB / 0.7247 GB, free: 126.8 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002658/1.553, allocations: 0.7392 MB / 0.7254 GB, free: 126.8 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03963/1.593, allocations: 18.67 MB / 0.7436 GB, free: 123.1 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.662e-05/1.593, allocations: 42.38 kB / 0.7437 GB, free: 123.1 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.297e-05/1.593, allocations: 24.88 kB / 0.7437 GB, free: 123.1 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.939e-05/1.593, allocations: 17.98 kB / 0.7437 GB, free: 123.1 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05617/1.649, allocations: 32.23 MB / 0.7752 GB, free: 97.88 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.786e-05/1.649, allocations: 4 kB / 0.7752 GB, free: 97.87 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002476/1.652, allocations: 0.5343 MB / 0.7757 GB, free: 97.34 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03184/1.684, allocations: 11.48 MB / 0.7869 GB, free: 85.96 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000877/1.685, allocations: 64.88 kB / 0.787 GB, free: 85.9 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04858/1.733, allocations: 43.49 MB / 0.8295 GB, free: 42.41 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.733, allocations: 15.88 kB / 0.8295 GB, free: 42.39 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04253/1.776, allocations: 25.91 MB / 0.8548 GB, free: 16.66 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/1.778, allocations: 0.6988 MB / 0.8555 GB, free: 16.05 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001608/1.779, allocations: 67.94 kB / 0.8555 GB, free: 15.98 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004842/1.784, allocations: 0.5615 MB / 0.8561 GB, free: 15.43 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001461/1.785, allocations: 270.6 kB / 0.8563 GB, free: 15.16 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003866/1.786, allocations: 99.98 kB / 0.8564 GB, free: 15.06 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.005968/1.792, allocations: 4.578 MB / 0.8609 GB, free: 10.5 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/1.792, allocations: 0 / 0.8609 GB, free: 10.5 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01072/1.803, allocations: 2.656 MB / 0.8635 GB, free: 7.855 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (231): * Single equations (assignments): 225 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,95,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/1.804, allocations: 230.9 kB / 0.8637 GB, free: 7.633 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.1351/1.939, allocations: 13.38 MB / 0.8768 GB, free: 121.9 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/1.939, allocations: 1.719 kB / 0.8768 GB, free: 121.9 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009579/1.948, allocations: 5.926 MB / 0.8826 GB, free: 120.6 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005902/1.954, allocations: 0.9798 MB / 0.8835 GB, free: 120.3 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02702/1.981, allocations: 21.01 MB / 0.904 GB, free: 111.4 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005476/1.987, allocations: 5.272 MB / 0.9092 GB, free: 108.3 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005481/1.992, allocations: 2.658 MB / 0.9118 GB, free: 106.6 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/1.994, allocations: 391.3 kB / 0.9122 GB, free: 106.3 MB / 410.8 MB Notification: Performance of SimCode: time 1.413e-06/1.994, allocations: 8 kB / 0.9122 GB, free: 106.3 MB / 410.8 MB Notification: Performance of Templates: time 0.2893/2.283, allocations: 116 MB / 1.025 GB, free: 113.7 MB / 410.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.53890403197147]