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.001398/0.001398, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001276/0.001276, allocations: 166 kB / 25.33 MB, free: 9.07 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 0.9367/0.9367, allocations: 158.6 MB / 187.2 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] 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.433e-06/1.433e-06, allocations: 0 / 251.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.496e-05, allocations: 2.312 kB / 251.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.01709/0.01711, allocations: 20.05 MB / 271.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.02729, allocations: 6.137 MB / 277.3 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.02933, allocations: 206.8 kB / 277.5 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00639/0.03572, allocations: 6.869 MB / 284.3 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005151/0.04087, allocations: 3.689 MB / 288 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.04302, allocations: 1.93 MB / 290 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.128/0.171, allocations: 13.55 MB / 303.5 MB, free: 20.4 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01168/0.1827, allocations: 8.123 MB / 311.6 MB, free: 20.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0153/0.198, allocations: 7.599 MB / 319.2 MB, free: 19.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008105/0.2061, allocations: 5.958 MB / 325.2 MB, free: 18.38 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002615/0.2087, allocations: 0.7865 MB / 326 MB, free: 18.38 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003965/0.2127, allocations: 1.706 MB / 327.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004656/0.2173, allocations: 4.844 MB / 332.5 MB, free: 16.33 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004929/0.2222, allocations: 2.962 MB / 335.5 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.2336, allocations: 9.399 MB / 344.9 MB, free: 7.879 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.2336, allocations: 3.984 kB / 344.9 MB, free: 7.875 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2336, allocations: 0 / 344.9 MB, free: 7.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0004883/0.2341, allocations: 0 / 344.9 MB, free: 7.875 MB / 282.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.01766/0.2518, allocations: 11.15 MB / 356 MB, free: 12.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.2518, allocations: 19.98 kB / 356.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02251/0.2743, allocations: 6.04 MB / 362.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.2856, allocations: 6.452 MB / 368.6 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/0.2859, allocations: 445.8 kB / 369 MB, free: 152 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001626/0.2875, allocations: 0.6092 MB / 369.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02105/0.3086, allocations: 10.72 MB / 380.3 MB, free: 3.648 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000306/0.3089, allocations: 92.28 kB / 380.4 MB, free: 3.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006473/0.3095, allocations: 288.5 kB / 380.7 MB, free: 3.363 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00234/0.3119, allocations: 2.762 MB / 383.5 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/0.3257, allocations: 5.428 MB / 388.9 MB, free: 11.5 MB / 330.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.3325/0.6582, allocations: 72.01 MB / 460.9 MB, free: 72.14 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009802/0.668, allocations: 3.682 MB / 464.6 MB, free: 71.95 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002189/0.6702, allocations: 1.093 MB / 465.7 MB, free: 71.9 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01333/0.6835, allocations: 7.601 MB / 473.3 MB, free: 70.91 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.15e-05/0.6836, allocations: 72.42 kB / 473.3 MB, free: 70.87 MB / 378.8 MB Notification: Performance of pre-optimization done (n=262): time 6.973e-06/0.6836, allocations: 3.438 kB / 473.3 MB, free: 70.87 MB / 378.8 MB Notification: Performance of matching and sorting (n=317): time 0.05704/0.7406, allocations: 24.59 MB / 497.9 MB, free: 62.79 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.7407, allocations: 397.5 kB / 498.3 MB, free: 62.32 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007528/0.7482, allocations: 6.437 MB / 0.4929 GB, free: 56.64 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006495/0.7489, allocations: 77.53 kB / 0.493 GB, free: 56.56 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002642/0.7515, allocations: 5.747 MB / 0.4986 GB, free: 51.41 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.7527, allocations: 1.276 MB / 0.4999 GB, free: 50.14 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001623/0.7543, allocations: 1.977 MB / 0.5018 GB, free: 48.15 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.556e-05/0.7543, allocations: 476.8 kB / 0.5022 GB, free: 47.68 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.756, allocations: 1.049 MB / 0.5033 GB, free: 46.63 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003365/0.7593, allocations: 8.733 MB / 0.5118 GB, free: 34.54 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006704/0.766, allocations: 10.49 MB / 0.522 GB, free: 21.38 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000132/0.7662, allocations: 52 kB / 0.5221 GB, free: 21.33 MB / 378.8 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01349/0.7797, allocations: 8.306 MB / 0.5302 GB, free: 12.98 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.538e-05/0.7797, allocations: 82.66 kB / 0.5303 GB, free: 12.9 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/0.7799, allocations: 180 kB / 0.5305 GB, free: 12.73 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002654/0.7825, allocations: 1.223 MB / 0.5316 GB, free: 11.5 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004055/0.7866, allocations: 2.133 MB / 0.5337 GB, free: 9.359 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005989/0.7926, allocations: 7.073 MB / 0.5406 GB, free: 2.043 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006441/0.799, allocations: 0.632 MB / 0.5413 GB, free: 1.41 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/0.8001, allocations: 0.502 MB / 0.5417 GB, free: 0.9102 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 794 * 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 (1133): * Single equations (assignments): 1128 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,46,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00273/0.8028, allocations: 0.8946 MB / 0.5426 GB, free: 0 / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/0.8046, allocations: 0.7263 MB / 0.5433 GB, free: 15.27 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004789/0.8094, allocations: 2.764 MB / 0.546 GB, free: 12.44 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.548e-05/0.8094, allocations: 38.36 kB / 0.5461 GB, free: 12.4 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/0.8095, allocations: 12 kB / 0.5461 GB, free: 12.39 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.8095, allocations: 11.95 kB / 0.5461 GB, free: 12.38 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/0.8304, allocations: 11.12 MB / 0.5569 GB, free: 0.8633 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.068e-05/0.8304, allocations: 24 kB / 0.557 GB, free: 0.8398 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/0.8317, allocations: 0.507 MB / 0.5575 GB, free: 340 kB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/0.8341, allocations: 0.944 MB / 0.5584 GB, free: 15.38 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/0.8343, allocations: 83.98 kB / 0.5585 GB, free: 15.3 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007681/0.842, allocations: 6.371 MB / 0.5647 GB, free: 8.68 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.75e-05/0.842, allocations: 35.81 kB / 0.5647 GB, free: 8.645 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007866/0.8499, allocations: 4.933 MB / 0.5695 GB, free: 3.152 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003046/0.8529, allocations: 1.042 MB / 0.5706 GB, free: 2.105 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/0.8544, allocations: 87.97 kB / 0.5706 GB, free: 2.02 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00245/0.8569, allocations: 295.6 kB / 0.5709 GB, free: 1.73 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005608/0.8574, allocations: 288.8 kB / 0.5712 GB, free: 1.449 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/0.8576, allocations: 112 kB / 0.5713 GB, free: 1.34 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.006039/0.8636, allocations: 3.022 MB / 0.5743 GB, free: 14.34 MB / 426.8 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8636, allocations: 0 / 0.5743 GB, free: 14.34 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.009844/0.8735, allocations: 2.108 MB / 0.5763 GB, free: 12.23 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 98 * 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 (265): * Single equations (assignments): 260 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,40,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007524/0.8742, allocations: 268.8 kB / 0.5766 GB, free: 11.96 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00804/0.8823, allocations: 4.887 MB / 0.5813 GB, free: 7.051 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.891e-05/0.8823, allocations: 5.875 kB / 0.5814 GB, free: 7.047 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.8843, allocations: 1.612 MB / 0.5829 GB, free: 5.402 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00494/0.8893, allocations: 1.008 MB / 0.5839 GB, free: 4.402 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03086/0.9201, allocations: 15.12 MB / 0.5987 GB, free: 4.75 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005755/0.9259, allocations: 2.405 MB / 0.601 GB, free: 2.316 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.005842/0.9317, allocations: 2.274 MB / 0.6032 GB, free: 36 kB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.128/1.06, allocations: 409.1 kB / 0.6036 GB, free: 168.3 MB / 442.8 MB Notification: Performance of SimCode: time 1.663e-06/1.06, allocations: 1.156 kB / 0.6036 GB, free: 168.3 MB / 442.8 MB Notification: Performance of Templates: time 0.09928/1.159, allocations: 68.64 MB / 0.6707 GB, free: 124.8 MB / 442.8 MB " [Timeout remaining time 659] 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","",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.214592067990452]