Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00242/0.00242, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002639/0.002639, allocations: 161.6 kB / 25.02 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5062,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5062,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 250.4 MB, free: 7.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.103e-05, allocations: 2.312 kB / 250.4 MB, free: 7.797 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02654/0.02658, allocations: 19.94 MB / 270.3 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01577/0.04235, allocations: 6.134 MB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004108/0.04646, allocations: 206.8 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01476/0.06122, allocations: 6.838 MB / 283.5 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.07175, allocations: 3.689 MB / 287.2 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004792/0.07654, allocations: 1.926 MB / 289.1 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02146/0.098, allocations: 13.56 MB / 302.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01307/0.1111, allocations: 8.122 MB / 310.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01354/0.1246, allocations: 5.855 MB / 316.7 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01194/0.1366, allocations: 5.994 MB / 322.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002727/0.1393, allocations: 0.7812 MB / 323.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004853/0.1441, allocations: 1.701 MB / 325.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007357/0.1515, allocations: 4.836 MB / 330 MB, free: 7.918 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007114/0.1586, allocations: 2.957 MB / 332.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02256/0.1812, allocations: 14.66 MB / 347.6 MB, free: 6.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.1812, allocations: 0 / 347.6 MB, free: 6.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1812, allocations: 0 / 347.6 MB, free: 6.242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005007/0.1817, allocations: 0 / 347.6 MB, free: 6.242 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.2465/0.4282, allocations: 11.89 MB / 359.5 MB, free: 96.62 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4282, allocations: 19.08 kB / 359.5 MB, free: 96.61 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04761/0.4758, allocations: 6.262 MB / 365.8 MB, free: 90.48 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01819/0.494, allocations: 7.473 MB / 373.2 MB, free: 83.53 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.4943, allocations: 458.2 kB / 373.7 MB, free: 83.13 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001976/0.4963, allocations: 0.6063 MB / 374.3 MB, free: 82.57 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02603/0.5223, allocations: 11.39 MB / 385.7 MB, free: 69.86 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002955/0.5226, allocations: 87.3 kB / 385.8 MB, free: 69.77 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008881/0.5235, allocations: 285.1 kB / 386.1 MB, free: 69.54 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003651/0.5271, allocations: 2.858 MB / 388.9 MB, free: 66.69 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.5451, allocations: 5.933 MB / 394.8 MB, free: 60.76 MB / 330.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.08702/0.6322, allocations: 78.54 MB / 473.4 MB, free: 12.51 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01669/0.6489, allocations: 4.236 MB / 477.6 MB, free: 8.23 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003176/0.652, allocations: 1.429 MB / 479.1 MB, free: 6.785 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01914/0.6712, allocations: 7.602 MB / 486.7 MB, free: 15.23 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.422e-05/0.6712, allocations: 71.33 kB / 486.7 MB, free: 15.16 MB / 378.8 MB Notification: Performance of pre-optimization done (n=293): time 6.252e-06/0.6713, allocations: 0 / 486.7 MB, free: 15.16 MB / 378.8 MB Notification: Performance of matching and sorting (n=365): time 0.2699/0.9411, allocations: 33.85 MB / 0.5084 GB, free: 120.1 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.9412, allocations: 405.2 kB / 0.5088 GB, free: 119.6 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/0.9514, allocations: 8.101 MB / 0.5167 GB, free: 118.2 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009503/0.9523, allocations: 87.42 kB / 0.5168 GB, free: 118.2 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003547/0.9559, allocations: 6.059 MB / 0.5227 GB, free: 114.2 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001854/0.9577, allocations: 1.538 MB / 0.5242 GB, free: 112.7 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003018/0.9607, allocations: 2.425 MB / 0.5265 GB, free: 110.3 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 6.3e-05/0.9608, allocations: 476.8 kB / 0.527 GB, free: 109.8 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00288/0.9637, allocations: 1.533 MB / 0.5285 GB, free: 108.3 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005308/0.969, allocations: 9.279 MB / 0.5376 GB, free: 95.68 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/0.9797, allocations: 12.51 MB / 0.5498 GB, free: 80.04 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001546/0.9799, allocations: 52 kB / 0.5498 GB, free: 79.98 MB / 378.8 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02784/1.008, allocations: 11.5 MB / 0.5611 GB, free: 68.44 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.571e-05/1.008, allocations: 82.97 kB / 0.5611 GB, free: 68.36 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000128/1.008, allocations: 164 kB / 0.5613 GB, free: 68.2 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01648/1.024, allocations: 3.821 MB / 0.565 GB, free: 64.37 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006639/1.031, allocations: 2.004 MB / 0.567 GB, free: 62.36 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02559/1.057, allocations: 14.38 MB / 0.581 GB, free: 47.64 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00891/1.066, allocations: 0.6905 MB / 0.5817 GB, free: 46.95 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001625/1.067, allocations: 0.5143 MB / 0.5822 GB, free: 46.43 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 762 * 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],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[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],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1102): * Single equations (assignments): 1096 * 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 {(6,100,72.2%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.004/1.071, allocations: 1.026 MB / 0.5832 GB, free: 45.4 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002049/1.073, allocations: 0.765 MB / 0.5839 GB, free: 44.64 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01717/1.09, allocations: 6.133 MB / 0.5899 GB, free: 38.43 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.172e-05/1.09, allocations: 40 kB / 0.59 GB, free: 38.39 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.344e-05/1.09, allocations: 23.98 kB / 0.59 GB, free: 38.37 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-05/1.091, allocations: 19.94 kB / 0.59 GB, free: 38.35 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0389/1.129, allocations: 16.13 MB / 0.6058 GB, free: 22.08 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-05/1.129, allocations: 8.969 kB / 0.6058 GB, free: 22.07 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002244/1.132, allocations: 451.3 kB / 0.6062 GB, free: 21.63 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01616/1.148, allocations: 3.506 MB / 0.6096 GB, free: 18.11 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007929/1.149, allocations: 68 kB / 0.6097 GB, free: 18.04 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02428/1.173, allocations: 13.93 MB / 0.6233 GB, free: 3.762 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/1.173, allocations: 15.22 kB / 0.6233 GB, free: 3.75 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1803/1.353, allocations: 8.122 MB / 0.6312 GB, free: 99.83 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005112/1.358, allocations: 1.28 MB / 0.6325 GB, free: 99.83 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001974/1.36, allocations: 74.94 kB / 0.6326 GB, free: 99.83 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00513/1.366, allocations: 393 kB / 0.6329 GB, free: 99.83 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/1.367, allocations: 285.8 kB / 0.6332 GB, free: 99.82 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003274/1.367, allocations: 98.47 kB / 0.6333 GB, free: 99.82 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.006144/1.373, allocations: 3.567 MB / 0.6368 GB, free: 99.56 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.1e-07/1.373, allocations: 0 / 0.6368 GB, free: 99.56 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0101/1.383, allocations: 2.503 MB / 0.6392 GB, free: 99.56 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (241): * Single equations (assignments): 235 * 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 {(5,96,72.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009354/1.384, allocations: 246.2 kB / 0.6395 GB, free: 99.48 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.01238/1.396, allocations: 6.839 MB / 0.6461 GB, free: 98.22 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/1.396, allocations: 7.469 kB / 0.6462 GB, free: 98.22 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0048/1.401, allocations: 2.768 MB / 0.6489 GB, free: 97.49 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007247/1.409, allocations: 0.9902 MB / 0.6498 GB, free: 97.41 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03031/1.439, allocations: 15.98 MB / 0.6654 GB, free: 85.88 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00641/1.445, allocations: 4.859 MB / 0.6702 GB, free: 82.42 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.005268/1.451, allocations: 2.302 MB / 0.6724 GB, free: 80.18 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/1.452, allocations: 415.6 kB / 0.6728 GB, free: 79.79 MB / 378.8 MB Notification: Performance of SimCode: time 1.453e-06/1.452, allocations: 0 / 0.6728 GB, free: 79.79 MB / 378.8 MB Notification: Performance of Templates: time 0.1437/1.596, allocations: 95.48 MB / 0.7661 GB, free: 0.9805 MB / 394.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.956156436935998]