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.00106/0.00106, allocations: 97.27 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 202.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002163/0.0002163, allocations: 8 kB / 306.6 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1027, allocations: 51.49 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0006279/0.1034, allocations: 250 kB / 358.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.1053, allocations: 1.476 MB / 359.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.1053, allocations: 3.938 kB / 359.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.057e-05/0.1053, allocations: 0 / 359.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004473/0.1058, allocations: 119.7 kB / 359.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.179e-05/0.1058, allocations: 11.97 kB / 359.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.312e-05/0.1059, allocations: 4 kB / 359.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.1059, allocations: 4 kB / 359.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.017e-05/0.106, allocations: 11.98 kB / 359.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.106, allocations: 7.922 kB / 359.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.106, allocations: 4 kB / 359.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.1064, allocations: 223.6 kB / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.145e-06/0.1064, allocations: 0 / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.1064, allocations: 29.7 kB / 360.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.1066, allocations: 123.8 kB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1066, allocations: 0 / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1066, allocations: 0 / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1066, allocations: 0 / 360.3 MB, free: 11.88 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.000402/0.107, allocations: 358.2 kB / 360.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1071, allocations: 8.031 kB / 360.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.1071, allocations: 4 kB / 360.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1073, allocations: 167 kB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1073, allocations: 4 kB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.1073, allocations: 7.953 kB / 360.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.091e-05/0.1074, allocations: 49.61 kB / 360.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1074, allocations: 0 / 360.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1074, allocations: 0 / 360.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1075, allocations: 0 / 360.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.756e-05/0.1075, allocations: 4 kB / 360.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.1077, allocations: 157.7 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.558e-05/0.1077, allocations: 34.61 kB / 361.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.1078, allocations: 7.938 kB / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.1078, allocations: 38.52 kB / 361.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 2.515e-06/0.1078, allocations: 0 / 361.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001369/0.1079, allocations: 57.56 kB / 361.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.108, allocations: 51.41 kB / 361.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.1081, allocations: 105.8 kB / 361.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.1081, allocations: 25.7 kB / 361.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.1082, allocations: 84.14 kB / 361.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.1082, allocations: 7.906 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/0.1082, allocations: 0 / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1083, allocations: 318.8 kB / 361.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.1083, allocations: 11.98 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.543e-05/0.1084, allocations: 17.66 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.52e-05/0.1084, allocations: 8 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1084, allocations: 4 kB / 361.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.974e-05/0.1085, allocations: 61.59 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1085, allocations: 4 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1085, allocations: 7.891 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.1085, allocations: 0 / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.975e-05/0.1086, allocations: 11.98 kB / 361.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1086, allocations: 0 / 361.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.1087, allocations: 4 kB / 361.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.1087, allocations: 0 / 361.9 MB, free: 10.08 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 7.541e-05/0.1088, allocations: 109.9 kB / 362 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.1088, allocations: 4 kB / 362 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.1088, allocations: 7.5 kB / 362 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1088, allocations: 3.953 kB / 362 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1088, allocations: 0 / 362 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1088, allocations: 0 / 362 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.109, allocations: 161.6 kB / 362.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.109, allocations: 432 / 362.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.109, allocations: 7.984 kB / 362.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.109, allocations: 0 / 362.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1091, allocations: 4 kB / 362.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1091, allocations: 4 kB / 362.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1091, allocations: 3.953 kB / 362.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.1092, allocations: 84.95 kB / 362.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.1092, allocations: 77.11 kB / 362.3 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.1093, allocations: 0 / 362.3 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.1093, allocations: 12.08 kB / 362.4 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.1093, allocations: 3.953 kB / 362.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1093, allocations: 8.062 kB / 362.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.827e-05/0.1094, allocations: 83.28 kB / 362.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1094, allocations: 0 / 362.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1096, allocations: 55.98 kB / 362.5 MB, free: 9.355 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.0002383/0.1099, allocations: 155.1 kB / 362.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.35e-05/0.11, allocations: 19.92 kB / 362.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.11, allocations: 0 / 362.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/0.11, allocations: 8 kB / 362.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.726e-05/0.1101, allocations: 8.062 kB / 362.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.1103, allocations: 130.9 kB / 362.8 MB, free: 9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.1106, allocations: 0.6848 MB / 363.5 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.136e-05/0.1106, allocations: 0 / 363.5 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.1107, allocations: 11.44 kB / 363.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1107, allocations: 0 / 363.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of Templates: time 0.002946/0.1136, allocations: 1.112 MB / 364.6 MB, free: 7.164 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","../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches