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.001673/0.001673, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001939/0.001939, allocations: 207.6 kB / 19.41 MB, free: 3.645 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.428/1.428, allocations: 227.7 MB / 247.9 MB, free: 10.17 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.001917/0.001917, allocations: 59.91 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2434, allocations: 50.54 MB / 410.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001552/0.2449, allocations: 0.5239 MB / 410.7 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.2471, allocations: 1.547 MB / 412.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.2471, allocations: 4 kB / 412.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.2471, allocations: 3.938 kB / 412.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006647/0.2478, allocations: 179 kB / 412.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.044e-05/0.2478, allocations: 0 / 412.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.959e-05/0.2479, allocations: 12 kB / 412.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.2479, allocations: 3.984 kB / 412.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.813e-05/0.248, allocations: 15.86 kB / 412.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.037e-05/0.248, allocations: 12 kB / 412.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2481, allocations: 0 / 412.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003998/0.2485, allocations: 243.7 kB / 412.7 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.2485, allocations: 8 kB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.2485, allocations: 3.938 kB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.2488, allocations: 175.4 kB / 412.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2488, allocations: 0 / 412.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2488, allocations: 0 / 412.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2488, allocations: 0 / 412.9 MB, free: 14.72 MB / 334.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.000522/0.2493, allocations: 371.1 kB / 413.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2494, allocations: 8.031 kB / 413.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.2494, allocations: 0.9375 kB / 413.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.2496, allocations: 172.3 kB / 413.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2496, allocations: 4.312 kB / 413.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.2496, allocations: 4.375 kB / 413.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.038e-05/0.2497, allocations: 45.94 kB / 413.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2497, allocations: 0 / 413.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.2497, allocations: 0 / 413.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2497, allocations: 4 kB / 413.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.02e-05/0.2497, allocations: 7.984 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.25, allocations: 161.7 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.387e-05/0.25, allocations: 30.52 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.2501, allocations: 20.88 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.2501, allocations: 0 / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.2501, allocations: 38.5 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.2501, allocations: 0 / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001467/0.2503, allocations: 49.69 kB / 413.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.2503, allocations: 51.41 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/0.2504, allocations: 102 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.2504, allocations: 29.69 kB / 414 MB, free: 13.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.2505, allocations: 84.14 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.2505, allocations: 11.91 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.2505, allocations: 17.72 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2507, allocations: 322.8 kB / 414.4 MB, free: 13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.2507, allocations: 4 kB / 414.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/0.2507, allocations: 21.72 kB / 414.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.2508, allocations: 25.72 kB / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2508, allocations: 0 / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.944e-05/0.2509, allocations: 53.62 kB / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2509, allocations: 15.97 kB / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2509, allocations: 0 / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2509, allocations: 0 / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.926e-05/0.251, allocations: 11.98 kB / 414.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.251, allocations: 0 / 414.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.251, allocations: 0 / 414.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.251, allocations: 4 kB / 414.6 MB, free: 12.84 MB / 334.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 9.353e-05/0.2511, allocations: 113.8 kB / 414.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.2511, allocations: 11.89 kB / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.2512, allocations: 11.44 kB / 414.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.2512, allocations: 0 / 414.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2512, allocations: 128 / 414.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2512, allocations: 4 kB / 414.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.2513, allocations: 157.6 kB / 414.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2513, allocations: 4 kB / 414.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.843e-05/0.2514, allocations: 7.984 kB / 414.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2514, allocations: 7.875 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.2514, allocations: 4 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2514, allocations: 3.938 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2514, allocations: 4 kB / 414.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.2515, allocations: 73.12 kB / 414.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.2516, allocations: 81.05 kB / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.2516, allocations: 3.984 kB / 415 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.169e-05/0.2516, allocations: 4 kB / 415 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.2516, allocations: 4.031 kB / 415 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.2516, allocations: 3.938 kB / 415 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.555e-05/0.2517, allocations: 79.28 kB / 415.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2517, allocations: 4.062 kB / 415.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.2519, allocations: 55.86 kB / 415.2 MB, free: 12.11 MB / 334.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.0002791/0.2522, allocations: 151.1 kB / 415.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.389e-05/0.2523, allocations: 20 kB / 415.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2523, allocations: 0 / 415.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.897e-05/0.2523, allocations: 11.92 kB / 415.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.2525, allocations: 8.609 kB / 415.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.2528, allocations: 130.1 kB / 415.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.2531, allocations: 0.6807 MB / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.824e-05/0.2532, allocations: 4 kB / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.2532, allocations: 7.438 kB / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2532, allocations: 0 / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of Templates: time 0.003969/0.2572, allocations: 1.124 MB / 417.3 MB, free: 9.918 MB / 334.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/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