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.002117/0.002117, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001738/0.001738, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.491/1.491, allocations: 230.3 MB / 258 MB, free: 8.234 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.001943/0.001943, allocations: 63.89 kB / 378.8 MB, free: 2.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2301, allocations: 53.36 MB / 432.2 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02185/0.252, allocations: 19.47 MB / 451.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.2649, allocations: 6.046 MB / 457.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003478/0.2684, allocations: 186.9 kB / 457.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0117/0.2801, allocations: 5.934 MB / 463.8 MB, free: 7.277 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009237/0.2894, allocations: 3.405 MB / 467.2 MB, free: 3.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.2931, allocations: 1.568 MB / 468.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01972/0.3129, allocations: 12.72 MB / 481.5 MB, free: 5.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008462/0.3213, allocations: 5.436 MB / 486.9 MB, free: 28 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00712/0.3285, allocations: 3.626 MB / 490.6 MB, free: 12.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008417/0.3369, allocations: 5.122 MB / 495.7 MB, free: 7.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002733/0.3396, allocations: 0.7148 MB / 496.4 MB, free: 6.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005047/0.3447, allocations: 1.713 MB / 498.1 MB, free: 4.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006034/0.3507, allocations: 4.309 MB / 0.4906 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00793/0.3586, allocations: 4.448 MB / 0.495 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01816/0.3768, allocations: 13.66 MB / 0.5083 GB, free: 14.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3768, allocations: 0 / 0.5083 GB, free: 14.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3768, allocations: 0 / 0.5083 GB, free: 14.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004143/0.3772, allocations: 0 / 0.5083 GB, free: 14.32 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.4015, allocations: 9.831 MB / 0.5179 GB, free: 4.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4015, allocations: 12.02 kB / 0.5179 GB, free: 4.398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0495/0.4511, allocations: 5.285 MB / 0.5231 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02049/0.4715, allocations: 7.822 MB / 0.5307 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004454/0.472, allocations: 427.4 kB / 0.5311 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002529/0.4745, allocations: 0.5894 MB / 0.5317 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4352/0.9097, allocations: 16.55 MB / 0.5479 GB, free: 87.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002855/0.91, allocations: 98.05 kB / 0.548 GB, free: 87.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008785/0.9109, allocations: 269.1 kB / 0.5482 GB, free: 87.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003824/0.9147, allocations: 2.762 MB / 0.5509 GB, free: 87.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02526/0.9399, allocations: 13.62 MB / 0.5642 GB, free: 78.47 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.07068/1.011, allocations: 67.9 MB / 0.6305 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01804/1.029, allocations: 7.216 MB / 0.6376 GB, free: 2.332 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005342/1.034, allocations: 4.245 MB / 0.6417 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02428/1.058, allocations: 11.74 MB / 0.6532 GB, free: 2.445 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/1.058, allocations: 66.33 kB / 0.6533 GB, free: 2.375 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 4.709e-06/1.058, allocations: 3.938 kB / 0.6533 GB, free: 2.371 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.2007/1.259, allocations: 50.33 MB / 0.7024 GB, free: 0.5156 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002723/1.259, allocations: 398.1 kB / 0.7028 GB, free: 40 kB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01314/1.272, allocations: 7.134 MB / 0.7098 GB, free: 9.027 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001132/1.274, allocations: 73.7 kB / 0.7098 GB, free: 8.949 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004508/1.278, allocations: 5.195 MB / 0.7149 GB, free: 3.891 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002073/1.28, allocations: 1.314 MB / 0.7162 GB, free: 2.566 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003126/1.283, allocations: 1.877 MB / 0.718 GB, free: 0.6758 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.283, allocations: 301.1 kB / 0.7183 GB, free: 388 kB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007308/1.291, allocations: 4.543 MB / 0.7227 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01194/1.303, allocations: 9.267 MB / 0.7318 GB, free: 272 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2559/1.559, allocations: 14.53 MB / 0.746 GB, free: 179.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002216/1.559, allocations: 45.72 kB / 0.746 GB, free: 179.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.04636/1.605, allocations: 19.71 MB / 0.7653 GB, free: 174.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001609/1.605, allocations: 75.31 kB / 0.7653 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002858/1.606, allocations: 165.1 kB / 0.7655 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03204/1.638, allocations: 7.049 MB / 0.7724 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009881/1.648, allocations: 1.925 MB / 0.7743 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05266/1.7, allocations: 35.02 MB / 0.8085 GB, free: 143.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008336/1.709, allocations: 0.5886 MB / 0.809 GB, free: 142.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001498/1.71, allocations: 500 kB / 0.8095 GB, free: 142 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.0053/1.715, allocations: 3.478 MB / 0.8129 GB, free: 138.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/1.717, allocations: 0.6629 MB / 0.8136 GB, free: 138.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02611/1.743, allocations: 13.24 MB / 0.8265 GB, free: 125.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.762e-05/1.743, allocations: 36 kB / 0.8265 GB, free: 125.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.518e-05/1.743, allocations: 20 kB / 0.8265 GB, free: 125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.189e-05/1.743, allocations: 15.94 kB / 0.8266 GB, free: 125 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04566/1.789, allocations: 26.47 MB / 0.8524 GB, free: 98.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-05/1.789, allocations: 12.03 kB / 0.8524 GB, free: 98.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/1.791, allocations: 415.3 kB / 0.8528 GB, free: 97.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01943/1.81, allocations: 6.644 MB / 0.8593 GB, free: 91.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007572/1.811, allocations: 60 kB / 0.8594 GB, free: 91.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03866/1.85, allocations: 33.69 MB / 0.8923 GB, free: 57.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.85, allocations: 8 kB / 0.8923 GB, free: 57.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03229/1.882, allocations: 18.74 MB / 0.9106 GB, free: 38.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002152/1.884, allocations: 0.6493 MB / 0.9112 GB, free: 37.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001763/1.886, allocations: 68.05 kB / 0.9113 GB, free: 37.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004098/1.89, allocations: 307.5 kB / 0.9116 GB, free: 37.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009092/1.891, allocations: 258.4 kB / 0.9118 GB, free: 37.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002917/1.891, allocations: 88 kB / 0.9119 GB, free: 36.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00591/1.897, allocations: 4.551 MB / 0.9163 GB, free: 32.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/1.897, allocations: 2.078 kB / 0.9163 GB, free: 32.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008444/1.905, allocations: 2.119 MB / 0.9184 GB, free: 30.34 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.0006282/1.906, allocations: 213.4 kB / 0.9186 GB, free: 30.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01585/1.922, allocations: 11.11 MB / 0.9295 GB, free: 18.99 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.922, allocations: 0 / 0.9295 GB, free: 18.99 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008103/1.93, allocations: 4.661 MB / 0.934 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009044/1.939, allocations: 0.9912 MB / 0.935 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2721/2.211, allocations: 19.96 MB / 0.9545 GB, free: 188 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007387/2.219, allocations: 5.524 MB / 0.9599 GB, free: 187.1 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005717/2.224, allocations: 2.603 MB / 0.9624 GB, free: 187 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000937/2.225, allocations: 390.8 kB / 0.9628 GB, free: 187 MB / 0.5607 GB Notification: Performance of SimCode: time 1.272e-06/2.225, allocations: 0 / 0.9628 GB, free: 187 MB / 0.5607 GB Notification: Performance of Templates: time 0.1457/2.371, allocations: 97.59 MB / 1.058 GB, free: 107.6 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.416552658192813]