Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007716/0.0007716, allocations: 101.5 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009026/0.0009028, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000206/0.0002061, allocations: 4 kB / 307.1 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09303/0.09325, allocations: 51.53 MB / 358.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0005166/0.09381, allocations: 242.1 kB / 358.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.09543, allocations: 1.488 MB / 360.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.068e-05/0.09547, allocations: 0 / 360.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.007e-06/0.09549, allocations: 0 / 360.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004423/0.09593, allocations: 127.7 kB / 360.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.665e-05/0.09596, allocations: 0 / 360.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.914e-05/0.09601, allocations: 11.94 kB / 360.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.09605, allocations: 4 kB / 360.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.707e-05/0.09609, allocations: 15.97 kB / 360.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.911e-05/0.09615, allocations: 7.938 kB / 360.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.759e-06/0.09616, allocations: 0 / 360.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003263/0.09649, allocations: 231.7 kB / 360.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-06/0.09651, allocations: 0 / 360.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.782e-05/0.09653, allocations: 29.7 kB / 360.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.09671, allocations: 127.8 kB / 360.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.09672, allocations: 0 / 360.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09673, allocations: 0 / 360.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.09674, allocations: 4 kB / 360.9 MB, free: 11.15 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003412/0.09709, allocations: 355.6 kB / 361.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.09712, allocations: 8.031 kB / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.389e-05/0.09715, allocations: 0 / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.09727, allocations: 171 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.09729, allocations: 0 / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.09731, allocations: 4 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.689e-05/0.09739, allocations: 41.64 kB / 361.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.09741, allocations: 0 / 361.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.09742, allocations: 4 kB / 361.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.09743, allocations: 0 / 361.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.188e-05/0.09747, allocations: 11.98 kB / 361.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.09762, allocations: 161.6 kB / 361.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.908e-05/0.09769, allocations: 34.52 kB / 361.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.09771, allocations: 12.89 kB / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.09773, allocations: 3.984 kB / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.09775, allocations: 34.56 kB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.09776, allocations: 0 / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001222/0.09788, allocations: 53.64 kB / 361.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.09792, allocations: 55.34 kB / 361.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.89e-05/0.09799, allocations: 97.86 kB / 361.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.09801, allocations: 25.7 kB / 362 MB, free: 9.902 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.09805, allocations: 92.12 kB / 362 MB, free: 9.809 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.09808, allocations: 3.906 kB / 362 MB, free: 9.805 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.09809, allocations: 4 kB / 362.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.09818, allocations: 314.8 kB / 362.4 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.0982, allocations: 4 kB / 362.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.09824, allocations: 29.64 kB / 362.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.438e-05/0.09827, allocations: 8 kB / 362.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.09827, allocations: 0 / 362.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.186e-05/0.09836, allocations: 57.53 kB / 362.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.09838, allocations: 8.031 kB / 362.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.09839, allocations: 4 kB / 362.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.0984, allocations: 3.953 kB / 362.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.09848, allocations: 8 kB / 362.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.09849, allocations: 0 / 362.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.09851, allocations: 0 / 362.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.09852, allocations: 8.125 kB / 362.5 MB, free: 9.344 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.742e-05/0.09859, allocations: 109.8 kB / 362.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.0986, allocations: 0 / 362.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.09864, allocations: 19.5 kB / 362.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.09864, allocations: 0 / 362.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.09865, allocations: 3.953 kB / 362.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.09866, allocations: 0 / 362.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.429e-05/0.09876, allocations: 153.6 kB / 362.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.09877, allocations: 0 / 362.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.09883, allocations: 11.94 kB / 362.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.09884, allocations: 0 / 362.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.09885, allocations: 4 kB / 362.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.09886, allocations: 3.984 kB / 362.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.09887, allocations: 0 / 362.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.09899, allocations: 81.41 kB / 362.9 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.09903, allocations: 81.14 kB / 362.9 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.09905, allocations: 4.047 kB / 362.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.913e-05/0.09907, allocations: 3.984 kB / 363 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.09909, allocations: 3.984 kB / 363 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.0991, allocations: 7.938 kB / 363 MB, free: 8.762 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.987e-05/0.09915, allocations: 83.23 kB / 363 MB, free: 8.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09916, allocations: 4.062 kB / 363.1 MB, free: 8.676 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.09943, allocations: 55.98 kB / 363.1 MB, free: 8.621 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002322/0.09966, allocations: 159.1 kB / 363.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.014e-05/0.09974, allocations: 19.98 kB / 363.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.09975, allocations: 0 / 363.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.227e-05/0.09977, allocations: 4 kB / 363.3 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.09991, allocations: 4 kB / 363.3 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002106/0.1001, allocations: 142.8 kB / 363.4 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.1003, allocations: 0.6809 MB / 364.1 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.114e-05/0.1004, allocations: 4 kB / 364.1 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.545e-05/0.1004, allocations: 7.438 kB / 364.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1004, allocations: 0 / 364.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of Templates: time 0.003027/0.1034, allocations: 1.108 MB / 365.2 MB, free: 6.43 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches