Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 79.75 kB / 21.18 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.024/1.024, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.119e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001574/0.001595, allocations: 0.5417 MB / 273.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.003902, allocations: 1.517 MB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.003933, allocations: 0 / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.003957, allocations: 4 kB / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007497/0.004706, allocations: 179.3 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.188e-05/0.004728, allocations: 4 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.965e-05/0.004788, allocations: 15.92 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.004829, allocations: 4 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.004895, allocations: 8 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.944e-05/0.004955, allocations: 7.984 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.004972, allocations: 3.938 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003943/0.005366, allocations: 235.6 kB / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.005379, allocations: 0 / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.0054, allocations: 7.984 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.005737, allocations: 219.5 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.00574, allocations: 3.938 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.00574, allocations: 4 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005745, allocations: 0 / 275.7 MB, free: 14.76 MB / 266.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.0004228/0.006168, allocations: 392.3 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.006202, allocations: 8.031 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.006237, allocations: 4.938 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.967e-05/0.006327, allocations: 108.6 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.00634, allocations: 8.375 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.006363, allocations: 384 / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.823e-05/0.006431, allocations: 30.27 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.006442, allocations: 4.172 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.00645, allocations: 8.312 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.00646, allocations: 7.922 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.171e-05/0.006481, allocations: 4 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.006603, allocations: 124.6 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.597e-05/0.006659, allocations: 35.06 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.006682, allocations: 11.69 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.006688, allocations: 96 / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.00671, allocations: 41.31 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 4.71e-07/0.006711, allocations: 0 / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001217/0.006833, allocations: 49.69 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.006864, allocations: 55.34 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.006934, allocations: 161.9 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.006942, allocations: 25.7 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.006978, allocations: 134.9 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.007005, allocations: 15.84 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.007031, allocations: 23.38 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.863e-05/0.00713, allocations: 492.1 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.007143, allocations: 7.984 kB / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/0.007166, allocations: 27.38 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.0072, allocations: 31.31 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007202, allocations: 128 / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.632e-05/0.007258, allocations: 65.56 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.007271, allocations: 4 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.007278, allocations: 4 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.007302, allocations: 0 / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.433e-05/0.007396, allocations: 11.98 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.007402, allocations: 3.938 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.208e-05/0.007414, allocations: 0 / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.007418, allocations: 4 kB / 277.6 MB, free: 12.68 MB / 266.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 5.669e-05/0.007475, allocations: 156.6 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-06/0.007483, allocations: 11.98 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.007513, allocations: 3.688 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.007515, allocations: 432 / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.00752, allocations: 3.938 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.007523, allocations: 0 / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.961e-05/0.007592, allocations: 120.6 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.007593, allocations: 0 / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.007631, allocations: 11.94 kB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.007635, allocations: 3.984 kB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.007648, allocations: 0 / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.007649, allocations: 0 / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.007651, allocations: 7.984 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.007767, allocations: 92.38 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.007772, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.007782, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-06/0.00779, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.007805, allocations: 4 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.007808, allocations: 7.922 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.503e-05/0.007843, allocations: 123.2 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007843, allocations: 0 / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.008016, allocations: 59.86 kB / 278.2 MB, free: 12.02 MB / 266.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.0001868/0.008203, allocations: 167 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.46e-05/0.008278, allocations: 27.67 kB / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.008279, allocations: 3.938 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-05/0.00829, allocations: 11.69 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.008396, allocations: 11.98 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.008616, allocations: 126.1 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.578e-05/0.008652, allocations: 59.3 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.008686, allocations: 7.984 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.825e-05/0.008705, allocations: 16.56 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.008705, allocations: 0 / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of Templates: time 0.002611/0.01132, allocations: 1.174 MB / 279.8 MB, free: 10.36 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.9433736531063914]