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.001396/0.001396, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001372/0.001372, allocations: 160.5 kB / 25.45 MB, free: 9.348 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.8747/0.8747, allocations: 158.6 MB / 187.2 MB, free: 3.055 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.352e-06/1.352e-06, allocations: 3.938 kB / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.1e-05, allocations: 2.281 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.01257/0.01259, allocations: 17.8 MB / 317.5 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.02346, allocations: 6.021 MB / 323.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.02551, allocations: 206.8 kB / 323.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005531/0.03104, allocations: 6.51 MB / 330.3 MB, free: 8.254 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004428/0.03547, allocations: 3.693 MB / 333.9 MB, free: 4.543 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.03738, allocations: 1.883 MB / 335.8 MB, free: 2.656 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009849/0.04723, allocations: 13.58 MB / 349.4 MB, free: 5.047 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1596/0.2069, allocations: 7.843 MB / 357.2 MB, free: 20.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008129/0.215, allocations: 5.83 MB / 363.1 MB, free: 20.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00594/0.2209, allocations: 5.86 MB / 368.9 MB, free: 20.81 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.222, allocations: 0.7793 MB / 369.7 MB, free: 20.81 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.2241, allocations: 1.701 MB / 371.4 MB, free: 20.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002529/0.2266, allocations: 4.798 MB / 376.2 MB, free: 20.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002241/0.2289, allocations: 2.941 MB / 379.2 MB, free: 19.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007608/0.2365, allocations: 14.62 MB / 393.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2365, allocations: 0 / 393.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2365, allocations: 3.25 kB / 393.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002566/0.2367, allocations: 4 kB / 393.8 MB, free: 11.24 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.0143/0.251, allocations: 10.5 MB / 404.3 MB, free: 2.133 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.2511, allocations: 11.98 kB / 404.3 MB, free: 2.121 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01996/0.2711, allocations: 5.564 MB / 409.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01397/0.285, allocations: 8.3 MB / 418.2 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005246/0.2855, allocations: 448.1 kB / 418.6 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001189/0.2867, allocations: 0.6102 MB / 419.2 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01969/0.3064, allocations: 17.46 MB / 436.7 MB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001744/0.3066, allocations: 105.2 kB / 436.8 MB, free: 1.129 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005062/0.3071, allocations: 283.7 kB / 437.1 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002829/0.3099, allocations: 2.857 MB / 439.9 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/0.3297, allocations: 14.02 MB / 453.9 MB, free: 344 kB / 378.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.06457/0.3943, allocations: 64.08 MB / 0.5059 GB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/0.4062, allocations: 7.045 MB / 0.5127 GB, free: 8.645 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004149/0.4104, allocations: 4.214 MB / 0.5169 GB, free: 4.422 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1701/0.5804, allocations: 11.1 MB / 0.5277 GB, free: 160.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.5805, allocations: 71.08 kB / 0.5278 GB, free: 160.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=293): time 5.15e-06/0.5805, allocations: 0 / 0.5278 GB, free: 160.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=365): time 0.07772/0.6582, allocations: 45.7 MB / 0.5724 GB, free: 135.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.6583, allocations: 402.3 kB / 0.5728 GB, free: 134.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006946/0.6652, allocations: 7.798 MB / 0.5804 GB, free: 127.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004682/0.6657, allocations: 85.64 kB / 0.5805 GB, free: 127.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.6672, allocations: 5.409 MB / 0.5858 GB, free: 121.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008285/0.6681, allocations: 1.396 MB / 0.5871 GB, free: 120.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001573/0.6696, allocations: 1.927 MB / 0.589 GB, free: 118.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 2.679e-05/0.6697, allocations: 305.1 kB / 0.5893 GB, free: 118.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003603/0.6733, allocations: 4.278 MB / 0.5935 GB, free: 113.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005438/0.6787, allocations: 9.428 MB / 0.6027 GB, free: 101.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/0.6889, allocations: 14.24 MB / 0.6166 GB, free: 85.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.719e-05/0.6889, allocations: 48 kB / 0.6166 GB, free: 85.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02109/0.71, allocations: 17.91 MB / 0.6341 GB, free: 67.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.599e-05/0.7101, allocations: 79.94 kB / 0.6342 GB, free: 67.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/0.7102, allocations: 168 kB / 0.6344 GB, free: 67.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00784/0.7181, allocations: 5.325 MB / 0.6396 GB, free: 61.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003541/0.7216, allocations: 2.008 MB / 0.6415 GB, free: 59.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02488/0.7465, allocations: 30.42 MB / 0.6712 GB, free: 29.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006536/0.753, allocations: 0.6944 MB / 0.6719 GB, free: 28.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007037/0.7537, allocations: 0.5117 MB / 0.6724 GB, free: 27.81 MB / 458.7 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.005143/0.7589, allocations: 3.622 MB / 0.676 GB, free: 24.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/0.76, allocations: 0.6558 MB / 0.6766 GB, free: 23.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2063/0.9664, allocations: 11.14 MB / 0.6875 GB, free: 143.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-05/0.9664, allocations: 37.91 kB / 0.6875 GB, free: 143.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.471e-05/0.9665, allocations: 20.72 kB / 0.6875 GB, free: 143.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-05/0.9665, allocations: 17.39 kB / 0.6875 GB, free: 143.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02842/0.995, allocations: 19.96 MB / 0.707 GB, free: 137.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/0.995, allocations: 7.844 kB / 0.707 GB, free: 137.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.996, allocations: 442.4 kB / 0.7075 GB, free: 137.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00754/1.004, allocations: 5.006 MB / 0.7124 GB, free: 136.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002994/1.004, allocations: 69.61 kB / 0.7124 GB, free: 136.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02402/1.028, allocations: 29.88 MB / 0.7416 GB, free: 114.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.028, allocations: 11.94 kB / 0.7416 GB, free: 114.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01739/1.045, allocations: 16.39 MB / 0.7576 GB, free: 98.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003115/1.048, allocations: 1.369 MB / 0.7589 GB, free: 97.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007041/1.049, allocations: 75.55 kB / 0.759 GB, free: 97.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/1.051, allocations: 397.1 kB / 0.7594 GB, free: 96.87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000622/1.052, allocations: 286.5 kB / 0.7597 GB, free: 96.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/1.052, allocations: 96 kB / 0.7598 GB, free: 96.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004567/1.057, allocations: 4.859 MB / 0.7645 GB, free: 91.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.057, allocations: 0 / 0.7645 GB, free: 91.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006829/1.063, allocations: 2.507 MB / 0.767 GB, free: 89.16 MB / 458.7 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.0006715/1.064, allocations: 239.1 kB / 0.7672 GB, free: 88.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009344/1.073, allocations: 10.38 MB / 0.7773 GB, free: 78.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.073, allocations: 0 / 0.7773 GB, free: 78.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003376/1.077, allocations: 4.159 MB / 0.7814 GB, free: 74.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003324/1.08, allocations: 0.9474 MB / 0.7823 GB, free: 73.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/1.101, allocations: 20.34 MB / 0.8022 GB, free: 53.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003952/1.105, allocations: 5.222 MB / 0.8073 GB, free: 47.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/1.107, allocations: 476.4 kB / 0.8077 GB, free: 47.45 MB / 458.7 MB Notification: Performance of SimCode: time 1.192e-06/1.107, allocations: 0 / 0.8077 GB, free: 47.45 MB / 458.7 MB Notification: Performance of Templates: time 0.4987/1.605, allocations: 218.1 MB / 1.021 GB, free: 163.3 MB / 490.7 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: 16.289124398492277]