Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 184.3 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3")
translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 43.92 kB / 370.9 MB, free: 9.34 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2737, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001939/0.2756, allocations: 0.5392 MB / 423.6 MB, free: 14.14 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002496/0.2781, allocations: 1.5 MB / 425.1 MB, free: 12.62 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.2782, allocations: 0 / 425.1 MB, free: 12.62 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.2782, allocations: 3.938 kB / 425.1 MB, free: 12.62 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0007566/0.2789, allocations: 179.4 kB / 425.3 MB, free: 12.44 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 2.395e-05/0.2789, allocations: 0 / 425.3 MB, free: 12.44 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 6.219e-05/0.279, allocations: 11.98 kB / 425.3 MB, free: 12.43 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.841e-05/0.2791, allocations: 12 kB / 425.3 MB, free: 12.42 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.494e-05/0.2791, allocations: 11.92 kB / 425.4 MB, free: 12.41 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.2792, allocations: 7.922 kB / 425.4 MB, free: 12.4 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.2792, allocations: 0 / 425.4 MB, free: 12.4 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.2796, allocations: 243.7 kB / 425.6 MB, free: 12.16 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.2796, allocations: 4 kB / 425.6 MB, free: 12.16 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.2797, allocations: 11.92 kB / 425.6 MB, free: 12.14 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.28, allocations: 168.9 kB / 425.8 MB, free: 11.98 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.28, allocations: 0 / 425.8 MB, free: 11.98 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.572e-06/0.28, allocations: 0 / 425.8 MB, free: 11.98 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.491e-06/0.28, allocations: 0 / 425.8 MB, free: 11.98 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.0004933/0.2805, allocations: 286 kB / 426.1 MB, free: 11.68 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2805, allocations: 12.03 kB / 426.1 MB, free: 11.66 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.2806, allocations: 4.938 kB / 426.1 MB, free: 11.66 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.2807, allocations: 114.5 kB / 426.2 MB, free: 11.52 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.2807, allocations: 384 / 426.2 MB, free: 11.52 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.2807, allocations: 384 / 426.2 MB, free: 11.52 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.91e-05/0.2808, allocations: 41.94 kB / 426.2 MB, free: 11.48 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.2808, allocations: 7.984 kB / 426.2 MB, free: 11.47 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.2809, allocations: 0 / 426.2 MB, free: 11.47 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2809, allocations: 3.938 kB / 426.2 MB, free: 11.46 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.718e-05/0.2809, allocations: 11.98 kB / 426.3 MB, free: 11.45 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.2811, allocations: 132.8 kB / 426.4 MB, free: 11.28 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 8.798e-05/0.2812, allocations: 30.58 kB / 426.4 MB, free: 11.24 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/0.2812, allocations: 12.89 kB / 426.4 MB, free: 11.23 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.2812, allocations: 3.984 kB / 426.4 MB, free: 11.22 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.2813, allocations: 38.5 kB / 426.5 MB, free: 11.18 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2813, allocations: 0 / 426.5 MB, free: 11.18 MB / 334.1 MB
Notification: Performance of matching and sorting (n=3): time 0.0001709/0.2814, allocations: 45.69 kB / 426.5 MB, free: 11.12 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.2815, allocations: 59.41 kB / 426.6 MB, free: 11.05 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2816, allocations: 93.86 kB / 426.7 MB, free: 10.95 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.2816, allocations: 29.7 kB / 426.7 MB, free: 10.92 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.2817, allocations: 84.12 kB / 426.8 MB, free: 10.83 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.2817, allocations: 19.78 kB / 426.8 MB, free: 10.81 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.2818, allocations: 17.72 kB / 426.8 MB, free: 10.79 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002007/0.282, allocations: 318.8 kB / 427.1 MB, free: 10.47 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/0.282, allocations: 11.92 kB / 427.1 MB, free: 10.46 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.282, allocations: 21.72 kB / 427.2 MB, free: 10.43 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 4.899e-05/0.2821, allocations: 25.72 kB / 427.2 MB, free: 10.4 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2821, allocations: 0 / 427.2 MB, free: 10.4 MB / 334.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 9.659e-05/0.2822, allocations: 61.58 kB / 427.2 MB, free: 10.33 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2822, allocations: 15.38 kB / 427.3 MB, free: 10.32 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2822, allocations: 0 / 427.3 MB, free: 10.32 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2822, allocations: 0 / 427.3 MB, free: 10.32 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.2823, allocations: 16.02 kB / 427.3 MB, free: 10.3 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.2823, allocations: 0 / 427.3 MB, free: 10.3 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.111e-05/0.2823, allocations: 0 / 427.3 MB, free: 10.3 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.2823, allocations: 4 kB / 427.3 MB, free: 10.3 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 0.0001569/0.2825, allocations: 113.8 kB / 427.4 MB, free: 10.18 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.2825, allocations: 3.938 kB / 427.4 MB, free: 10.18 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.2825, allocations: 7.688 kB / 427.4 MB, free: 10.16 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2825, allocations: 0 / 427.4 MB, free: 10.16 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2825, allocations: 4.359 kB / 427.4 MB, free: 10.16 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2825, allocations: 4 kB / 427.4 MB, free: 10.16 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.2827, allocations: 124.9 kB / 427.5 MB, free: 9.992 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.2827, allocations: 8 kB / 427.5 MB, free: 9.984 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.74e-05/0.2828, allocations: 7.984 kB / 427.5 MB, free: 9.977 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.2828, allocations: 3.938 kB / 427.5 MB, free: 9.973 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2828, allocations: 3.984 kB / 427.6 MB, free: 9.969 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2828, allocations: 0 / 427.6 MB, free: 9.969 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2828, allocations: 4 kB / 427.6 MB, free: 9.965 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.2829, allocations: 81.08 kB / 427.6 MB, free: 9.867 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.727e-06/0.2829, allocations: 7.875 kB / 427.6 MB, free: 9.859 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.283, allocations: 0 / 427.6 MB, free: 9.859 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.882e-05/0.283, allocations: 0 / 427.6 MB, free: 9.859 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.283, allocations: 8.016 kB / 427.6 MB, free: 9.852 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.283, allocations: 0 / 427.6 MB, free: 9.852 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 6.004e-05/0.2831, allocations: 87.22 kB / 427.7 MB, free: 9.766 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2831, allocations: 0 / 427.7 MB, free: 9.766 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002787/0.2833, allocations: 55.8 kB / 427.8 MB, free: 9.711 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.0002803/0.2836, allocations: 151.2 kB / 427.9 MB, free: 9.551 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001231/0.2837, allocations: 19.98 kB / 428 MB, free: 9.531 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2837, allocations: 0 / 428 MB, free: 9.531 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.671e-05/0.2838, allocations: 7.938 kB / 428 MB, free: 9.523 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.2839, allocations: 4 kB / 428 MB, free: 9.52 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.2842, allocations: 134.1 kB / 428.1 MB, free: 9.363 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.2846, allocations: 0.6805 MB / 428.8 MB, free: 8.656 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 9.789e-05/0.2846, allocations: 8.062 kB / 428.8 MB, free: 8.648 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.2847, allocations: 11.44 kB / 428.8 MB, free: 8.637 MB / 334.1 MB
Notification: Performance of SimCode: time 2.81e-07/0.2847, allocations: 0 / 428.8 MB, free: 8.637 MB / 334.1 MB
Notification: Performance of Templates: time 0.004141/0.2888, allocations: 1.089 MB / 429.9 MB, free: 7.547 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.376966740936041]