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.0007026/0.0007026, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009693/0.001672, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006744/0.0006744, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008841/0.001558, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 0.9424/0.9424, allocations: 177.5 MB / 190 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08603/1.028, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.783e-06/1.783e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.511e-05, allocations: 6.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001931/0.001957, allocations: 0.5744 MB / 245.8 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.003971, allocations: 1.529 MB / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.004002, allocations: 0 / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.302e-06/0.004008, allocations: 7.938 kB / 247.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004772/0.004485, allocations: 151.4 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.819e-05/0.004513, allocations: 15.91 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.004577, allocations: 11.94 kB / 247.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.004619, allocations: 0 / 247.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.853e-05/0.004708, allocations: 15.98 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.004762, allocations: 7.938 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.004775, allocations: 0 / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.005239, allocations: 267.5 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.005256, allocations: 4 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.5e-05/0.005271, allocations: 4 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.005559, allocations: 171.7 kB / 247.9 MB, free: 10.78 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-05/0.005573, allocations: 8 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005574, allocations: 0 / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.005583, allocations: 0 / 248 MB, free: 10.77 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.0003833/0.005967, allocations: 276.2 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.006003, allocations: 8.625 kB / 248.2 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.006032, allocations: 4.938 kB / 248.2 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.927e-05/0.006132, allocations: 117.7 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.006141, allocations: 4.375 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.00616, allocations: 384 / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.683e-05/0.006227, allocations: 34.25 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.006235, allocations: 192 / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.006241, allocations: 8.359 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.006248, allocations: 3.938 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.708e-05/0.006265, allocations: 4 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.006369, allocations: 65.05 kB / 248.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.864e-05/0.006427, allocations: 34.53 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.006442, allocations: 8.859 kB / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.006448, allocations: 0 / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.006475, allocations: 34.56 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.006475, allocations: 0 / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 9.708e-05/0.006572, allocations: 41.78 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.006601, allocations: 55.41 kB / 248.6 MB, free: 9.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.361e-05/0.006665, allocations: 102.7 kB / 248.7 MB, free: 9.867 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.006677, allocations: 41.58 kB / 248.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.006701, allocations: 84.12 kB / 248.9 MB, free: 9.734 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.006729, allocations: 7.906 kB / 248.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.00676, allocations: 13.72 kB / 248.9 MB, free: 9.707 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.006851, allocations: 330.8 kB / 249.2 MB, free: 9.375 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/0.006859, allocations: 0 / 249.2 MB, free: 9.375 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/0.00688, allocations: 21.72 kB / 249.2 MB, free: 9.348 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.337e-05/0.006914, allocations: 21.7 kB / 249.3 MB, free: 9.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006916, allocations: 4 kB / 249.3 MB, free: 9.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.171e-05/0.006977, allocations: 45.62 kB / 249.3 MB, free: 9.266 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.00699, allocations: 8 kB / 249.3 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.006994, allocations: 0 / 249.3 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.007005, allocations: 0 / 249.3 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.007101, allocations: 11.98 kB / 249.3 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.007105, allocations: 3.984 kB / 249.3 MB, free: 9.242 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.007127, allocations: 7.938 kB / 249.3 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-06/0.00713, allocations: 0 / 249.3 MB, free: 9.234 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 5.808e-05/0.007188, allocations: 117.8 kB / 249.4 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-06/0.007194, allocations: 4.422 kB / 249.5 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.007219, allocations: 3.688 kB / 249.5 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.00722, allocations: 0 / 249.5 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.007224, allocations: 3.984 kB / 249.5 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.007227, allocations: 4 kB / 249.5 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.994e-05/0.007297, allocations: 77.81 kB / 249.5 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.007298, allocations: 0 / 249.5 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.295e-05/0.007361, allocations: 8 kB / 249.5 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-06/0.007368, allocations: 3.953 kB / 249.6 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.00737, allocations: 0 / 249.6 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.00738, allocations: 7.984 kB / 249.6 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.007383, allocations: 4 kB / 249.6 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.007384, allocations: 0 / 249.6 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.401e-05/0.007478, allocations: 69 kB / 249.6 MB, free: 8.887 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.007489, allocations: 4 kB / 249.6 MB, free: 8.883 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.32e-05/0.007502, allocations: 4 kB / 249.6 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.007514, allocations: 3.984 kB / 249.6 MB, free: 8.875 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.007516, allocations: 0 / 249.6 MB, free: 8.875 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.419e-05/0.00753, allocations: 12.8 kB / 249.7 MB, free: 8.859 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00753, allocations: 0 / 249.7 MB, free: 8.859 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.00776, allocations: 59.8 kB / 249.7 MB, free: 8.801 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.0002258/0.007986, allocations: 152.2 kB / 249.9 MB, free: 8.645 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.19e-05/0.008048, allocations: 16.98 kB / 249.9 MB, free: 8.625 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.008052, allocations: 0 / 249.9 MB, free: 8.625 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.79e-05/0.00807, allocations: 12.86 kB / 249.9 MB, free: 8.609 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.11e-05/0.008151, allocations: 19.86 kB / 249.9 MB, free: 8.59 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002048/0.008355, allocations: 124.5 kB / 250 MB, free: 8.441 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.89e-05/0.008384, allocations: 55.34 kB / 250.1 MB, free: 8.367 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.566e-05/0.00843, allocations: 8.094 kB / 250.1 MB, free: 8.359 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.008465, allocations: 51.38 kB / 250.1 MB, free: 8.309 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008465, allocations: 0 / 250.1 MB, free: 8.309 MB / 250.7 MB Notification: Performance of Templates: time 0.002936/0.0114, allocations: 1.306 MB / 251.4 MB, free: 7.004 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.439153208397329]