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.001177/0.001178, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.88 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2532, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001779/0.2551, allocations: 0.5199 MB / 410.4 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.257, allocations: 1.539 MB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.2571, allocations: 0 / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.2571, allocations: 0 / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005804/0.2577, allocations: 183.4 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.902e-05/0.2577, allocations: 0 / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.496e-05/0.2578, allocations: 19.92 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.543e-05/0.2578, allocations: 4 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.628e-05/0.2579, allocations: 7.938 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.898e-05/0.2579, allocations: 7.969 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.258, allocations: 7.938 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003655/0.2583, allocations: 247.7 kB / 412.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.2583, allocations: 7.984 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.2584, allocations: 7.938 kB / 412.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.2586, allocations: 171.7 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2586, allocations: 0 / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2587, allocations: 0 / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2587, allocations: 0 / 412.6 MB, free: 14.84 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.0004062/0.2591, allocations: 367.2 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2591, allocations: 16.03 kB / 413 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.2592, allocations: 0.9375 kB / 413 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.2593, allocations: 168.4 kB / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.2593, allocations: 384 / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.2593, allocations: 384 / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.535e-05/0.2594, allocations: 42 kB / 413.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2594, allocations: 0 / 413.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.2595, allocations: 0 / 413.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2595, allocations: 0 / 413.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.366e-05/0.2595, allocations: 8 kB / 413.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.2597, allocations: 157.7 kB / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.381e-05/0.2597, allocations: 42.48 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/0.2598, allocations: 12.86 kB / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.2598, allocations: 0 / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.2598, allocations: 34.5 kB / 413.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.2598, allocations: 0 / 413.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000128/0.2599, allocations: 57.62 kB / 413.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.26, allocations: 51.41 kB / 413.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.229e-05/0.2601, allocations: 110 kB / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.2601, allocations: 25.7 kB / 413.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.2601, allocations: 84.12 kB / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.2602, allocations: 13.17 kB / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.2602, allocations: 17.72 kB / 413.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2603, allocations: 314.8 kB / 414.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.2603, allocations: 8 kB / 414.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.2604, allocations: 17.72 kB / 414.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.531e-05/0.2604, allocations: 37.64 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2604, allocations: 0 / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.915e-05/0.2605, allocations: 53.72 kB / 414.2 MB, free: 13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2605, allocations: 10.91 kB / 414.2 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2605, allocations: 8 kB / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2605, allocations: 4.031 kB / 414.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.2606, allocations: 11.94 kB / 414.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2606, allocations: 3.938 kB / 414.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.2607, allocations: 0 / 414.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.2607, allocations: 0 / 414.3 MB, free: 12.97 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 6.864e-05/0.2607, allocations: 117.8 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.2608, allocations: 3.938 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.2608, allocations: 11.48 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2608, allocations: 0 / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2608, allocations: 4 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.2608, allocations: 0 / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.261, allocations: 157.6 kB / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.261, allocations: 0 / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.261, allocations: 8 kB / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.261, allocations: 3.938 kB / 414.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.261, allocations: 4 kB / 414.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2611, allocations: 3.938 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2611, allocations: 0 / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.2612, allocations: 84.95 kB / 414.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.2612, allocations: 85.08 kB / 414.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.2612, allocations: 0 / 414.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.2613, allocations: 4 kB / 414.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.2613, allocations: 0 / 414.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.2613, allocations: 4 kB / 414.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.787e-05/0.2613, allocations: 83.27 kB / 414.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2613, allocations: 0 / 414.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.2616, allocations: 52 kB / 414.9 MB, free: 12.25 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.0002503/0.2619, allocations: 151.3 kB / 415 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.128e-05/0.262, allocations: 31.92 kB / 415.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.262, allocations: 0 / 415.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.262, allocations: 4.516 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.2621, allocations: 4 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.2624, allocations: 156 kB / 415.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.2627, allocations: 0.6807 MB / 415.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.2627, allocations: 11.44 kB / 415.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2627, allocations: 0 / 415.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of Templates: time 0.002731/0.2654, allocations: 1.204 MB / 417.1 MB, free: 9.941 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches