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.001493/0.001493, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.00184, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 64.16 kB / 306.3 MB, free: 1.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09281, allocations: 50.54 MB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.2713/0.3641, allocations: 113.5 MB / 470.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0512/0.4154, allocations: 22.04 MB / 492.3 MB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02423/0.4396, allocations: 0.5104 MB / 492.8 MB, free: 3.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01426/0.454, allocations: 7.957 MB / 0.489 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009047/0.4631, allocations: 3.375 MB / 0.4923 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004365/0.4675, allocations: 1.849 MB / 0.4941 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02283/0.4903, allocations: 19.1 MB / 0.5128 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01721/0.5076, allocations: 10.14 MB / 0.5227 GB, free: 8.867 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008055/0.5157, allocations: 3.73 MB / 0.5263 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2748/0.7905, allocations: 5.979 MB / 0.5322 GB, free: 17.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003384/0.7939, allocations: 0.6292 MB / 0.5328 GB, free: 17.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006297/0.8002, allocations: 1.865 MB / 0.5346 GB, free: 17.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007827/0.8081, allocations: 4.687 MB / 0.5392 GB, free: 17.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0125/0.8206, allocations: 5.013 MB / 0.5441 GB, free: 17.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01772/0.8383, allocations: 16.56 MB / 0.5602 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.8384, allocations: 0 / 0.5602 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.8384, allocations: 0 / 0.5602 GB, free: 15.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005499/0.8389, allocations: 2.656 kB / 0.5602 GB, free: 15.38 MB / 446.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.03397/0.8729, allocations: 11.18 MB / 0.5712 GB, free: 10.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.873, allocations: 8.969 kB / 0.5712 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04401/0.917, allocations: 5.415 MB / 0.5765 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02087/0.9379, allocations: 8.679 MB / 0.5849 GB, free: 5.656 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006532/0.9386, allocations: 0.5247 MB / 0.5855 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004222/0.9429, allocations: 0.7249 MB / 0.5862 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03732/0.9802, allocations: 19.52 MB / 0.6052 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000278/0.9805, allocations: 97.8 kB / 0.6053 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008837/0.9814, allocations: 324.8 kB / 0.6056 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003837/0.9852, allocations: 2.826 MB / 0.6084 GB, free: 8.844 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03448/1.02, allocations: 16.24 MB / 0.6242 GB, free: 8.855 MB / 478.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.1077/1.128, allocations: 74.43 MB / 0.6969 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02404/1.152, allocations: 8.476 MB / 0.7052 GB, free: 4.684 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007124/1.159, allocations: 4.779 MB / 0.7099 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.26/1.419, allocations: 15.48 MB / 0.725 GB, free: 247.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/1.419, allocations: 68.08 kB / 0.7251 GB, free: 247.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=320): time 1.568e-05/1.419, allocations: 0 / 0.7251 GB, free: 247.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=426): time 0.1861/1.605, allocations: 52.29 MB / 0.7761 GB, free: 235 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/1.605, allocations: 402.8 kB / 0.7765 GB, free: 234.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01096/1.616, allocations: 7.548 MB / 0.7839 GB, free: 227.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001462/1.618, allocations: 85.7 kB / 0.784 GB, free: 227.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003245/1.621, allocations: 5.601 MB / 0.7894 GB, free: 222 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002904/1.624, allocations: 1.551 MB / 0.7909 GB, free: 220.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003686/1.628, allocations: 2.083 MB / 0.793 GB, free: 218.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.285e-05/1.628, allocations: 309.1 kB / 0.7933 GB, free: 218 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006601/1.634, allocations: 5.22 MB / 0.7984 GB, free: 212.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008384/1.643, allocations: 10.26 MB / 0.8084 GB, free: 200.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01691/1.66, allocations: 16.3 MB / 0.8243 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001502/1.66, allocations: 55.69 kB / 0.8244 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1333) (initialization): time 0.04239/1.702, allocations: 21.25 MB / 0.8451 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-05/1.702, allocations: 76 kB / 0.8452 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/1.703, allocations: 172 kB / 0.8453 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01852/1.721, allocations: 6.658 MB / 0.8519 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007089/1.728, allocations: 2.152 MB / 0.854 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04073/1.769, allocations: 32.79 MB / 0.886 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/1.779, allocations: 0.6201 MB / 0.8866 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002022/1.781, allocations: 0.534 MB / 0.8871 GB, free: 117 MB / 0.5606 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 (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.007874/1.789, allocations: 4.102 MB / 0.8911 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001621/1.791, allocations: 0.6865 MB / 0.8918 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02581/1.817, allocations: 14.31 MB / 0.9057 GB, free: 97.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.45e-05/1.817, allocations: 44 kB / 0.9058 GB, free: 97.76 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.462e-05/1.817, allocations: 24 kB / 0.9058 GB, free: 97.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001045/1.817, allocations: 19.92 kB / 0.9058 GB, free: 97.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05176/1.869, allocations: 28.24 MB / 0.9334 GB, free: 69.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.459e-05/1.869, allocations: 12 kB / 0.9334 GB, free: 69.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002917/1.872, allocations: 0.5929 MB / 0.934 GB, free: 68.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01788/1.89, allocations: 6.327 MB / 0.9402 GB, free: 62.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009846/1.891, allocations: 79.98 kB / 0.9403 GB, free: 62.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03575/1.926, allocations: 29.73 MB / 0.9693 GB, free: 32.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.926, allocations: 15.88 kB / 0.9693 GB, free: 32.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2759/2.202, allocations: 20.91 MB / 0.9897 GB, free: 226 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002548/2.205, allocations: 0.7369 MB / 0.9904 GB, free: 225.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002834/2.208, allocations: 78.08 kB / 0.9905 GB, free: 225.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00518/2.213, allocations: 327.5 kB / 0.9908 GB, free: 225.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001656/2.215, allocations: 308.2 kB / 0.9911 GB, free: 225.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004464/2.215, allocations: 113.8 kB / 0.9912 GB, free: 225.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.009598/2.225, allocations: 4.829 MB / 0.996 GB, free: 224.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.52e-07/2.225, allocations: 0 / 0.996 GB, free: 224.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01266/2.237, allocations: 2.405 MB / 0.9983 GB, free: 224.7 MB / 0.5606 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.001512/2.239, allocations: 281.2 kB / 0.9986 GB, free: 224.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0193/2.258, allocations: 12.69 MB / 1.011 GB, free: 219.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/2.258, allocations: 3.969 kB / 1.011 GB, free: 219.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.008563/2.267, allocations: 5.342 MB / 1.016 GB, free: 217.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008844/2.276, allocations: 1.013 MB / 1.017 GB, free: 216.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04491/2.321, allocations: 26.83 MB / 1.043 GB, free: 201.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01022/2.331, allocations: 6.376 MB / 1.05 GB, free: 196.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007856/2.339, allocations: 2.955 MB / 1.052 GB, free: 194.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/2.341, allocations: 430.8 kB / 1.053 GB, free: 194.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.403e-06/2.341, allocations: 0 / 1.053 GB, free: 194.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.1493/2.49, allocations: 108 MB / 1.158 GB, free: 89.11 MB / 0.5606 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