Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.001322/0.001322, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001574/0.001574, allocations: 196.4 kB / 23.71 MB, free: 4.406 MB / 14.72 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.423/1.423, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002841/0.002841, allocations: 47.92 kB / 370.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.264, allocations: 52.19 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.0219/0.2859, allocations: 17.72 MB / 440.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01439/0.3003, allocations: 5.993 MB / 446.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003652/0.3039, allocations: 210.8 kB / 447 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01344/0.3174, allocations: 6.184 MB / 453.2 MB, free: 268 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.3275, allocations: 3.552 MB / 456.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004496/0.332, allocations: 1.669 MB / 458.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01882/0.3508, allocations: 12.7 MB / 471.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008947/0.3597, allocations: 6.259 MB / 477.4 MB, free: 7.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007443/0.3672, allocations: 3.836 MB / 481.2 MB, free: 4.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008731/0.3759, allocations: 5.051 MB / 486.3 MB, free: 15.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002365/0.3783, allocations: 0.75 MB / 487 MB, free: 14.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004154/0.3824, allocations: 1.612 MB / 488.6 MB, free: 12.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005688/0.3881, allocations: 4.519 MB / 493.2 MB, free: 8.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007067/0.3952, allocations: 3.57 MB / 496.7 MB, free: 4.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01858/0.4138, allocations: 14.31 MB / 0.4991 GB, free: 6.199 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4138, allocations: 4 kB / 0.4991 GB, free: 6.195 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4138, allocations: 0 / 0.4991 GB, free: 6.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004043/0.4142, allocations: 0 / 0.4991 GB, free: 6.195 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.02547/0.4396, allocations: 10.22 MB / 0.509 GB, free: 11.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4397, allocations: 16.02 kB / 0.5091 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04734/0.487, allocations: 5.331 MB / 0.5143 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02212/0.5091, allocations: 8.187 MB / 0.5223 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004417/0.5096, allocations: 448 kB / 0.5227 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002136/0.5117, allocations: 0.6167 MB / 0.5233 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4018/0.9135, allocations: 17.44 MB / 0.5403 GB, free: 97.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003981/0.9139, allocations: 99.48 kB / 0.5404 GB, free: 96.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009606/0.9149, allocations: 281.3 kB / 0.5407 GB, free: 96.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004061/0.919, allocations: 2.854 MB / 0.5435 GB, free: 96.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02514/0.9441, allocations: 14 MB / 0.5571 GB, free: 89.33 MB / 446.1 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.06983/1.014, allocations: 63.2 MB / 0.6188 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01858/1.033, allocations: 7.541 MB / 0.6262 GB, free: 18.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004757/1.037, allocations: 4.364 MB / 0.6305 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01815/1.055, allocations: 11.04 MB / 0.6413 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/1.055, allocations: 72.48 kB / 0.6413 GB, free: 2.816 MB / 446.1 MB Notification: Performance of pre-optimization done (n=294): time 6.853e-06/1.055, allocations: 7.844 kB / 0.6413 GB, free: 2.812 MB / 446.1 MB Notification: Performance of matching and sorting (n=360): time 0.2286/1.284, allocations: 52.86 MB / 0.693 GB, free: 14.5 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000243/1.284, allocations: 406.2 kB / 0.6933 GB, free: 14.01 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01225/1.297, allocations: 6.954 MB / 0.7001 GB, free: 7.27 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0008377/1.297, allocations: 81.69 kB / 0.7002 GB, free: 7.184 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004989/1.302, allocations: 5.423 MB / 0.7055 GB, free: 1.867 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002136/1.305, allocations: 1.399 MB / 0.7069 GB, free: 468 kB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004537/1.309, allocations: 1.921 MB / 0.7087 GB, free: 14.52 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.309, allocations: 305.1 kB / 0.709 GB, free: 14.22 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007763/1.317, allocations: 4.719 MB / 0.7136 GB, free: 9.496 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01238/1.329, allocations: 9.768 MB / 0.7232 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.253/1.582, allocations: 15 MB / 0.7378 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001772/1.583, allocations: 47.23 kB / 0.7379 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.04241/1.625, allocations: 20.36 MB / 0.7578 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/1.625, allocations: 73.19 kB / 0.7578 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002133/1.625, allocations: 169.5 kB / 0.758 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02076/1.646, allocations: 7.3 MB / 0.7651 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006482/1.653, allocations: 2 MB / 0.7671 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04233/1.695, allocations: 35.81 MB / 0.8021 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00857/1.703, allocations: 0.6091 MB / 0.8026 GB, free: 126.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001904/1.705, allocations: 0.4994 MB / 0.8031 GB, free: 126.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * 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 (1082): * Single equations (assignments): 1076 * 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,97,55.1%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.006924/1.712, allocations: 3.599 MB / 0.8066 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001796/1.714, allocations: 0.6367 MB / 0.8073 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02632/1.74, allocations: 13.82 MB / 0.8208 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.168e-05/1.74, allocations: 40 kB / 0.8208 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.484e-05/1.74, allocations: 23.94 kB / 0.8208 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.124e-05/1.741, allocations: 15.94 kB / 0.8208 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05419/1.795, allocations: 25.22 MB / 0.8455 GB, free: 83.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.013e-05/1.795, allocations: 8 kB / 0.8455 GB, free: 83.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002277/1.797, allocations: 463.3 kB / 0.8459 GB, free: 82.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02024/1.817, allocations: 6.958 MB / 0.8527 GB, free: 75.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008722/1.818, allocations: 64 kB / 0.8528 GB, free: 75.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05832/1.876, allocations: 34.63 MB / 0.8866 GB, free: 40.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/1.877, allocations: 11.94 kB / 0.8866 GB, free: 40.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04563/1.922, allocations: 19.6 MB / 0.9057 GB, free: 21.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004566/1.927, allocations: 1.33 MB / 0.907 GB, free: 19.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001961/1.929, allocations: 67.27 kB / 0.9071 GB, free: 19.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004649/1.933, allocations: 319.6 kB / 0.9074 GB, free: 19.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001122/1.934, allocations: 270.6 kB / 0.9077 GB, free: 19.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004634/1.935, allocations: 99.98 kB / 0.9078 GB, free: 19.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007876/1.943, allocations: 4.225 MB / 0.9119 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/1.943, allocations: 0 / 0.9119 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009716/1.952, allocations: 2.214 MB / 0.9141 GB, free: 12.76 MB / 0.5294 GB 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 (232): * Single equations (assignments): 226 * 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,90,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.001059/1.954, allocations: 215.8 kB / 0.9143 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01737/1.971, allocations: 11.49 MB / 0.9255 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.971, allocations: 4 kB / 0.9255 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009639/1.981, allocations: 4.921 MB / 0.9303 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007193/1.988, allocations: 0.9146 MB / 0.9312 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2767/2.264, allocations: 20.72 MB / 0.9514 GB, free: 181.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007642/2.272, allocations: 5.268 MB / 0.9566 GB, free: 181.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006193/2.278, allocations: 2.637 MB / 0.9591 GB, free: 181.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/2.28, allocations: 383.8 kB / 0.9595 GB, free: 181 MB / 0.545 GB Notification: Performance of SimCode: time 1.303e-06/2.28, allocations: 3.719 kB / 0.9595 GB, free: 181 MB / 0.545 GB Notification: Performance of Templates: time 0.1461/2.426, allocations: 104.3 MB / 1.061 GB, free: 83.42 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.684216784313321]