Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001398/0.001398, allocations: 91.5 kB / 21.19 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.001269/0.001269, 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 1.004/1.004, allocations: 177 MB / 204.8 MB, free: 5.613 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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.326e-05, allocations: 2.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.1409/0.1409, allocations: 18.85 MB / 291.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.1522, allocations: 5.91 MB / 297.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004059/0.1563, allocations: 197 kB / 297.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008004/0.1643, allocations: 6.296 MB / 304.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008371/0.1726, allocations: 3.527 MB / 307.7 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.1755, allocations: 1.817 MB / 309.5 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01248/0.188, allocations: 14.81 MB / 324.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009458/0.1975, allocations: 7.725 MB / 332.1 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01069/0.2082, allocations: 5.563 MB / 337.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00762/0.2158, allocations: 5.76 MB / 343.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002311/0.2181, allocations: 0.7461 MB / 344.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003834/0.2219, allocations: 1.662 MB / 345.8 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004458/0.2264, allocations: 4.586 MB / 350.4 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005454/0.2318, allocations: 2.805 MB / 353.2 MB, free: 1.195 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.2435, allocations: 8.935 MB / 362.1 MB, free: 8.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2435, allocations: 0 / 362.1 MB, free: 8.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2435, allocations: 0 / 362.1 MB, free: 8.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004457/0.244, allocations: 0 / 362.1 MB, free: 8.23 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.01638/0.2604, allocations: 10.61 MB / 372.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.2604, allocations: 11.98 kB / 372.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02985/0.2903, allocations: 6.203 MB / 379 MB, free: 7.297 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.3051, allocations: 6.954 MB / 385.9 MB, free: 276 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003466/0.3055, allocations: 423.5 kB / 386.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001364/0.3068, allocations: 0.582 MB / 386.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01692/0.3238, allocations: 10.32 MB / 397.2 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000277/0.324, allocations: 95.3 kB / 397.3 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000538/0.3246, allocations: 267.8 kB / 397.6 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002598/0.3272, allocations: 2.76 MB / 400.3 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/0.339, allocations: 5.407 MB / 405.7 MB, free: 10.92 MB / 362.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.2979/0.6368, allocations: 70.04 MB / 475.8 MB, free: 58.74 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.6471, allocations: 4.924 MB / 480.7 MB, free: 58.56 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/0.649, allocations: 1.399 MB / 482.1 MB, free: 58.5 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009455/0.6585, allocations: 7.395 MB / 489.5 MB, free: 56.01 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.6585, allocations: 71.14 kB / 489.6 MB, free: 55.95 MB / 378.8 MB Notification: Performance of pre-optimization done (n=280): time 5.04e-06/0.6586, allocations: 0 / 489.6 MB, free: 55.95 MB / 378.8 MB Notification: Performance of matching and sorting (n=339): time 0.0857/0.7443, allocations: 39.21 MB / 0.5164 GB, free: 24.11 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/0.7443, allocations: 398.1 kB / 0.5168 GB, free: 23.63 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006749/0.7511, allocations: 6.048 MB / 0.5227 GB, free: 17.79 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006559/0.7518, allocations: 77.7 kB / 0.5227 GB, free: 17.71 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00226/0.754, allocations: 5.448 MB / 0.5281 GB, free: 12.83 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001298/0.7553, allocations: 1.335 MB / 0.5294 GB, free: 11.51 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001721/0.757, allocations: 1.946 MB / 0.5313 GB, free: 9.555 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.7571, allocations: 476.8 kB / 0.5317 GB, free: 9.086 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.7592, allocations: 1.521 MB / 0.5332 GB, free: 7.559 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005533/0.7647, allocations: 8.683 MB / 0.5417 GB, free: 11.77 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/0.7759, allocations: 10.96 MB / 0.5524 GB, free: 14.06 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001422/0.7761, allocations: 50.73 kB / 0.5524 GB, free: 14.02 MB / 410.8 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.02406/0.8001, allocations: 12.29 MB / 0.5644 GB, free: 1.668 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.8003, allocations: 72 kB / 0.5645 GB, free: 1.598 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002285/0.8005, allocations: 160 kB / 0.5647 GB, free: 1.441 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01699/0.8175, allocations: 5.154 MB / 0.5697 GB, free: 12.27 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00585/0.8233, allocations: 1.926 MB / 0.5716 GB, free: 10.34 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1801/1.003, allocations: 14.43 MB / 0.5857 GB, free: 129.9 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006121/1.01, allocations: 0.6876 MB / 0.5863 GB, free: 129.9 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001219/1.011, allocations: 496.4 kB / 0.5868 GB, free: 129.9 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (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 (1048): * Single equations (assignments): 1042 * 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,93,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.002592/1.013, allocations: 0.8608 MB / 0.5877 GB, free: 129.8 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/1.015, allocations: 0.7151 MB / 0.5884 GB, free: 129.8 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/1.028, allocations: 7.311 MB / 0.5955 GB, free: 129.5 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.422e-05/1.028, allocations: 35.31 kB / 0.5955 GB, free: 129.5 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.129e-05/1.028, allocations: 22.53 kB / 0.5955 GB, free: 129.5 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/1.028, allocations: 22.53 kB / 0.5956 GB, free: 129.5 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02533/1.053, allocations: 16.88 MB / 0.6121 GB, free: 126.6 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/1.053, allocations: 6.906 kB / 0.6121 GB, free: 126.6 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/1.054, allocations: 422.8 kB / 0.6125 GB, free: 126.6 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01078/1.065, allocations: 4.801 MB / 0.6172 GB, free: 125.9 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003565/1.065, allocations: 67.3 kB / 0.6172 GB, free: 125.9 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/1.081, allocations: 13.63 MB / 0.6305 GB, free: 114.9 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.081, allocations: 14.81 kB / 0.6305 GB, free: 114.9 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/1.096, allocations: 9.03 MB / 0.6394 GB, free: 106.1 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/1.098, allocations: 0.6682 MB / 0.64 GB, free: 105.6 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000708/1.098, allocations: 73.48 kB / 0.6401 GB, free: 105.5 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/1.1, allocations: 403 kB / 0.6405 GB, free: 105.1 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006261/1.101, allocations: 252.4 kB / 0.6407 GB, free: 104.9 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/1.101, allocations: 88 kB / 0.6408 GB, free: 104.8 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003137/1.104, allocations: 2.833 MB / 0.6436 GB, free: 102 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.8e-07/1.104, allocations: 0 / 0.6436 GB, free: 102 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006276/1.111, allocations: 2.401 MB / 0.6459 GB, free: 99.6 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (214): * Single equations (assignments): 208 * 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,87,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.0005751/1.111, allocations: 228.8 kB / 0.6461 GB, free: 99.41 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.009229/1.12, allocations: 6.689 MB / 0.6527 GB, free: 92.89 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/1.12, allocations: 7.828 kB / 0.6527 GB, free: 92.89 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003781/1.124, allocations: 2.943 MB / 0.6555 GB, free: 89.88 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003888/1.128, allocations: 0.9391 MB / 0.6565 GB, free: 88.99 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/1.149, allocations: 15.57 MB / 0.6717 GB, free: 73.22 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002064/1.151, allocations: 2.343 MB / 0.6739 GB, free: 70.85 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003639/1.154, allocations: 2.156 MB / 0.6761 GB, free: 68.69 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009032/1.155, allocations: 384.4 kB / 0.6764 GB, free: 68.31 MB / 426.8 MB Notification: Performance of SimCode: time 1.653e-06/1.155, allocations: 4 kB / 0.6764 GB, free: 68.3 MB / 426.8 MB Notification: Performance of Templates: time 0.2466/1.402, allocations: 95.55 MB / 0.7697 GB, free: 118.7 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.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.974373281933367]