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.001439/0.001443, allocations: 117.7 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001779/0.001779, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001167, allocations: 59.75 kB / 306.4 MB, free: 0.9727 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09646/0.09764, allocations: 50.54 MB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001848/0.09954, allocations: 0.5714 MB / 357.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.1014, allocations: 1.546 MB / 359.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.14e-05/0.1014, allocations: 0 / 359.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.1015, allocations: 0 / 359.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005535/0.102, allocations: 147.7 kB / 359.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.145e-05/0.1021, allocations: 11.92 kB / 359.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.324e-05/0.1021, allocations: 8 kB / 359.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.1022, allocations: 4 kB / 359.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.796e-05/0.1022, allocations: 15.92 kB / 359.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.1023, allocations: 15.86 kB / 359.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1023, allocations: 0 / 359.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.1026, allocations: 247.7 kB / 359.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.1027, allocations: 7.875 kB / 359.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.1027, allocations: 0 / 359.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.1029, allocations: 175.7 kB / 359.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1029, allocations: 4 kB / 359.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1029, allocations: 0 / 359.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.103, allocations: 4 kB / 359.7 MB, free: 11.67 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.0004249/0.1034, allocations: 359.7 kB / 360.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1034, allocations: 8.031 kB / 360.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.1035, allocations: 4.938 kB / 360.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.1036, allocations: 172.3 kB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1036, allocations: 8.359 kB / 360.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.1037, allocations: 4.375 kB / 360.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.731e-05/0.1037, allocations: 42 kB / 360.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1038, allocations: 0 / 360.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1038, allocations: 3.938 kB / 360.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1038, allocations: 3.938 kB / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.161e-05/0.1038, allocations: 8 kB / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.104, allocations: 157.7 kB / 360.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.457e-05/0.1041, allocations: 30.61 kB / 360.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.1041, allocations: 12.86 kB / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.1041, allocations: 0 / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1041, allocations: 38.5 kB / 360.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1041, allocations: 3.938 kB / 360.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001302/0.1043, allocations: 49.78 kB / 360.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.1043, allocations: 51.41 kB / 360.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.645e-05/0.1044, allocations: 101.8 kB / 360.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1044, allocations: 29.7 kB / 360.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.1045, allocations: 84.14 kB / 360.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1045, allocations: 11.75 kB / 360.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.1045, allocations: 21.7 kB / 360.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1046, allocations: 318.8 kB / 361.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.1047, allocations: 4 kB / 361.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.617e-05/0.1047, allocations: 21.7 kB / 361.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.296e-05/0.1047, allocations: 29.66 kB / 361.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1047, allocations: 0 / 361.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.65e-05/0.1048, allocations: 61.62 kB / 361.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1049, allocations: 7.938 kB / 361.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1049, allocations: 432 / 361.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1049, allocations: 0 / 361.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.105, allocations: 11.94 kB / 361.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.105, allocations: 0 / 361.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.105, allocations: 4 kB / 361.3 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-06/0.105, allocations: 0 / 361.3 MB, free: 9.805 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.458e-05/0.1051, allocations: 121.8 kB / 361.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.1051, allocations: 11.84 kB / 361.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.1051, allocations: 7.484 kB / 361.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1051, allocations: 0 / 361.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1051, allocations: 128 / 361.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.1052, allocations: 8 kB / 361.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.1053, allocations: 153.7 kB / 361.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1053, allocations: 3.938 kB / 361.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.129e-05/0.1053, allocations: 4 kB / 361.7 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.1054, allocations: 15.88 kB / 361.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1054, allocations: 0 / 361.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1054, allocations: 3.984 kB / 361.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1054, allocations: 0 / 361.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.1055, allocations: 77.11 kB / 361.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.1055, allocations: 81.05 kB / 361.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1056, allocations: 4.031 kB / 361.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.793e-05/0.1056, allocations: 0 / 361.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.025e-05/0.1056, allocations: 4.062 kB / 361.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.1056, allocations: 0 / 361.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.121e-05/0.1057, allocations: 87.27 kB / 361.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1057, allocations: 0 / 361.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1059, allocations: 55.98 kB / 362 MB, free: 9.074 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002516/0.1062, allocations: 147.2 kB / 362.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.602e-05/0.1063, allocations: 23.92 kB / 362.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1063, allocations: 0 / 362.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.512e-05/0.1063, allocations: 12.06 kB / 362.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.1064, allocations: 5.391 kB / 362.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.1067, allocations: 134.1 kB / 362.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.1069, allocations: 0.6807 MB / 363 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.019e-05/0.107, allocations: 7.984 kB / 363 MB, free: 8.016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.107, allocations: 7.438 kB / 363 MB, free: 8.008 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.107, allocations: 4 kB / 363 MB, free: 8.004 MB / 302.1 MB Notification: Performance of Templates: time 0.003174/0.1102, allocations: 1.117 MB / 364.1 MB, free: 6.887 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