Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.417/1.417, allocations: 227.7 MB / 247.1 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 60.19 kB / 307.2 MB, free: 484 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1026, allocations: 50.54 MB / 357.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001604/0.1042, allocations: 0.5128 MB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.1063, allocations: 1.542 MB / 359.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.1063, allocations: 4 kB / 359.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.125e-05/0.1064, allocations: 4 kB / 359.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000613/0.107, allocations: 179.4 kB / 360 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.341e-05/0.107, allocations: 3.984 kB / 360 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.22e-05/0.1071, allocations: 15.94 kB / 360 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.1071, allocations: 0 / 360 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.971e-05/0.1072, allocations: 7.938 kB / 360 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.1072, allocations: 19.97 kB / 360.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.1072, allocations: 0 / 360.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/0.1076, allocations: 243.7 kB / 360.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.1077, allocations: 7.938 kB / 360.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.1077, allocations: 4 kB / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.108, allocations: 171.7 kB / 360.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.108, allocations: 3.984 kB / 360.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.108, allocations: 0 / 360.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.108, allocations: 3.938 kB / 360.5 MB, free: 11.19 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.0004772/0.1085, allocations: 363.7 kB / 360.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1085, allocations: 8.031 kB / 360.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.1086, allocations: 0.9375 kB / 360.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.1087, allocations: 172.3 kB / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1088, allocations: 384 / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1088, allocations: 4.375 kB / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.842e-05/0.1089, allocations: 42 kB / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1089, allocations: 0 / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1089, allocations: 3.938 kB / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.1089, allocations: 3.984 kB / 361.1 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.189e-05/0.109, allocations: 8 kB / 361.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.1092, allocations: 161.7 kB / 361.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.45e-05/0.1093, allocations: 38.55 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.1093, allocations: 8.859 kB / 361.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.1093, allocations: 0 / 361.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.1093, allocations: 34.5 kB / 361.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1094, allocations: 8 kB / 361.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001437/0.1095, allocations: 49.72 kB / 361.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1096, allocations: 51.41 kB / 361.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.1097, allocations: 101.8 kB / 361.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1097, allocations: 25.7 kB / 361.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.1097, allocations: 88.14 kB / 361.6 MB, free: 9.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.1098, allocations: 15.69 kB / 361.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.1098, allocations: 21.7 kB / 361.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.11, allocations: 314.8 kB / 362 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.1101, allocations: 8 kB / 362 MB, free: 9.473 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/0.1101, allocations: 21.7 kB / 362 MB, free: 9.445 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.84e-05/0.1102, allocations: 29.66 kB / 362 MB, free: 9.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1102, allocations: 0 / 362 MB, free: 9.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.856e-05/0.1103, allocations: 53.69 kB / 362.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1103, allocations: 7.938 kB / 362.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.1103, allocations: 4.031 kB / 362.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1103, allocations: 128 / 362.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.1104, allocations: 15.94 kB / 362.1 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1104, allocations: 0 / 362.1 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/0.1105, allocations: 4 kB / 362.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.1105, allocations: 4 kB / 362.1 MB, free: 9.316 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 8.394e-05/0.1106, allocations: 105.8 kB / 362.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.1106, allocations: 15.83 kB / 362.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.1106, allocations: 7.5 kB / 362.2 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1106, allocations: 4 kB / 362.2 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1106, allocations: 0 / 362.2 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1106, allocations: 0 / 362.2 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.1108, allocations: 157.7 kB / 362.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1108, allocations: 4.359 kB / 362.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.1109, allocations: 4 kB / 362.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1109, allocations: 3.938 kB / 362.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.1109, allocations: 0 / 362.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1109, allocations: 4 kB / 362.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1109, allocations: 0 / 362.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.111, allocations: 89.03 kB / 362.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.1111, allocations: 81.05 kB / 362.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.1111, allocations: 0 / 362.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.715e-05/0.1111, allocations: 0 / 362.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.1111, allocations: 4.031 kB / 362.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.1111, allocations: 0 / 362.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.179e-05/0.1112, allocations: 83.27 kB / 362.7 MB, free: 8.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1112, allocations: 0 / 362.7 MB, free: 8.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1115, allocations: 56.06 kB / 362.7 MB, free: 8.605 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.0003312/0.1118, allocations: 151.2 kB / 362.9 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.639e-05/0.1119, allocations: 23.92 kB / 362.9 MB, free: 8.426 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1119, allocations: 0 / 362.9 MB, free: 8.426 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.66e-05/0.1119, allocations: 12 kB / 362.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.1121, allocations: 6.344 kB / 362.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/0.1123, allocations: 134 kB / 363 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.1127, allocations: 0.6768 MB / 363.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.993e-05/0.1128, allocations: 11.97 kB / 363.7 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.1128, allocations: 7.438 kB / 363.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1128, allocations: 4 kB / 363.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of Templates: time 0.003763/0.1166, allocations: 1.119 MB / 364.9 MB, free: 6.41 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches