Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009146/0.0009146, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 169.9 kB / 24.92 MB, free: 9.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9397/0.9397, allocations: 177.1 MB / 205.3 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 273.5 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.284e-05, allocations: 2.312 kB / 273.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.1401/0.1402, allocations: 19.24 MB / 292.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.1534, allocations: 6.358 MB / 299.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00389/0.1573, allocations: 204.5 kB / 299.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006642/0.164, allocations: 6.685 MB / 306 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006265/0.1702, allocations: 3.67 MB / 309.7 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.1727, allocations: 1.926 MB / 311.6 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01123/0.1839, allocations: 15.04 MB / 326.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007689/0.1916, allocations: 7.581 MB / 334.2 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009513/0.2011, allocations: 8.352 MB / 342.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006342/0.2075, allocations: 5.678 MB / 348.3 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001783/0.2092, allocations: 0.7812 MB / 349 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.2121, allocations: 1.744 MB / 350.8 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00385/0.216, allocations: 4.789 MB / 355.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003842/0.2198, allocations: 2.933 MB / 358.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00931/0.2291, allocations: 9.301 MB / 367.8 MB, free: 2.434 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2291, allocations: 0 / 367.8 MB, free: 2.434 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2291, allocations: 0 / 367.8 MB, free: 2.434 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002398/0.2294, allocations: 0 / 367.8 MB, free: 2.434 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.01118/0.2406, allocations: 9.378 MB / 377.2 MB, free: 8.977 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2406, allocations: 8.031 kB / 377.2 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006544/0.2471, allocations: 2.268 MB / 379.5 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007166/0.2543, allocations: 5.173 MB / 384.6 MB, free: 1.445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/0.2546, allocations: 450.6 kB / 385.1 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009481/0.2555, allocations: 0.6171 MB / 385.7 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.2664, allocations: 8.722 MB / 394.4 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001879/0.2666, allocations: 99.2 kB / 394.5 MB, free: 6.441 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004607/0.267, allocations: 283.8 kB / 394.8 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001961/0.269, allocations: 2.609 MB / 397.4 MB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0086/0.2776, allocations: 4.203 MB / 401.6 MB, free: 15.32 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.2442/0.5218, allocations: 52.09 MB / 453.7 MB, free: 76.59 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009222/0.531, allocations: 3.278 MB / 457 MB, free: 76.35 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.5327, allocations: 0.7591 MB / 457.7 MB, free: 76.32 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01198/0.5447, allocations: 6.802 MB / 464.5 MB, free: 75.64 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.5447, allocations: 62.97 kB / 464.6 MB, free: 75.61 MB / 378.8 MB Notification: Performance of pre-optimization done (n=260): time 5.811e-06/0.5447, allocations: 0 / 464.6 MB, free: 75.61 MB / 378.8 MB Notification: Performance of matching and sorting (n=316): time 0.04467/0.5894, allocations: 15.77 MB / 480.4 MB, free: 71.65 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/0.5895, allocations: 397.7 kB / 480.7 MB, free: 71.18 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00495/0.5944, allocations: 5.682 MB / 486.4 MB, free: 66.77 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000332/0.5948, allocations: 69.7 kB / 486.5 MB, free: 66.7 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.5965, allocations: 4.792 MB / 491.3 MB, free: 62.19 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009201/0.5974, allocations: 1.225 MB / 492.5 MB, free: 60.95 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001444/0.5988, allocations: 1.767 MB / 494.3 MB, free: 59.18 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.047e-05/0.5989, allocations: 304.6 kB / 494.6 MB, free: 58.88 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.6007, allocations: 1.175 MB / 495.8 MB, free: 57.7 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003002/0.6037, allocations: 6.326 MB / 0.4903 GB, free: 48.91 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005746/0.6095, allocations: 8.098 MB / 0.4982 GB, free: 38.88 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001323/0.6096, allocations: 52 kB / 0.4983 GB, free: 38.82 MB / 378.8 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.009835/0.6195, allocations: 6.693 MB / 0.5048 GB, free: 32.05 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.6195, allocations: 80.19 kB / 0.5049 GB, free: 31.97 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.6196, allocations: 180 kB / 0.5051 GB, free: 31.79 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003019/0.6226, allocations: 1.306 MB / 0.5063 GB, free: 30.47 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004327/0.627, allocations: 2.168 MB / 0.5084 GB, free: 28.3 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/0.6327, allocations: 5.626 MB / 0.5139 GB, free: 22.48 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006306/0.639, allocations: 383.8 kB / 0.5143 GB, free: 22.11 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/0.64, allocations: 448 kB / 0.5147 GB, free: 21.67 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * 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 (1132): * Single equations (assignments): 1125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,46,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00236/0.6424, allocations: 0.861 MB / 0.5156 GB, free: 20.8 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/0.6435, allocations: 435.5 kB / 0.516 GB, free: 20.38 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/0.6472, allocations: 2.309 MB / 0.5182 GB, free: 18 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/0.6472, allocations: 32 kB / 0.5183 GB, free: 17.97 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.6472, allocations: 8 kB / 0.5183 GB, free: 17.96 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/0.6472, allocations: 19.94 kB / 0.5183 GB, free: 17.95 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.6616, allocations: 9.435 MB / 0.5275 GB, free: 8.113 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.6616, allocations: 21 kB / 0.5275 GB, free: 8.094 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/0.6633, allocations: 0.8074 MB / 0.5283 GB, free: 7.285 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002671/0.6659, allocations: 1.077 MB / 0.5294 GB, free: 6.199 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/0.6661, allocations: 83.98 kB / 0.5295 GB, free: 6.117 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005271/0.6714, allocations: 5.145 MB / 0.5345 GB, free: 0.7812 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/0.6714, allocations: 35.88 kB / 0.5345 GB, free: 0.7461 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006706/0.6781, allocations: 4.053 MB / 0.5385 GB, free: 12.2 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/0.6801, allocations: 0.6362 MB / 0.5391 GB, free: 11.56 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009616/0.681, allocations: 79.97 kB / 0.5392 GB, free: 11.48 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/0.6831, allocations: 83.98 kB / 0.5393 GB, free: 11.4 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005354/0.6836, allocations: 285 kB / 0.5395 GB, free: 11.12 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/0.6838, allocations: 87.98 kB / 0.5396 GB, free: 11.04 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.003269/0.6871, allocations: 2.319 MB / 0.5419 GB, free: 8.738 MB / 394.8 MB Notification: Performance of sort global known variables: time 2e-07/0.6871, allocations: 0 / 0.5419 GB, free: 8.738 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.007988/0.6951, allocations: 2.082 MB / 0.5439 GB, free: 6.656 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (260): * Single equations (assignments): 253 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,42,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005861/0.6957, allocations: 243.6 kB / 0.5441 GB, free: 6.406 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.006513/0.7022, allocations: 4.188 MB / 0.5482 GB, free: 2.211 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002814/0.7025, allocations: 132.2 kB / 0.5484 GB, free: 2.066 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.7046, allocations: 1.341 MB / 0.5497 GB, free: 0.7109 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00553/0.7101, allocations: 1.355 MB / 0.551 GB, free: 15.39 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/0.7314, allocations: 14.69 MB / 0.5653 GB, free: 312 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003126/0.7345, allocations: 2.377 MB / 0.5677 GB, free: 13.89 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003032/0.7376, allocations: 0.8663 MB / 0.5685 GB, free: 13.02 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001984/0.7396, allocations: 1.058 MB / 0.5695 GB, free: 11.96 MB / 426.8 MB Notification: Performance of SimCode: time 1.994e-06/0.7396, allocations: 0 / 0.5695 GB, free: 11.96 MB / 426.8 MB Notification: Performance of Templates: time 0.1979/0.9374, allocations: 72.68 MB / 0.6405 GB, free: 105.9 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.712086584884673]