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.001249/0.001249, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001451/0.001451, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9613/0.9613, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.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.132e-06/1.132e-06, allocations: 0 / 273.4 MB, free: 1.102 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.302e-05, allocations: 5.266 kB / 273.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0009422/0.0009552, allocations: 0.5439 MB / 273.9 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.002298, allocations: 1.513 MB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.002322, allocations: 4 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.191e-05/0.002334, allocations: 0 / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.002798, allocations: 179.3 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.323e-05/0.002811, allocations: 0 / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.32e-05/0.002855, allocations: 23.91 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.717e-05/0.002882, allocations: 0 / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.002942, allocations: 15.92 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.061e-05/0.002983, allocations: 4 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.002992, allocations: 0 / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.003253, allocations: 243.6 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.003264, allocations: 0 / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.314e-05/0.003277, allocations: 7.938 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.003497, allocations: 215.5 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.003498, allocations: 0 / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003499, allocations: 3.938 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.003501, allocations: 0 / 276.1 MB, free: 14.34 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.0002406/0.003742, allocations: 272.6 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.692e-05/0.003769, allocations: 11.98 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.943e-05/0.003788, allocations: 4.922 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.567e-05/0.003854, allocations: 105.8 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.003866, allocations: 4.375 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.003882, allocations: 384 / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.161e-05/0.003933, allocations: 38.25 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.00394, allocations: 192 / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-06/0.003945, allocations: 384 / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.003949, allocations: 7.875 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.445e-05/0.003963, allocations: 4 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.967e-05/0.004033, allocations: 68.97 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.075e-05/0.004074, allocations: 30.56 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.182e-05/0.004085, allocations: 4.859 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-06/0.00409, allocations: 0 / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.004107, allocations: 38.7 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 5.91e-07/0.004108, allocations: 0 / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 7.11e-05/0.004179, allocations: 41.81 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.004205, allocations: 59.39 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.524e-05/0.00425, allocations: 102.7 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.004259, allocations: 25.7 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.939e-05/0.004278, allocations: 88.14 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.004303, allocations: 19.81 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.004323, allocations: 17.72 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.53e-05/0.004389, allocations: 314.8 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-06/0.004396, allocations: 4 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.714e-05/0.004413, allocations: 25.69 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.682e-05/0.00444, allocations: 25.66 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.004442, allocations: 0 / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.114e-05/0.004483, allocations: 45.69 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.004491, allocations: 4 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.004495, allocations: 8.016 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.004503, allocations: 4 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.749e-05/0.004551, allocations: 7.938 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.004553, allocations: 4 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.004564, allocations: 3.938 kB / 277.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-06/0.004566, allocations: 0 / 277.5 MB, free: 12.81 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 4.44e-05/0.00461, allocations: 109.8 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-06/0.004614, allocations: 0 / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.004634, allocations: 15.67 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.004635, allocations: 0 / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.004637, allocations: 4 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.004639, allocations: 0 / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.847e-05/0.004687, allocations: 65.84 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.004688, allocations: 0 / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/0.004718, allocations: 11.94 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.004719, allocations: 0 / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.004727, allocations: 3.984 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.004727, allocations: 0 / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.004728, allocations: 0 / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.757e-05/0.004805, allocations: 88.97 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-06/0.004811, allocations: 4 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-06/0.004818, allocations: 4.031 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-06/0.004825, allocations: 0 / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-06/0.004835, allocations: 3.984 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-06/0.004836, allocations: 0 / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.016e-05/0.004846, allocations: 8.859 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004846, allocations: 0 / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.004996, allocations: 59.86 kB / 277.8 MB, free: 12.39 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.0001607/0.005157, allocations: 140.2 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.877e-05/0.005205, allocations: 21.34 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.005207, allocations: 8.062 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.124e-05/0.005219, allocations: 16.83 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.813e-05/0.005267, allocations: 7.875 kB / 278 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001583/0.005425, allocations: 124.7 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.47e-05/0.00545, allocations: 59.34 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.752e-05/0.005477, allocations: 11.98 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.005502, allocations: 47.38 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.005502, allocations: 4 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of Templates: time 0.002552/0.008055, allocations: 1.331 MB / 279.6 MB, free: 10.57 MB / 266.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 -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.6135677746497095]