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.001793/0.001793, allocations: 82.5 kB / 21.43 MB, free: 296 kB / 14.72 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.001561/0.001561, allocations: 160.8 kB / 24.7 MB, free: 3.551 MB / 14.72 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.406/1.406, allocations: 158.6 MB / 186.5 MB, free: 6.406 MB / 174.1 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.392e-06/1.392e-06, allocations: 0 / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.624e-05, allocations: 2.281 kB / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02156/0.02159, allocations: 17.8 MB / 316.8 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01475/0.03634, allocations: 6.024 MB / 322.8 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004793/0.04113, allocations: 198.9 kB / 323 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1881/0.2292, allocations: 6.514 MB / 329.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.2398, allocations: 3.682 MB / 333.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004363/0.2441, allocations: 1.906 MB / 335.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01698/0.2611, allocations: 13.56 MB / 348.6 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.2712, allocations: 7.853 MB / 356.5 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01328/0.2844, allocations: 5.836 MB / 362.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01121/0.2956, allocations: 5.856 MB / 368.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002942/0.2986, allocations: 0.7836 MB / 369 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005993/0.3046, allocations: 1.705 MB / 370.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00854/0.3131, allocations: 4.799 MB / 375.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007816/0.3209, allocations: 2.935 MB / 378.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02295/0.3439, allocations: 14.62 MB / 393 MB, free: 14.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.3439, allocations: 0 / 393 MB, free: 14.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3439, allocations: 0 / 393 MB, free: 14.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005508/0.3445, allocations: 4 kB / 393 MB, free: 14.86 MB / 350.1 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.03175/0.3762, allocations: 10.5 MB / 403.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.3763, allocations: 15.97 kB / 403.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05298/0.4292, allocations: 5.561 MB / 409.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02648/0.4557, allocations: 8.302 MB / 417.4 MB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006996/0.4564, allocations: 450.9 kB / 417.9 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004247/0.4607, allocations: 0.6115 MB / 418.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04507/0.5057, allocations: 17.46 MB / 435.9 MB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005171/0.5063, allocations: 97.19 kB / 436 MB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003776/0.51, allocations: 282.3 kB / 436.3 MB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00607/0.5161, allocations: 2.86 MB / 439.2 MB, free: 364 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03696/0.5531, allocations: 14.02 MB / 453.2 MB, free: 2.531 MB / 398.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.4889/1.042, allocations: 64.07 MB / 0.5051 GB, free: 95.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02021/1.062, allocations: 7.046 MB / 0.512 GB, free: 94.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005128/1.067, allocations: 4.199 MB / 0.5161 GB, free: 92.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02106/1.088, allocations: 11.12 MB / 0.527 GB, free: 87.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/1.088, allocations: 69.08 kB / 0.527 GB, free: 87.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=293): time 1.108e-05/1.088, allocations: 0.8125 kB / 0.527 GB, free: 87.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=365): time 0.157/1.245, allocations: 45.7 MB / 0.5717 GB, free: 49.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/1.246, allocations: 405.7 kB / 0.5721 GB, free: 48.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01463/1.26, allocations: 7.799 MB / 0.5797 GB, free: 40.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001227/1.261, allocations: 81.7 kB / 0.5798 GB, free: 40.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00398/1.265, allocations: 5.414 MB / 0.585 GB, free: 35.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002765/1.268, allocations: 1.394 MB / 0.5864 GB, free: 34.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008281/1.277, allocations: 1.927 MB / 0.5883 GB, free: 32.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.897e-05/1.277, allocations: 301.1 kB / 0.5886 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009023/1.286, allocations: 4.282 MB / 0.5928 GB, free: 28.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008748/1.294, allocations: 9.421 MB / 0.602 GB, free: 16.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01562/1.31, allocations: 14.25 MB / 0.6159 GB, free: 15.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000205/1.31, allocations: 48 kB / 0.6159 GB, free: 15.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.0465/1.357, allocations: 17.91 MB / 0.6334 GB, free: 13.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002888/1.357, allocations: 80 kB / 0.6335 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004176/1.357, allocations: 164 kB / 0.6336 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01856/1.376, allocations: 5.321 MB / 0.6388 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007778/1.384, allocations: 2.008 MB / 0.6408 GB, free: 6.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2284/1.612, allocations: 30.43 MB / 0.6705 GB, free: 137.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009429/1.622, allocations: 0.6922 MB / 0.6712 GB, free: 137.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001803/1.623, allocations: 0.5141 MB / 0.6717 GB, free: 137.2 MB / 462.1 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.006884/1.63, allocations: 3.622 MB / 0.6752 GB, free: 135.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002041/1.632, allocations: 0.6481 MB / 0.6759 GB, free: 135.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0237/1.656, allocations: 11.14 MB / 0.6867 GB, free: 132.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.555e-05/1.656, allocations: 38.91 kB / 0.6868 GB, free: 132.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-05/1.656, allocations: 22.88 kB / 0.6868 GB, free: 132.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001107/1.656, allocations: 26.38 kB / 0.6868 GB, free: 132.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05175/1.708, allocations: 19.95 MB / 0.7063 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.645e-05/1.708, allocations: 8 kB / 0.7063 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/1.71, allocations: 451.3 kB / 0.7067 GB, free: 115.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01512/1.726, allocations: 5.008 MB / 0.7116 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001041/1.727, allocations: 68 kB / 0.7117 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04202/1.769, allocations: 29.87 MB / 0.7409 GB, free: 80.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/1.769, allocations: 19.28 kB / 0.7409 GB, free: 80.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03251/1.801, allocations: 16.38 MB / 0.7569 GB, free: 64.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005075/1.806, allocations: 1.374 MB / 0.7582 GB, free: 62.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003293/1.81, allocations: 68 kB / 0.7583 GB, free: 62.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006944/1.816, allocations: 402.9 kB / 0.7587 GB, free: 62.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001898/1.818, allocations: 282.5 kB / 0.7589 GB, free: 62.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009519/1.819, allocations: 99.98 kB / 0.759 GB, free: 62.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.009658/1.829, allocations: 4.855 MB / 0.7638 GB, free: 57.31 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/1.829, allocations: 0 / 0.7638 GB, free: 57.31 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01473/1.844, allocations: 2.507 MB / 0.7662 GB, free: 54.81 MB / 462.1 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.001853/1.846, allocations: 243 kB / 0.7665 GB, free: 54.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0192/1.865, allocations: 10.39 MB / 0.7766 GB, free: 44.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.899e-05/1.865, allocations: 0 / 0.7766 GB, free: 44.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007212/1.872, allocations: 4.16 MB / 0.7807 GB, free: 40.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0113/1.883, allocations: 0.9373 MB / 0.7816 GB, free: 39.13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04538/1.929, allocations: 19.77 MB / 0.8009 GB, free: 19.28 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01242/1.941, allocations: 5.31 MB / 0.8061 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.008748/1.95, allocations: 2.713 MB / 0.8087 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002566/1.952, allocations: 416.4 kB / 0.8091 GB, free: 10.79 MB / 462.1 MB Notification: Performance of SimCode: time 1.453e-06/1.952, allocations: 0 / 0.8091 GB, free: 10.79 MB / 462.1 MB Notification: Performance of Templates: time 0.3547/2.307, allocations: 94.75 MB / 0.9016 GB, free: 76.81 MB / 462.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] 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: 9.41972690820694]