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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001014/0.001014, allocations: 96.38 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 202.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002349/0.0002349, allocations: 4 kB / 307.1 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09239/0.09264, allocations: 51.52 MB / 358.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.2508/0.3434, allocations: 103 MB / 461.6 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04653/0.39, allocations: 21.12 MB / 482.7 MB, free: 14.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02018/0.4102, allocations: 0.5026 MB / 483.2 MB, free: 14.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0159/0.4262, allocations: 5.338 MB / 488.6 MB, free: 8.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03711/0.4633, allocations: 15.52 MB / 0.4923 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007146/0.4705, allocations: 1.711 MB / 0.4939 GB, free: 7.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.4218/0.8923, allocations: 180.3 MB / 0.6701 GB, free: 8.605 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01759/0.9099, allocations: 12.73 MB / 0.6825 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005247/0.9152, allocations: 3.225 MB / 0.6856 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007654/0.9229, allocations: 5.039 MB / 0.6906 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0016/0.9245, allocations: 336 kB / 0.6909 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004009/0.9285, allocations: 1.327 MB / 0.6922 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.005236/0.9338, allocations: 4.204 MB / 0.6963 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002957/0.9367, allocations: 1.833 MB / 0.6981 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.9512, allocations: 13.58 MB / 0.7113 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.9513, allocations: 0 / 0.7113 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9513, allocations: 0 / 0.7113 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0005421/0.9518, allocations: 0 / 0.7113 GB, free: 8.77 MB / 0.5137 GB 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.02148/0.9733, allocations: 9.327 MB / 0.7204 GB, free: 148 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.9734, allocations: 12.03 kB / 0.7204 GB, free: 136 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3891/1.362, allocations: 5.526 MB / 0.7258 GB, free: 214.8 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02103/1.384, allocations: 8.513 MB / 0.7342 GB, free: 213.9 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006175/1.384, allocations: 0.5172 MB / 0.7347 GB, free: 213.9 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003238/1.387, allocations: 0.7313 MB / 0.7354 GB, free: 213.9 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03394/1.421, allocations: 19.54 MB / 0.7545 GB, free: 201.5 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002264/1.422, allocations: 91.25 kB / 0.7545 GB, free: 201.4 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007924/1.422, allocations: 335 kB / 0.7549 GB, free: 201.2 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003102/1.426, allocations: 2.819 MB / 0.7576 GB, free: 198.4 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02676/1.452, allocations: 16.25 MB / 0.7735 GB, free: 182.1 MB / 0.5138 GB 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.07678/1.529, allocations: 74.46 MB / 0.8462 GB, free: 106.2 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01946/1.549, allocations: 8.52 MB / 0.8545 GB, free: 97.51 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005038/1.554, allocations: 4.754 MB / 0.8592 GB, free: 92.74 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0177/1.571, allocations: 15.48 MB / 0.8743 GB, free: 76.82 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/1.572, allocations: 68.59 kB / 0.8744 GB, free: 76.74 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=320): time 5.23e-06/1.572, allocations: 4 kB / 0.8744 GB, free: 76.73 MB / 0.5138 GB Notification: Performance of matching and sorting (n=426): time 0.1575/1.729, allocations: 52.47 MB / 0.9256 GB, free: 24.19 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.729, allocations: 406.8 kB / 0.926 GB, free: 23.7 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01086/1.74, allocations: 7.51 MB / 0.9333 GB, free: 16.23 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001089/1.741, allocations: 93.7 kB / 0.9334 GB, free: 16.13 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002883/1.744, allocations: 5.582 MB / 0.9389 GB, free: 10.55 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001779/1.746, allocations: 1.553 MB / 0.9404 GB, free: 9.008 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008298/1.747, allocations: 204 kB / 0.9406 GB, free: 8.809 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0004264/1.747, allocations: 0.736 MB / 0.9413 GB, free: 8.066 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006798/1.754, allocations: 5.178 MB / 0.9463 GB, free: 2.883 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2198/1.974, allocations: 10.23 MB / 0.9563 GB, free: 192.9 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/1.985, allocations: 7.143 MB / 0.9633 GB, free: 191.3 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001296/1.985, allocations: 48.66 kB / 0.9634 GB, free: 191.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1333) (initialization): time 0.03945/2.025, allocations: 21.14 MB / 0.984 GB, free: 184.3 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/2.025, allocations: 77.28 kB / 0.9841 GB, free: 184.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001932/2.025, allocations: 169.5 kB / 0.9842 GB, free: 184.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01667/2.042, allocations: 6.696 MB / 0.9908 GB, free: 183.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006659/2.049, allocations: 2.15 MB / 0.9929 GB, free: 182.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04087/2.089, allocations: 32.81 MB / 1.025 GB, free: 154 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009583/2.099, allocations: 0.6277 MB / 1.026 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002062/2.101, allocations: 0.5367 MB / 1.026 GB, free: 152.9 MB / 0.5138 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 (1176): * Single equations (assignments): 1171 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 129} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007774/2.109, allocations: 4.094 MB / 1.03 GB, free: 148.8 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001696/2.111, allocations: 0.6897 MB / 1.031 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02651/2.137, allocations: 14.27 MB / 1.045 GB, free: 134.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.728e-05/2.137, allocations: 44 kB / 1.045 GB, free: 134.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.016e-05/2.137, allocations: 24 kB / 1.045 GB, free: 134.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.207e-05/2.137, allocations: 19.92 kB / 1.045 GB, free: 134.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05751/2.195, allocations: 28.2 MB / 1.072 GB, free: 105.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-05/2.195, allocations: 8 kB / 1.072 GB, free: 105.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00291/2.198, allocations: 0.6006 MB / 1.073 GB, free: 105.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.017/2.215, allocations: 6.323 MB / 1.079 GB, free: 98.88 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00114/2.216, allocations: 80.61 kB / 1.079 GB, free: 98.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03764/2.254, allocations: 29.73 MB / 1.108 GB, free: 69 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/2.254, allocations: 11.94 kB / 1.108 GB, free: 68.99 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03305/2.287, allocations: 20.88 MB / 1.129 GB, free: 47.93 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002084/2.289, allocations: 0.742 MB / 1.129 GB, free: 47.16 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002312/2.291, allocations: 83.98 kB / 1.129 GB, free: 47.08 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004623/2.296, allocations: 336.8 kB / 1.13 GB, free: 46.75 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001347/2.297, allocations: 303.1 kB / 1.13 GB, free: 46.46 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006373/2.298, allocations: 119 kB / 1.13 GB, free: 46.34 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.008615/2.307, allocations: 4.777 MB / 1.135 GB, free: 41.61 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2e-07/2.307, allocations: 0 / 1.135 GB, free: 41.61 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01181/2.319, allocations: 2.407 MB / 1.137 GB, free: 39.2 MB / 0.5138 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 116} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001048/2.32, allocations: 265.9 kB / 1.137 GB, free: 38.95 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.2796/2.599, allocations: 12.64 MB / 1.15 GB, free: 191.6 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.746e-05/2.599, allocations: 2.156 kB / 1.15 GB, free: 191.6 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.01017/2.609, allocations: 5.332 MB / 1.155 GB, free: 191.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008474/2.618, allocations: 1.022 MB / 1.156 GB, free: 191.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04238/2.66, allocations: 25.85 MB / 1.181 GB, free: 180 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006777/2.667, allocations: 6.379 MB / 1.187 GB, free: 177.9 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007521/2.675, allocations: 2.95 MB / 1.19 GB, free: 177.7 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/2.676, allocations: 436.5 kB / 1.191 GB, free: 177.7 MB / 0.5138 GB Notification: Performance of SimCode: time 1.062e-06/2.676, allocations: 0 / 1.191 GB, free: 177.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.1445/2.821, allocations: 103.4 MB / 1.292 GB, free: 79.16 MB / 0.5138 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (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) 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.0.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) Reference file matches