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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001616/0.001616, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.3 MB / 258 MB, free: 8.258 MB / 206.1 MB
"
[Timeout remaining time 178]
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=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3")
translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 59.91 kB / 378.7 MB, free: 2.793 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2685, allocations: 53.37 MB / 432.1 MB, free: 7.062 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001824/0.2703, allocations: 0.52 MB / 432.6 MB, free: 6.547 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002564/0.2729, allocations: 1.574 MB / 434.2 MB, free: 4.957 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.2729, allocations: 0 / 434.2 MB, free: 4.957 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.2729, allocations: 0 / 434.2 MB, free: 4.957 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008451/0.2738, allocations: 175.4 kB / 434.4 MB, free: 4.785 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 3.046e-05/0.2738, allocations: 8 kB / 434.4 MB, free: 4.777 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 6.725e-05/0.2739, allocations: 15.92 kB / 434.4 MB, free: 4.762 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.2739, allocations: 4 kB / 434.4 MB, free: 4.758 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.274, allocations: 7.938 kB / 434.4 MB, free: 4.75 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.2741, allocations: 7.984 kB / 434.4 MB, free: 4.742 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2741, allocations: 0 / 434.4 MB, free: 4.742 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004882/0.2746, allocations: 247.7 kB / 434.7 MB, free: 4.5 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.2746, allocations: 11.98 kB / 434.7 MB, free: 4.488 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.2746, allocations: 3.938 kB / 434.7 MB, free: 4.484 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.275, allocations: 177.2 kB / 434.9 MB, free: 4.316 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.275, allocations: 4 kB / 434.9 MB, free: 4.312 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.964e-06/0.275, allocations: 0 / 434.9 MB, free: 4.312 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.422e-06/0.275, allocations: 0 / 434.9 MB, free: 4.312 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.0005165/0.2755, allocations: 294 kB / 435.1 MB, free: 3.996 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2756, allocations: 8.031 kB / 435.2 MB, free: 3.988 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.2756, allocations: 0.9375 kB / 435.2 MB, free: 3.988 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.2757, allocations: 114.5 kB / 435.3 MB, free: 3.852 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.2757, allocations: 384 / 435.3 MB, free: 3.852 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.2758, allocations: 8.375 kB / 435.3 MB, free: 3.844 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.765e-05/0.2759, allocations: 38.02 kB / 435.3 MB, free: 3.801 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2759, allocations: 0 / 435.3 MB, free: 3.801 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.2759, allocations: 0 / 435.3 MB, free: 3.801 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2759, allocations: 0 / 435.3 MB, free: 3.801 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.242e-05/0.2759, allocations: 19.86 kB / 435.3 MB, free: 3.781 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.2761, allocations: 128.8 kB / 435.5 MB, free: 3.613 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.2762, allocations: 30.67 kB / 435.5 MB, free: 3.574 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.2763, allocations: 8.844 kB / 435.5 MB, free: 3.562 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.2763, allocations: 4 kB / 435.5 MB, free: 3.559 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.2763, allocations: 38.5 kB / 435.5 MB, free: 3.512 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.2763, allocations: 0 / 435.5 MB, free: 3.512 MB / 334.1 MB
Notification: Performance of matching and sorting (n=3): time 0.0001736/0.2765, allocations: 53.77 kB / 435.6 MB, free: 3.453 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.2765, allocations: 51.41 kB / 435.6 MB, free: 3.391 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.2767, allocations: 109.8 kB / 435.7 MB, free: 3.273 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.2767, allocations: 29.64 kB / 435.8 MB, free: 3.238 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.2767, allocations: 88.14 kB / 435.9 MB, free: 3.148 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.2768, allocations: 7.906 kB / 435.9 MB, free: 3.141 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.2768, allocations: 17.72 kB / 435.9 MB, free: 3.117 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001412/0.2769, allocations: 318.8 kB / 436.2 MB, free: 2.797 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.277, allocations: 4 kB / 436.2 MB, free: 2.793 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.277, allocations: 17.72 kB / 436.2 MB, free: 2.77 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.68e-05/0.277, allocations: 37.77 kB / 436.3 MB, free: 2.727 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2771, allocations: 4 kB / 436.3 MB, free: 2.723 MB / 334.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 9.181e-05/0.2771, allocations: 49.7 kB / 436.3 MB, free: 2.668 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2772, allocations: 11.88 kB / 436.3 MB, free: 2.656 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2772, allocations: 3.984 kB / 436.3 MB, free: 2.652 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2772, allocations: 0 / 436.3 MB, free: 2.652 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.2773, allocations: 12 kB / 436.3 MB, free: 2.641 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2773, allocations: 0 / 436.3 MB, free: 2.641 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.2773, allocations: 4 kB / 436.3 MB, free: 2.637 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.2773, allocations: 0 / 436.3 MB, free: 2.637 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 7.96e-05/0.2774, allocations: 113.9 kB / 436.4 MB, free: 2.516 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.2774, allocations: 3.938 kB / 436.5 MB, free: 2.512 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.2774, allocations: 7.688 kB / 436.5 MB, free: 2.5 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2774, allocations: 0 / 436.5 MB, free: 2.5 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2774, allocations: 3.984 kB / 436.5 MB, free: 2.496 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2774, allocations: 4 kB / 436.5 MB, free: 2.492 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.2776, allocations: 132.7 kB / 436.6 MB, free: 2.32 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2776, allocations: 0 / 436.6 MB, free: 2.32 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.2777, allocations: 4 kB / 436.6 MB, free: 2.316 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.2777, allocations: 11.88 kB / 436.6 MB, free: 2.305 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.2777, allocations: 4 kB / 436.6 MB, free: 2.301 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2777, allocations: 0 / 436.6 MB, free: 2.301 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2777, allocations: 0 / 436.6 MB, free: 2.301 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.2778, allocations: 77.06 kB / 436.7 MB, free: 2.207 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.2778, allocations: 15.89 kB / 436.7 MB, free: 2.191 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.2778, allocations: 0 / 436.7 MB, free: 2.191 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.894e-05/0.2779, allocations: 0 / 436.7 MB, free: 2.191 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.2779, allocations: 64 / 436.7 MB, free: 2.191 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.2779, allocations: 4 kB / 436.7 MB, free: 2.188 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 5.577e-05/0.2779, allocations: 83.28 kB / 436.8 MB, free: 2.105 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1.01e-07/0.2779, allocations: 4 kB / 436.8 MB, free: 2.102 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.000287/0.2782, allocations: 51.86 kB / 436.8 MB, free: 2.051 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.0002959/0.2785, allocations: 151.1 kB / 437 MB, free: 1.891 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001011/0.2786, allocations: 16.36 kB / 437 MB, free: 1.875 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2786, allocations: 3.938 kB / 437 MB, free: 1.871 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 2.02e-05/0.2786, allocations: 16.05 kB / 437 MB, free: 1.855 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.2788, allocations: 6.5 kB / 437 MB, free: 1.852 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.2791, allocations: 130.3 kB / 437.2 MB, free: 1.699 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.2794, allocations: 0.6807 MB / 437.8 MB, free: 0.9922 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 8.613e-05/0.2795, allocations: 3.984 kB / 437.8 MB, free: 0.9883 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.2796, allocations: 11.44 kB / 437.9 MB, free: 0.9766 MB / 334.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.2796, allocations: 0 / 437.9 MB, free: 0.9766 MB / 334.1 MB
Notification: Performance of Templates: time 0.004523/0.2841, allocations: 1.146 MB / 439 MB, free: 15.83 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660]
(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) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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.640268383547664]