Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 188.2 kB / 23.72 MB, free: 4.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 51.92 kB / 371 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2301, allocations: 52.19 MB / 423.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02209/0.2522, allocations: 19.54 MB / 442.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.2653, allocations: 6.014 MB / 448.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002936/0.2682, allocations: 186.9 kB / 448.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01143/0.2797, allocations: 5.957 MB / 454.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009015/0.2887, allocations: 3.436 MB / 458.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003599/0.2923, allocations: 1.576 MB / 459.9 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01816/0.3104, allocations: 12.41 MB / 472.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00791/0.3183, allocations: 5.442 MB / 477.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006106/0.3245, allocations: 3.642 MB / 481.3 MB, free: 4.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007743/0.3322, allocations: 5.122 MB / 486.5 MB, free: 15.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001987/0.3342, allocations: 0.7148 MB / 487.2 MB, free: 14.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004161/0.3383, allocations: 1.725 MB / 488.9 MB, free: 12.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005426/0.3438, allocations: 4.348 MB / 493.3 MB, free: 8.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00688/0.3506, allocations: 4.472 MB / 497.7 MB, free: 3.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01757/0.3682, allocations: 13.71 MB / 0.4994 GB, free: 6.062 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3682, allocations: 0 / 0.4994 GB, free: 6.062 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3682, allocations: 0 / 0.4994 GB, free: 6.062 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003017/0.3685, allocations: 0 / 0.4994 GB, free: 6.062 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.02395/0.3925, allocations: 9.846 MB / 0.5091 GB, free: 12.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3925, allocations: 12.03 kB / 0.5091 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04841/0.4409, allocations: 5.289 MB / 0.5142 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02087/0.4618, allocations: 7.974 MB / 0.522 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004859/0.4623, allocations: 435.4 kB / 0.5224 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002646/0.4649, allocations: 0.5816 MB / 0.523 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4172/0.8821, allocations: 16.55 MB / 0.5392 GB, free: 95.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004648/0.8826, allocations: 96.75 kB / 0.5393 GB, free: 95.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00128/0.8839, allocations: 271.4 kB / 0.5395 GB, free: 95.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0044/0.8883, allocations: 2.767 MB / 0.5422 GB, free: 95.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0269/0.9152, allocations: 13.63 MB / 0.5555 GB, free: 89.7 MB / 446.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.06955/0.9847, allocations: 67.89 MB / 0.6218 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/1.003, allocations: 7.224 MB / 0.6289 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004445/1.008, allocations: 4.248 MB / 0.633 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01594/1.024, allocations: 11.74 MB / 0.6445 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.199e-05/1.024, allocations: 60.56 kB / 0.6446 GB, free: 15.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 4.97e-06/1.024, allocations: 4.938 kB / 0.6446 GB, free: 15.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.1951/1.219, allocations: 50.33 MB / 0.6937 GB, free: 13.37 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002587/1.219, allocations: 394.1 kB / 0.6941 GB, free: 12.89 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01181/1.231, allocations: 7.132 MB / 0.7011 GB, free: 5.887 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0008054/1.232, allocations: 77.7 kB / 0.7011 GB, free: 5.805 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004189/1.236, allocations: 5.199 MB / 0.7062 GB, free: 0.75 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001923/1.238, allocations: 1.322 MB / 0.7075 GB, free: 15.41 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002959/1.241, allocations: 1.874 MB / 0.7093 GB, free: 13.53 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.241, allocations: 301.1 kB / 0.7096 GB, free: 13.23 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007123/1.248, allocations: 4.543 MB / 0.7141 GB, free: 8.68 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/1.26, allocations: 9.267 MB / 0.7231 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2442/1.504, allocations: 14.53 MB / 0.7373 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002023/1.504, allocations: 46.75 kB / 0.7373 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.04014/1.544, allocations: 19.72 MB / 0.7566 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.605e-05/1.544, allocations: 72.91 kB / 0.7567 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001519/1.545, allocations: 159 kB / 0.7568 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02077/1.565, allocations: 7.062 MB / 0.7637 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00635/1.572, allocations: 1.924 MB / 0.7656 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04214/1.614, allocations: 35.02 MB / 0.7998 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008239/1.622, allocations: 0.5794 MB / 0.8003 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001507/1.624, allocations: 500 kB / 0.8008 GB, free: 129.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (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 (1048): * Single equations (assignments): 1042 * 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 {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00628/1.63, allocations: 3.473 MB / 0.8042 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001459/1.631, allocations: 0.6684 MB / 0.8049 GB, free: 126 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02617/1.658, allocations: 13.25 MB / 0.8178 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.015e-05/1.658, allocations: 36 kB / 0.8178 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.248e-05/1.658, allocations: 22 kB / 0.8179 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.988e-05/1.658, allocations: 15.94 kB / 0.8179 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04723/1.705, allocations: 26.46 MB / 0.8437 GB, free: 85.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-05/1.705, allocations: 8 kB / 0.8437 GB, free: 85.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/1.707, allocations: 415.3 kB / 0.8441 GB, free: 85.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01944/1.726, allocations: 6.652 MB / 0.8506 GB, free: 78.72 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007731/1.727, allocations: 60 kB / 0.8507 GB, free: 78.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0385/1.766, allocations: 33.7 MB / 0.8836 GB, free: 44.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.766, allocations: 11.94 kB / 0.8836 GB, free: 44.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03163/1.797, allocations: 18.73 MB / 0.9019 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/1.799, allocations: 0.6524 MB / 0.9025 GB, free: 25.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00179/1.801, allocations: 64.17 kB / 0.9026 GB, free: 25.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00421/1.805, allocations: 311.5 kB / 0.9029 GB, free: 24.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009641/1.806, allocations: 254.5 kB / 0.9031 GB, free: 24.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000288/1.806, allocations: 91.95 kB / 0.9032 GB, free: 24.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005746/1.812, allocations: 4.559 MB / 0.9077 GB, free: 20.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/1.812, allocations: 0 / 0.9077 GB, free: 20.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008342/1.821, allocations: 2.139 MB / 0.9098 GB, free: 17.89 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (214): * Single equations (assignments): 208 * 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 {(7,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006523/1.821, allocations: 221.9 kB / 0.91 GB, free: 17.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01551/1.837, allocations: 11.11 MB / 0.9208 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.837, allocations: 1.062 kB / 0.9208 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007573/1.844, allocations: 4.657 MB / 0.9254 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006375/1.851, allocations: 0.9901 MB / 0.9263 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2526/2.103, allocations: 19.94 MB / 0.9458 GB, free: 180.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008579/2.112, allocations: 5.529 MB / 0.9512 GB, free: 179.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006262/2.118, allocations: 2.595 MB / 0.9537 GB, free: 179.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/2.12, allocations: 396.2 kB / 0.9541 GB, free: 179.6 MB / 0.545 GB Notification: Performance of SimCode: time 2.044e-06/2.12, allocations: 3.375 kB / 0.9541 GB, free: 179.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1385/2.258, allocations: 97.72 MB / 1.05 GB, free: 93.62 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.163937516510487]