Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001576/0.001576, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 63.91 kB / 378.3 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2785, allocations: 53.41 MB / 431.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02481/0.3033, allocations: 20.09 MB / 451.8 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01663/0.3199, allocations: 6.843 MB / 458.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004996/0.3249, allocations: 214.8 kB / 458.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01537/0.3403, allocations: 7.684 MB / 466.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.3511, allocations: 3.665 MB / 470.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005428/0.3566, allocations: 2.028 MB / 472.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01973/0.3763, allocations: 13.59 MB / 485.8 MB, free: 272 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01119/0.3875, allocations: 7.91 MB / 493.7 MB, free: 8.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008242/0.3957, allocations: 4.332 MB / 498 MB, free: 3.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01013/0.4059, allocations: 5.721 MB / 0.4919 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003404/0.4093, allocations: 1 MB / 0.4929 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005802/0.4151, allocations: 2.033 MB / 0.4949 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008112/0.4232, allocations: 5.163 MB / 0.4999 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009969/0.4331, allocations: 4.147 MB / 0.504 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02221/0.4554, allocations: 17.34 MB / 0.5209 GB, free: 404 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4554, allocations: 0 / 0.5209 GB, free: 404 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4554, allocations: 0 / 0.5209 GB, free: 404 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000425/0.4558, allocations: 4 kB / 0.5209 GB, free: 400 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.02765/0.4834, allocations: 11.38 MB / 0.532 GB, free: 4.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.4835, allocations: 11.98 kB / 0.5321 GB, free: 4.898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4715/0.9549, allocations: 5.472 MB / 0.5374 GB, free: 93.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02349/0.9784, allocations: 8.824 MB / 0.546 GB, free: 91.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004059/0.9788, allocations: 0.5214 MB / 0.5465 GB, free: 91.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003356/0.9822, allocations: 0.7272 MB / 0.5472 GB, free: 90.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03504/1.017, allocations: 19.85 MB / 0.5666 GB, free: 72.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003347/1.018, allocations: 99.3 kB / 0.5667 GB, free: 72.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001463/1.019, allocations: 322.5 kB / 0.567 GB, free: 71.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003374/1.022, allocations: 2.815 MB / 0.5698 GB, free: 69.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03092/1.053, allocations: 16.22 MB / 0.5856 GB, free: 52.9 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.08655/1.14, allocations: 66.85 MB / 0.6509 GB, free: 1.012 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02446/1.164, allocations: 7.754 MB / 0.6585 GB, free: 9.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00789/1.172, allocations: 4.492 MB / 0.6629 GB, free: 4.715 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02934/1.202, allocations: 12.23 MB / 0.6748 GB, free: 8.574 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.951e-05/1.202, allocations: 72.59 kB / 0.6749 GB, free: 8.492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=320): time 7.164e-06/1.202, allocations: 0 / 0.6749 GB, free: 8.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=426): time 0.1987/1.4, allocations: 52.44 MB / 0.7261 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002839/1.401, allocations: 402.8 kB / 0.7265 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0135/1.414, allocations: 7.308 MB / 0.7336 GB, free: 12.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001072/1.415, allocations: 93.7 kB / 0.7337 GB, free: 12.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005929/1.421, allocations: 5.806 MB / 0.7394 GB, free: 6.527 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002903/1.424, allocations: 1.62 MB / 0.7409 GB, free: 4.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004306/1.428, allocations: 2.095 MB / 0.743 GB, free: 2.789 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.429, allocations: 309.1 kB / 0.7433 GB, free: 2.484 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2496/1.678, allocations: 5.208 MB / 0.7484 GB, free: 184.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01074/1.689, allocations: 10.49 MB / 0.7586 GB, free: 176.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02058/1.709, allocations: 16.28 MB / 0.7745 GB, free: 164.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002635/1.71, allocations: 52.03 kB / 0.7746 GB, free: 164.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1331) (initialization): time 0.05586/1.766, allocations: 21.12 MB / 0.7952 GB, free: 152.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002328/1.766, allocations: 76 kB / 0.7953 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003032/1.766, allocations: 172 kB / 0.7954 GB, free: 152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01935/1.785, allocations: 6.658 MB / 0.8019 GB, free: 146.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007128/1.793, allocations: 2.148 MB / 0.804 GB, free: 144.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04365/1.836, allocations: 34.44 MB / 0.8377 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008784/1.845, allocations: 0.6294 MB / 0.8383 GB, free: 109.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0015/1.847, allocations: 0.5351 MB / 0.8388 GB, free: 109.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 778 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.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 (1174): * Single equations (assignments): 1169 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,129,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005976/1.853, allocations: 4.087 MB / 0.8428 GB, free: 105.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00146/1.854, allocations: 0.6799 MB / 0.8434 GB, free: 104.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02583/1.88, allocations: 14.18 MB / 0.8573 GB, free: 90.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.858e-05/1.88, allocations: 40 kB / 0.8573 GB, free: 90.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-05/1.88, allocations: 24 kB / 0.8574 GB, free: 90.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.52e-05/1.88, allocations: 19.94 kB / 0.8574 GB, free: 90.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04781/1.928, allocations: 25.06 MB / 0.8819 GB, free: 65.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.014e-05/1.928, allocations: 8 kB / 0.8819 GB, free: 65.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002893/1.931, allocations: 0.5774 MB / 0.8824 GB, free: 64.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01711/1.948, allocations: 6.327 MB / 0.8886 GB, free: 58.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008448/1.949, allocations: 79.98 kB / 0.8887 GB, free: 58.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03696/1.986, allocations: 31.36 MB / 0.9193 GB, free: 27.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.986, allocations: 11.94 kB / 0.9193 GB, free: 27.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03367/2.019, allocations: 20.83 MB / 0.9397 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00256/2.022, allocations: 0.6511 MB / 0.9403 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001561/2.023, allocations: 76 kB / 0.9404 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003653/2.027, allocations: 327.5 kB / 0.9407 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009654/2.028, allocations: 322.8 kB / 0.941 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003185/2.028, allocations: 116.1 kB / 0.9411 GB, free: 5.035 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005533/2.034, allocations: 4.446 MB / 0.9454 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/2.034, allocations: 0 / 0.9454 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009696/2.044, allocations: 2.407 MB / 0.9478 GB, free: 14.21 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (294): * Single equations (assignments): 290 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,116,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001011/2.045, allocations: 274.4 kB / 0.9481 GB, free: 13.96 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.2427/2.287, allocations: 12.08 MB / 0.9599 GB, free: 194 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/2.287, allocations: 5.25 kB / 0.9599 GB, free: 194 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006628/2.294, allocations: 4.877 MB / 0.9646 GB, free: 192.1 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005227/2.299, allocations: 0.9789 MB / 0.9656 GB, free: 191.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03477/2.334, allocations: 22.89 MB / 0.9879 GB, free: 177.2 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006801/2.341, allocations: 5.927 MB / 0.9937 GB, free: 172.8 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006471/2.347, allocations: 2.915 MB / 0.9966 GB, free: 171.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/2.349, allocations: 414.7 kB / 0.997 GB, free: 170.7 MB / 0.5607 GB Notification: Performance of SimCode: time 1.683e-06/2.349, allocations: 0 / 0.997 GB, free: 170.7 MB / 0.5607 GB Notification: Performance of Templates: time 0.1479/2.496, allocations: 113.9 MB / 1.108 GB, free: 57.98 MB / 0.5607 GB " [Timeout remaining time 657] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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: 10.000388264656067]