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.001935/0.001935, allocations: 106.1 kB / 19.8 MB, free: 2.5 MB / 14.72 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.002414/0.002414, allocations: 215.4 kB / 23 MB, free: 5.574 MB / 14.72 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.444/1.444, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.1 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.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 0.002554/0.002554, allocations: 67.88 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.271, allocations: 53.33 MB / 429.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.0216/0.2926, allocations: 19.46 MB / 449.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.3058, allocations: 6.033 MB / 455.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002893/0.3086, allocations: 155.5 kB / 455.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01098/0.3196, allocations: 5.915 MB / 461.4 MB, free: 7.875 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00835/0.328, allocations: 3.397 MB / 464.8 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003593/0.3316, allocations: 1.576 MB / 466.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01806/0.3496, allocations: 12.68 MB / 479 MB, free: 6.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007777/0.3574, allocations: 5.433 MB / 484.5 MB, free: 0.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006521/0.3639, allocations: 3.583 MB / 488.1 MB, free: 13.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008487/0.3724, allocations: 5.122 MB / 493.2 MB, free: 7.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003082/0.3755, allocations: 0.7109 MB / 493.9 MB, free: 7.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/0.3798, allocations: 1.705 MB / 495.6 MB, free: 5.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006383/0.3862, allocations: 4.321 MB / 499.9 MB, free: 1.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008852/0.3951, allocations: 4.448 MB / 0.4925 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02056/0.4156, allocations: 13.64 MB / 0.5059 GB, free: 15.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.4156, allocations: 0 / 0.5059 GB, free: 15.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4156, allocations: 0 / 0.5059 GB, free: 15.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000433/0.4161, allocations: 3.938 kB / 0.5059 GB, free: 15.02 MB / 430.1 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.02431/0.4404, allocations: 9.91 MB / 0.5155 GB, free: 5.004 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4404, allocations: 8.031 kB / 0.5156 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04291/0.4833, allocations: 5.285 MB / 0.5207 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02037/0.5037, allocations: 7.937 MB / 0.5285 GB, free: 7.699 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003898/0.5041, allocations: 423.4 kB / 0.5289 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001959/0.506, allocations: 0.5932 MB / 0.5295 GB, free: 6.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4278/0.9338, allocations: 16.55 MB / 0.5456 GB, free: 88.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002388/0.9341, allocations: 90.81 kB / 0.5457 GB, free: 88.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006371/0.9347, allocations: 267 kB / 0.546 GB, free: 88.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003602/0.9383, allocations: 2.764 MB / 0.5487 GB, free: 87.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02505/0.9634, allocations: 13.63 MB / 0.562 GB, free: 79.39 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.06585/1.029, allocations: 67.85 MB / 0.6282 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/1.046, allocations: 7.649 MB / 0.6357 GB, free: 2.754 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004713/1.051, allocations: 4.233 MB / 0.6398 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01961/1.07, allocations: 12.43 MB / 0.652 GB, free: 2.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.283e-05/1.07, allocations: 68.56 kB / 0.652 GB, free: 1.945 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 5.771e-06/1.07, allocations: 0 / 0.652 GB, free: 1.945 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.1807/1.251, allocations: 50.46 MB / 0.7013 GB, free: 15.92 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000229/1.251, allocations: 406 kB / 0.7017 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/1.262, allocations: 7.127 MB / 0.7087 GB, free: 8.43 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007685/1.263, allocations: 77.7 kB / 0.7087 GB, free: 8.348 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004204/1.267, allocations: 5.192 MB / 0.7138 GB, free: 3.297 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001814/1.269, allocations: 1.314 MB / 0.7151 GB, free: 1.973 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003038/1.272, allocations: 1.877 MB / 0.7169 GB, free: 84 kB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.272, allocations: 301.1 kB / 0.7172 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007362/1.279, allocations: 4.547 MB / 0.7217 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0116/1.291, allocations: 9.267 MB / 0.7307 GB, free: 15.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2454/1.536, allocations: 14.53 MB / 0.7449 GB, free: 179.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001704/1.536, allocations: 46.03 kB / 0.7449 GB, free: 179.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.03925/1.576, allocations: 19.7 MB / 0.7642 GB, free: 174.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.631e-05/1.576, allocations: 74.91 kB / 0.7642 GB, free: 174.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001441/1.576, allocations: 163 kB / 0.7644 GB, free: 174.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01892/1.595, allocations: 7.057 MB / 0.7713 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005596/1.6, allocations: 1.928 MB / 0.7732 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03951/1.64, allocations: 35.34 MB / 0.8077 GB, free: 142.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008142/1.648, allocations: 0.5903 MB / 0.8083 GB, free: 141.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001758/1.65, allocations: 500 kB / 0.8087 GB, free: 141.4 MB / 0.545 GB 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.009051/1.659, allocations: 3.46 MB / 0.8121 GB, free: 138.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002393/1.661, allocations: 0.6706 MB / 0.8128 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0309/1.692, allocations: 13.24 MB / 0.8257 GB, free: 124.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.403e-05/1.692, allocations: 32 kB / 0.8257 GB, free: 124.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.32e-05/1.692, allocations: 20 kB / 0.8258 GB, free: 124.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.407e-05/1.692, allocations: 19.94 kB / 0.8258 GB, free: 124.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05529/1.748, allocations: 26.5 MB / 0.8517 GB, free: 97.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.813e-05/1.748, allocations: 5.641 kB / 0.8517 GB, free: 97.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/1.75, allocations: 424.1 kB / 0.8521 GB, free: 97.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01794/1.767, allocations: 6.644 MB / 0.8586 GB, free: 90.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009095/1.768, allocations: 63.98 kB / 0.8586 GB, free: 90.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03673/1.805, allocations: 34 MB / 0.8918 GB, free: 56.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/1.805, allocations: 18.22 kB / 0.8918 GB, free: 56.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02982/1.835, allocations: 18.74 MB / 0.9101 GB, free: 37.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/1.837, allocations: 0.7205 MB / 0.9108 GB, free: 36.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/1.838, allocations: 63.98 kB / 0.9109 GB, free: 36.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003352/1.841, allocations: 307.5 kB / 0.9112 GB, free: 36.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/1.842, allocations: 242.7 kB / 0.9114 GB, free: 35.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002989/1.843, allocations: 91.27 kB / 0.9115 GB, free: 35.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005888/1.849, allocations: 4.551 MB / 0.916 GB, free: 31.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.849, allocations: 4 kB / 0.916 GB, free: 31.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009099/1.858, allocations: 2.118 MB / 0.918 GB, free: 29.22 MB / 0.545 GB 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.0007361/1.858, allocations: 214.5 kB / 0.9182 GB, free: 29.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01569/1.874, allocations: 11.1 MB / 0.9291 GB, free: 17.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/1.874, allocations: 0 / 0.9291 GB, free: 17.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007417/1.882, allocations: 4.672 MB / 0.9336 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005734/1.887, allocations: 0.9888 MB / 0.9346 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2453/2.133, allocations: 19.95 MB / 0.9541 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006028/2.139, allocations: 5.52 MB / 0.9595 GB, free: 186.9 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.00513/2.144, allocations: 2.6 MB / 0.962 GB, free: 186.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008986/2.145, allocations: 394.2 kB / 0.9624 GB, free: 186.8 MB / 0.5607 GB Notification: Performance of SimCode: time 1.242e-06/2.145, allocations: 0 / 0.9624 GB, free: 186.8 MB / 0.5607 GB Notification: Performance of Templates: time 0.1317/2.276, allocations: 94.22 MB / 1.054 GB, free: 109.9 MB / 0.5607 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.092703639529645]