Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001677/0.001677, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.001844/0.001844, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.48/1.48, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 71.83 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2614, allocations: 53.31 MB / 432 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001664/0.2631, allocations: 0.5201 MB / 432.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.2651, allocations: 1.567 MB / 434.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.2652, allocations: 0 / 434.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.346e-05/0.2652, allocations: 0 / 434.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006194/0.2658, allocations: 179.4 kB / 434.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.01e-05/0.2658, allocations: 3.938 kB / 434.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.959e-05/0.2659, allocations: 19.97 kB / 434.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.2659, allocations: 0 / 434.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.906e-05/0.266, allocations: 11.88 kB / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.808e-05/0.266, allocations: 4 kB / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.266, allocations: 4 kB / 434.3 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.2664, allocations: 251.7 kB / 434.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.2664, allocations: 4 kB / 434.6 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.2665, allocations: 15.91 kB / 434.6 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.2667, allocations: 169.1 kB / 434.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2667, allocations: 0 / 434.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2667, allocations: 4 kB / 434.8 MB, free: 4.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.2667, allocations: 0 / 434.8 MB, free: 4.672 MB / 334.1 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.0004991/0.2672, allocations: 363.1 kB / 435.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2673, allocations: 12.03 kB / 435.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.2673, allocations: 4.938 kB / 435.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.2675, allocations: 168.3 kB / 435.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.2675, allocations: 4.375 kB / 435.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.2676, allocations: 384 / 435.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.255e-05/0.2676, allocations: 45.95 kB / 435.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2677, allocations: 0 / 435.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.2677, allocations: 0 / 435.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2677, allocations: 0 / 435.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.612e-05/0.2677, allocations: 7.984 kB / 435.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.2679, allocations: 161.7 kB / 435.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.147e-05/0.268, allocations: 34.55 kB / 435.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.268, allocations: 16.8 kB / 435.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.268, allocations: 0 / 435.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.2681, allocations: 38.5 kB / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2681, allocations: 0 / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001497/0.2682, allocations: 53.92 kB / 435.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.2682, allocations: 51.41 kB / 435.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.939e-05/0.2683, allocations: 105.8 kB / 435.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.2684, allocations: 29.7 kB / 435.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.2684, allocations: 80.14 kB / 435.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.2684, allocations: 11.91 kB / 435.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.2685, allocations: 13.72 kB / 436 MB, free: 3.289 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2686, allocations: 318.8 kB / 436.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.2686, allocations: 11.94 kB / 436.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.2686, allocations: 21.72 kB / 436.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.706e-05/0.2687, allocations: 29.7 kB / 436.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2687, allocations: 0 / 436.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.693e-05/0.2688, allocations: 57.58 kB / 436.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2688, allocations: 14.89 kB / 436.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2688, allocations: 0 / 436.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2688, allocations: 4.031 kB / 436.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.2689, allocations: 8 kB / 436.4 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2689, allocations: 3.984 kB / 436.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.2689, allocations: 4 kB / 436.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.2689, allocations: 0 / 436.4 MB, free: 2.801 MB / 334.1 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 7.042e-05/0.269, allocations: 109.8 kB / 436.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.269, allocations: 7.938 kB / 436.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.269, allocations: 7.484 kB / 436.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.269, allocations: 0 / 436.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.269, allocations: 7.938 kB / 436.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.269, allocations: 0 / 436.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.2692, allocations: 161.8 kB / 436.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2692, allocations: 4 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.2692, allocations: 4 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2692, allocations: 3.938 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2692, allocations: 8 kB / 436.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2692, allocations: 3.938 kB / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2692, allocations: 0 / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.2694, allocations: 77.11 kB / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.2694, allocations: 84.98 kB / 436.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.2694, allocations: 0 / 436.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.2695, allocations: 8.031 kB / 436.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.2695, allocations: 0 / 436.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.2695, allocations: 0 / 436.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.156e-05/0.2695, allocations: 87.2 kB / 437 MB, free: 2.137 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2695, allocations: 0 / 437 MB, free: 2.137 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.2698, allocations: 55.88 kB / 437 MB, free: 2.082 MB / 334.1 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.0002459/0.27, allocations: 151.1 kB / 437.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.745e-05/0.2701, allocations: 20.41 kB / 437.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2701, allocations: 0 / 437.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.754e-05/0.2701, allocations: 11.94 kB / 437.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.2703, allocations: 4 kB / 437.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.2705, allocations: 142.1 kB / 437.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.2708, allocations: 0.6846 MB / 438 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.749e-05/0.2709, allocations: 7.969 kB / 438.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.2709, allocations: 11.44 kB / 438.1 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2709, allocations: 3.938 kB / 438.1 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of Templates: time 0.003712/0.2746, allocations: 1.124 MB / 439.2 MB, free: 15.87 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.387957551982254]