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.0007533/0.0007533, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009972/0.00175, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006935/0.0006935, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007136/0.007829, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.003/1.003, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07833/1.081, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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 1.623e-06/1.623e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054e-05/1.216e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0009489/0.000961, allocations: 0.5824 MB / 245.6 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.002252, allocations: 1.529 MB / 247.1 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.002278, allocations: 0 / 247.1 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.312e-06/0.002284, allocations: 3.938 kB / 247.1 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.002634, allocations: 155.4 kB / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.443e-05/0.002648, allocations: 4 kB / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.102e-05/0.002699, allocations: 19.91 kB / 247.3 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.002735, allocations: 4 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.465e-05/0.00281, allocations: 19.92 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.315e-05/0.002853, allocations: 7.938 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.002864, allocations: 0 / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.003189, allocations: 263.6 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.919e-06/0.003198, allocations: 0 / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.447e-05/0.003213, allocations: 4 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.00345, allocations: 179.6 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.785e-05/0.003468, allocations: 0 / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003469, allocations: 0 / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.003486, allocations: 0 / 247.8 MB, free: 10.88 MB / 250.7 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.0003721/0.003858, allocations: 276.2 kB / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.003887, allocations: 12.62 kB / 248 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.003914, allocations: 4.938 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.762e-05/0.004002, allocations: 109.7 kB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.004011, allocations: 384 / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.004032, allocations: 12.3 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.974e-05/0.004102, allocations: 38.25 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.004112, allocations: 192 / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.004118, allocations: 384 / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.004124, allocations: 3.938 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.364e-05/0.004148, allocations: 7.984 kB / 248.2 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.608e-05/0.004234, allocations: 61.05 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.831e-05/0.004282, allocations: 26.61 kB / 248.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.004299, allocations: 16.78 kB / 248.3 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.004304, allocations: 0 / 248.3 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.004324, allocations: 34.56 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.004325, allocations: 0 / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 8.603e-05/0.004411, allocations: 45.72 kB / 248.4 MB, free: 10.15 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.004441, allocations: 59.41 kB / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.004503, allocations: 98.72 kB / 248.6 MB, free: 9.969 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.004521, allocations: 29.69 kB / 248.6 MB, free: 9.934 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.262e-05/0.004543, allocations: 80.14 kB / 248.7 MB, free: 9.852 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.004576, allocations: 15.89 kB / 248.7 MB, free: 9.836 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.004604, allocations: 21.72 kB / 248.7 MB, free: 9.809 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.004687, allocations: 318.8 kB / 249 MB, free: 9.488 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.004696, allocations: 7.938 kB / 249 MB, free: 9.48 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.685e-05/0.004713, allocations: 17.7 kB / 249 MB, free: 9.457 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.27e-05/0.004746, allocations: 25.7 kB / 249.1 MB, free: 9.426 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004747, allocations: 0 / 249.1 MB, free: 9.426 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.226e-05/0.00479, allocations: 49.62 kB / 249.1 MB, free: 9.371 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.0048, allocations: 4 kB / 249.1 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.004805, allocations: 0.5469 kB / 249.1 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.004815, allocations: 8 kB / 249.1 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.004903, allocations: 8 kB / 249.1 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.004907, allocations: 3.984 kB / 249.1 MB, free: 9.348 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.421e-05/0.004921, allocations: 7.938 kB / 249.1 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.004925, allocations: 4 kB / 249.1 MB, free: 9.336 MB / 250.7 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 4.738e-05/0.004972, allocations: 113.9 kB / 249.3 MB, free: 9.215 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-06/0.004977, allocations: 3.938 kB / 249.3 MB, free: 9.211 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.005003, allocations: 15.67 kB / 249.3 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.005004, allocations: 0 / 249.3 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.005005, allocations: 0 / 249.3 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.005008, allocations: 0 / 249.3 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.462e-05/0.005063, allocations: 73.83 kB / 249.3 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005064, allocations: 0 / 249.3 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.005106, allocations: 4 kB / 249.4 MB, free: 9.102 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.005113, allocations: 7.953 kB / 249.4 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.005114, allocations: 4 kB / 249.4 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.005121, allocations: 0 / 249.4 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.005122, allocations: 0 / 249.4 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.005123, allocations: 0 / 249.4 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.272e-05/0.005206, allocations: 81.03 kB / 249.4 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-06/0.005215, allocations: 0 / 249.4 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-06/0.005223, allocations: 3.938 kB / 249.4 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.005235, allocations: 7.938 kB / 249.5 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-06/0.005236, allocations: 0 / 249.5 MB, free: 8.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.052e-05/0.005247, allocations: 12.84 kB / 249.5 MB, free: 8.965 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005247, allocations: 0 / 249.5 MB, free: 8.965 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000157/0.005404, allocations: 55.84 kB / 249.5 MB, free: 8.91 MB / 250.7 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.0001769/0.005581, allocations: 148.2 kB / 249.7 MB, free: 8.758 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.458e-05/0.005636, allocations: 20.84 kB / 249.7 MB, free: 8.734 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.005639, allocations: 0 / 249.7 MB, free: 8.734 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/0.00565, allocations: 16.78 kB / 249.7 MB, free: 8.715 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.01e-05/0.00571, allocations: 15.2 kB / 249.7 MB, free: 8.703 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001759/0.005886, allocations: 120.5 kB / 249.8 MB, free: 8.559 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.946e-05/0.005916, allocations: 55.36 kB / 249.9 MB, free: 8.484 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.646e-05/0.005962, allocations: 12.05 kB / 249.9 MB, free: 8.473 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.005991, allocations: 51.38 kB / 250 MB, free: 8.422 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.005991, allocations: 0 / 250 MB, free: 8.422 MB / 250.7 MB Notification: Performance of Templates: time 0.002534/0.008525, allocations: 1.316 MB / 251.3 MB, free: 7.105 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.437998943030834]