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.00124/0.00124, allocations: 88.28 kB / 21.44 MB, free: 3.121 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.004985/0.004985, allocations: 153.8 kB / 24.69 MB, free: 9.441 MB / 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.8551/0.8551, allocations: 177 MB / 204.9 MB, free: 5.742 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,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.803e-06/1.803e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.72e-05, allocations: 3.266 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.01229/0.01232, allocations: 17.66 MB / 343.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.02266, allocations: 6.004 MB / 349.5 MB, free: 7.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004151/0.02681, allocations: 210.8 kB / 349.7 MB, free: 7.363 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007296/0.0341, allocations: 6.483 MB / 356.2 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006743/0.04085, allocations: 3.627 MB / 359.8 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002968/0.04381, allocations: 1.883 MB / 361.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01354/0.05735, allocations: 15.09 MB / 376.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008107/0.06546, allocations: 7.806 MB / 384.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01069/0.07614, allocations: 5.785 MB / 390.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007512/0.08366, allocations: 5.819 MB / 396.2 MB, free: 8.691 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00227/0.08593, allocations: 0.7773 MB / 397 MB, free: 7.914 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003468/0.08939, allocations: 1.697 MB / 398.7 MB, free: 6.215 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00431/0.0937, allocations: 4.746 MB / 403.4 MB, free: 1.457 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005299/0.099, allocations: 2.906 MB / 406.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0142/0.1132, allocations: 14.52 MB / 420.8 MB, free: 15.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.1132, allocations: 0 / 420.8 MB, free: 15.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1132, allocations: 3.938 kB / 420.8 MB, free: 15.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004288/0.1136, allocations: 0 / 420.8 MB, free: 15.97 MB / 394.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.02012/0.1338, allocations: 10.46 MB / 431.3 MB, free: 5.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1338, allocations: 11.98 kB / 431.3 MB, free: 5.422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0213/0.1551, allocations: 5.562 MB / 436.9 MB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/0.1695, allocations: 7.96 MB / 444.8 MB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/0.1698, allocations: 448 kB / 445.3 MB, free: 7.363 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002083/0.1719, allocations: 0.6093 MB / 445.9 MB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2862/0.4581, allocations: 17.45 MB / 463.3 MB, free: 101.4 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002707/0.4584, allocations: 104.8 kB / 463.4 MB, free: 101.4 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007443/0.4591, allocations: 278.1 kB / 463.7 MB, free: 101.3 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00217/0.4613, allocations: 2.862 MB / 466.6 MB, free: 100.5 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01755/0.4788, allocations: 14.01 MB / 480.6 MB, free: 87.84 MB / 410.8 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.05989/0.5387, allocations: 64.54 MB / 0.5323 GB, free: 22.94 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/0.5505, allocations: 7.791 MB / 0.54 GB, free: 15.15 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003761/0.5543, allocations: 4.364 MB / 0.5442 GB, free: 10.78 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.014/0.5683, allocations: 11.48 MB / 0.5554 GB, free: 15.45 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/0.5683, allocations: 68.5 kB / 0.5555 GB, free: 15.38 MB / 426.8 MB Notification: Performance of pre-optimization done (n=293): time 5.841e-06/0.5683, allocations: 0 / 0.5555 GB, free: 15.38 MB / 426.8 MB Notification: Performance of matching and sorting (n=359): time 0.1148/0.6831, allocations: 54.92 MB / 0.6091 GB, free: 9.004 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.6832, allocations: 402.2 kB / 0.6095 GB, free: 8.523 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008778/0.692, allocations: 7.459 MB / 0.6168 GB, free: 1.273 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000977/0.693, allocations: 81.7 kB / 0.6169 GB, free: 1.188 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.1776/0.8706, allocations: 5.375 MB / 0.6221 GB, free: 156 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001955/0.8725, allocations: 1.376 MB / 0.6235 GB, free: 155.2 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002644/0.8752, allocations: 1.904 MB / 0.6253 GB, free: 154.9 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.144e-05/0.8752, allocations: 305 kB / 0.6256 GB, free: 154.6 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004468/0.8797, allocations: 4.708 MB / 0.6302 GB, free: 152.9 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006951/0.8866, allocations: 9.762 MB / 0.6397 GB, free: 144.5 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/0.8989, allocations: 15.02 MB / 0.6544 GB, free: 133.8 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/0.8991, allocations: 46.88 kB / 0.6545 GB, free: 133.8 MB / 474.8 MB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.02744/0.9265, allocations: 20.36 MB / 0.6743 GB, free: 116.9 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-05/0.9266, allocations: 80.25 kB / 0.6744 GB, free: 116.8 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/0.9267, allocations: 165.9 kB / 0.6746 GB, free: 116.6 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0111/0.9378, allocations: 7.318 MB / 0.6817 GB, free: 109.3 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004099/0.9419, allocations: 2.004 MB / 0.6837 GB, free: 107.3 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0279/0.9698, allocations: 35.82 MB / 0.7187 GB, free: 71.16 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007056/0.9769, allocations: 0.7188 MB / 0.7194 GB, free: 70.45 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001471/0.9784, allocations: 0.4991 MB / 0.7198 GB, free: 69.95 MB / 474.8 MB 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 (1081): * Single equations (assignments): 1075 * 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,96,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.006078/0.9844, allocations: 3.596 MB / 0.7234 GB, free: 66.34 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001512/0.9859, allocations: 0.6364 MB / 0.724 GB, free: 65.7 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01597/1.002, allocations: 13.8 MB / 0.7375 GB, free: 51.83 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-05/1.002, allocations: 36 kB / 0.7375 GB, free: 51.8 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/1.002, allocations: 20 kB / 0.7375 GB, free: 51.78 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.387e-05/1.002, allocations: 23.88 kB / 0.7375 GB, free: 51.75 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03183/1.034, allocations: 25.46 MB / 0.7624 GB, free: 25.92 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-05/1.034, allocations: 4 kB / 0.7624 GB, free: 25.91 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/1.035, allocations: 468 kB / 0.7628 GB, free: 25.46 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01084/1.046, allocations: 6.964 MB / 0.7696 GB, free: 18.47 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006035/1.047, allocations: 64 kB / 0.7697 GB, free: 18.41 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2115/1.258, allocations: 34.65 MB / 0.8035 GB, free: 151.5 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.258, allocations: 11.69 kB / 0.8036 GB, free: 151.5 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02086/1.279, allocations: 19.58 MB / 0.8227 GB, free: 144.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002096/1.281, allocations: 0.7061 MB / 0.8234 GB, free: 144.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001308/1.283, allocations: 65.42 kB / 0.8234 GB, free: 144.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002571/1.285, allocations: 425.9 kB / 0.8238 GB, free: 144.7 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000747/1.286, allocations: 265.1 kB / 0.8241 GB, free: 144.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/1.286, allocations: 97.39 kB / 0.8242 GB, free: 144.7 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005595/1.292, allocations: 4.617 MB / 0.8287 GB, free: 142.9 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.91e-07/1.292, allocations: 0 / 0.8287 GB, free: 142.9 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0082/1.3, allocations: 2.489 MB / 0.8311 GB, free: 140.4 MB / 490.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,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.0008438/1.301, allocations: 233.9 kB / 0.8313 GB, free: 140.2 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01308/1.314, allocations: 11.52 MB / 0.8426 GB, free: 130.2 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.314, allocations: 0 / 0.8426 GB, free: 130.2 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005207/1.319, allocations: 4.907 MB / 0.8474 GB, free: 125.4 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00453/1.324, allocations: 0.9232 MB / 0.8483 GB, free: 124.5 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02575/1.349, allocations: 21.36 MB / 0.8691 GB, free: 103.1 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004644/1.354, allocations: 5.19 MB / 0.8742 GB, free: 97.9 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/1.356, allocations: 464.2 kB / 0.8747 GB, free: 97.45 MB / 490.8 MB Notification: Performance of SimCode: time 1.613e-06/1.356, allocations: 0 / 0.8747 GB, free: 97.45 MB / 490.8 MB Notification: Performance of Templates: time 0.3302/1.686, allocations: 218.4 MB / 1.088 GB, free: 51.24 MB / 490.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: 14.034038722515106]