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.0007617/0.0007617, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001507/0.001507, allocations: 156.2 kB / 24.98 MB, free: 8.223 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.9273/0.9273, allocations: 177 MB / 205.2 MB, free: 5.609 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 2.555e-06/2.555e-06, allocations: 0 / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.272e-05, allocations: 2.312 kB / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001703/0.001736, allocations: 0.529 MB / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.003997, allocations: 1.509 MB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.00404, allocations: 0 / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.00406, allocations: 3.938 kB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007213/0.004781, allocations: 175.4 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.686e-05/0.004808, allocations: 7.938 kB / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.824e-05/0.004876, allocations: 15.92 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.004922, allocations: 4 kB / 275.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.005002, allocations: 15.91 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.005055, allocations: 4 kB / 275.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.00507, allocations: 0 / 275.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004047/0.005475, allocations: 235.6 kB / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.005493, allocations: 11.98 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.005515, allocations: 3.938 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.005867, allocations: 215.5 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.00587, allocations: 0 / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005871, allocations: 0 / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005875, allocations: 0 / 275.7 MB, free: 15.04 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.0003992/0.006274, allocations: 388.3 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.006311, allocations: 11.98 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.006351, allocations: 8.938 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.006452, allocations: 120.5 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.006463, allocations: 4.375 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.006481, allocations: 384 / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.757e-05/0.006548, allocations: 38.25 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.006558, allocations: 192 / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.006566, allocations: 4.375 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.006575, allocations: 3.938 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.14e-05/0.006596, allocations: 8 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.006721, allocations: 120.6 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.483e-05/0.006776, allocations: 38.94 kB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.006798, allocations: 19.81 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.006806, allocations: 4 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.006826, allocations: 37.39 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.006827, allocations: 0 / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001317/0.006959, allocations: 45.69 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.006987, allocations: 59.28 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.00706, allocations: 157.9 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.00707, allocations: 29.7 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.007106, allocations: 130.9 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.007131, allocations: 11.84 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.007157, allocations: 23.38 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.007262, allocations: 0.4884 MB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.007275, allocations: 8 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/0.007305, allocations: 23.38 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.855e-05/0.007343, allocations: 31.36 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.007345, allocations: 0 / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.021e-05/0.007406, allocations: 50.02 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.007421, allocations: 15.11 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.007424, allocations: 48 / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.007437, allocations: 3.984 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.093e-05/0.007508, allocations: 8 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.007514, allocations: 7.969 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.007527, allocations: 7.938 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.007531, allocations: 4 kB / 277.6 MB, free: 12.94 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.535e-05/0.007587, allocations: 152.6 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-06/0.007595, allocations: 7.953 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.00762, allocations: 7.688 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.007622, allocations: 3.984 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.007626, allocations: 3.938 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007629, allocations: 0 / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.48e-05/0.007694, allocations: 120.6 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.007695, allocations: 4 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.007737, allocations: 11.98 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.007739, allocations: 0 / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.00775, allocations: 0 / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.007751, allocations: 3.938 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007752, allocations: 4 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.007854, allocations: 88.44 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.007862, allocations: 4 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.007872, allocations: 0 / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-06/0.007881, allocations: 4 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.007895, allocations: 3.984 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.007897, allocations: 7.969 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.536e-05/0.007933, allocations: 127.2 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007933, allocations: 0 / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.008108, allocations: 55.86 kB / 278.2 MB, free: 12.27 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.0001936/0.008302, allocations: 159.1 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.887e-05/0.008381, allocations: 23.62 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.008382, allocations: 0 / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/0.008395, allocations: 19.67 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.008507, allocations: 8.859 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.008752, allocations: 138.2 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.008782, allocations: 63.28 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.797e-05/0.00882, allocations: 4 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.008837, allocations: 8.5 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008838, allocations: 0 / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of Templates: time 0.002653/0.01149, allocations: 1.171 MB / 279.8 MB, free: 10.62 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.660884849028662]