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.0009375/0.0009377, allocations: 102.1 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009314/0.0009315, allocations: 203.8 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003484, allocations: 8 kB / 306.6 MB, free: 1.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1151, allocations: 51.48 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.2593/0.3745, allocations: 97.82 MB / 455.9 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05408/0.4286, allocations: 22.51 MB / 478.4 MB, free: 3.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02049/0.4491, allocations: 0.5026 MB / 478.9 MB, free: 2.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01511/0.4643, allocations: 4.903 MB / 483.8 MB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04535/0.5096, allocations: 13.86 MB / 497.7 MB, free: 15.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008008/0.5177, allocations: 1.68 MB / 499.3 MB, free: 14.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3948/0.9125, allocations: 142.9 MB / 0.6272 GB, free: 2.789 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01937/0.9319, allocations: 12.65 MB / 0.6396 GB, free: 9.801 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005706/0.9376, allocations: 2.633 MB / 0.6421 GB, free: 8.113 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006102/0.9438, allocations: 3.532 MB / 0.6456 GB, free: 5.605 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002358/0.9462, allocations: 338.5 kB / 0.6459 GB, free: 5.277 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004516/0.9507, allocations: 1.293 MB / 0.6472 GB, free: 4.215 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006043/0.9568, allocations: 3.899 MB / 0.651 GB, free: 1.371 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004267/0.9611, allocations: 1.87 MB / 0.6528 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01893/0.98, allocations: 14.26 MB / 0.6667 GB, free: 4.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.9801, allocations: 5.641 kB / 0.6667 GB, free: 4.316 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.9801, allocations: 0 / 0.6667 GB, free: 4.316 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0007901/0.9809, allocations: 0 / 0.6667 GB, free: 4.316 MB / 478.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.03222/1.013, allocations: 10.11 MB / 0.6766 GB, free: 11.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/1.013, allocations: 8.031 kB / 0.6766 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2899/1.303, allocations: 30.05 MB / 0.706 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02285/1.326, allocations: 9.223 MB / 0.715 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000505/1.327, allocations: 0.5239 MB / 0.7155 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003066/1.33, allocations: 0.7219 MB / 0.7162 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4156/1.745, allocations: 19.43 MB / 0.7352 GB, free: 210.1 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004723/1.746, allocations: 92.22 kB / 0.7352 GB, free: 210.1 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002137/1.748, allocations: 327.8 kB / 0.7356 GB, free: 210.1 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005579/1.753, allocations: 2.813 MB / 0.7383 GB, free: 209.5 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04009/1.794, allocations: 15.82 MB / 0.7538 GB, free: 203.7 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.0962/1.89, allocations: 72.91 MB / 0.825 GB, free: 135.7 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02041/1.91, allocations: 8.098 MB / 0.8329 GB, free: 127.5 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0235/1.934, allocations: 14.41 MB / 0.8469 GB, free: 112.7 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/1.934, allocations: 68.52 kB / 0.847 GB, free: 112.6 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=309): time 6.402e-06/1.934, allocations: 0 / 0.847 GB, free: 112.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=416): time 0.1711/2.105, allocations: 51.21 MB / 0.897 GB, free: 61.21 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/2.105, allocations: 406.7 kB / 0.8974 GB, free: 60.72 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/2.116, allocations: 8.287 MB / 0.9055 GB, free: 52.43 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001043/2.117, allocations: 97.64 kB / 0.9056 GB, free: 52.33 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002856/2.12, allocations: 5.792 MB / 0.9112 GB, free: 46.53 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001546/2.121, allocations: 1.502 MB / 0.9127 GB, free: 45.04 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004439/2.122, allocations: 184.6 kB / 0.9129 GB, free: 44.86 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.000323/2.122, allocations: 0.6868 MB / 0.9136 GB, free: 44.16 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005168/2.127, allocations: 4.43 MB / 0.9179 GB, free: 39.73 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007536/2.135, allocations: 9.341 MB / 0.927 GB, free: 27.97 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008949/2.144, allocations: 6.317 MB / 0.9332 GB, free: 21.64 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000232/2.144, allocations: 48 kB / 0.9332 GB, free: 21.59 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.03597/2.18, allocations: 18.02 MB / 0.9508 GB, free: 3.527 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002155/2.18, allocations: 80 kB / 0.9509 GB, free: 3.449 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003201/2.181, allocations: 168 kB / 0.9511 GB, free: 3.285 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2166/2.397, allocations: 5.22 MB / 0.9562 GB, free: 186.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007768/2.405, allocations: 1.952 MB / 0.9581 GB, free: 186.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04476/2.45, allocations: 29.33 MB / 0.9867 GB, free: 176.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007987/2.458, allocations: 0.5531 MB / 0.9872 GB, free: 176.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001562/2.46, allocations: 0.5007 MB / 0.9877 GB, free: 176.2 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 774 * 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 (1047): * Single equations (assignments): 1042 * 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.007274/2.467, allocations: 4.082 MB / 0.9917 GB, free: 174.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/2.469, allocations: 0.7096 MB / 0.9924 GB, free: 174.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02348/2.492, allocations: 11.88 MB / 1.004 GB, free: 170.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.89e-05/2.492, allocations: 48.38 kB / 1.004 GB, free: 170.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-05/2.492, allocations: 26.41 kB / 1.004 GB, free: 170.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.962e-05/2.492, allocations: 22.69 kB / 1.004 GB, free: 170.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05127/2.544, allocations: 25.72 MB / 1.029 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-05/2.544, allocations: 8 kB / 1.029 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002767/2.547, allocations: 0.5814 MB / 1.03 GB, free: 148.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0144/2.561, allocations: 4.828 MB / 1.035 GB, free: 143.9 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008162/2.562, allocations: 76 kB / 1.035 GB, free: 143.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03052/2.592, allocations: 26.08 MB / 1.06 GB, free: 117.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/2.592, allocations: 14.23 kB / 1.06 GB, free: 117.8 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02834/2.621, allocations: 19.23 MB / 1.079 GB, free: 98.53 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003549/2.624, allocations: 0.7681 MB / 1.08 GB, free: 97.74 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002205/2.627, allocations: 73.64 kB / 1.08 GB, free: 97.67 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004541/2.631, allocations: 283.6 kB / 1.08 GB, free: 97.39 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/2.632, allocations: 293.1 kB / 1.08 GB, free: 97.11 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000351/2.633, allocations: 112 kB / 1.08 GB, free: 97 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00858/2.641, allocations: 5.434 MB / 1.086 GB, free: 91.57 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.4e-07/2.641, allocations: 0 / 1.086 GB, free: 91.57 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01027/2.652, allocations: 2.244 MB / 1.088 GB, free: 89.34 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 (287): * Single equations (assignments): 283 * 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%) 113} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009671/2.653, allocations: 267.2 kB / 1.088 GB, free: 89.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01447/2.667, allocations: 11.17 MB / 1.099 GB, free: 77.98 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/2.667, allocations: 7.906 kB / 1.099 GB, free: 77.98 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0063/2.673, allocations: 4.802 MB / 1.104 GB, free: 73.16 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005913/2.679, allocations: 1.057 MB / 1.105 GB, free: 72.12 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03773/2.717, allocations: 24.85 MB / 1.129 GB, free: 47.38 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007235/2.724, allocations: 6.557 MB / 1.135 GB, free: 40.79 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007339/2.732, allocations: 2.956 MB / 1.138 GB, free: 37.83 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/2.733, allocations: 447.4 kB / 1.139 GB, free: 37.39 MB / 0.5138 GB Notification: Performance of SimCode: time 9.42e-07/2.733, allocations: 0 / 1.139 GB, free: 37.39 MB / 0.5138 GB Notification: Performance of Templates: time 0.3507/3.084, allocations: 98.78 MB / 1.235 GB, free: 126.3 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","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches