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.0007655/0.0007655, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.00185, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001006/0.001006, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001323/0.002329, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9703/0.9703, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08298/1.053, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.953e-06/1.953e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.458e-05, allocations: 5.969 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.00149/0.001505, allocations: 0.5869 MB / 245.3 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.003509, allocations: 1.525 MB / 246.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.003537, allocations: 0 / 246.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.25e-06/0.003543, allocations: 0 / 246.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.004007, allocations: 155.3 kB / 247 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.833e-05/0.004026, allocations: 7.984 kB / 247 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.587e-05/0.004081, allocations: 15.94 kB / 247 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.00412, allocations: 0 / 247 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.072e-05/0.00421, allocations: 19.97 kB / 247 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.457e-05/0.004265, allocations: 7.938 kB / 247 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.004279, allocations: 0 / 247 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004488/0.004728, allocations: 259.5 kB / 247.3 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.004742, allocations: 4 kB / 247.3 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.004758, allocations: 4 kB / 247.3 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.005055, allocations: 179.6 kB / 247.5 MB, free: 11.46 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.005066, allocations: 0 / 247.5 MB, free: 11.46 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005067, allocations: 0 / 247.5 MB, free: 11.46 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.005077, allocations: 4 kB / 247.5 MB, free: 11.46 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.0003864/0.005464, allocations: 280.3 kB / 247.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.005495, allocations: 8.031 kB / 247.7 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.005524, allocations: 0.9375 kB / 247.7 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.005633, allocations: 121.7 kB / 247.9 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.005646, allocations: 8.375 kB / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.005667, allocations: 384 / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.026e-05/0.005738, allocations: 38.25 kB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.005747, allocations: 192 / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.005753, allocations: 384 / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.00576, allocations: 3.938 kB / 247.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.135e-05/0.005782, allocations: 7.938 kB / 247.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.708e-05/0.005879, allocations: 57.05 kB / 248 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.771e-05/0.005936, allocations: 30.61 kB / 248 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.005952, allocations: 4.859 kB / 248 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.005961, allocations: 8 kB / 248 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.005986, allocations: 34.56 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.005987, allocations: 0 / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001035/0.00609, allocations: 45.66 kB / 248.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.006124, allocations: 55.41 kB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.122e-05/0.006195, allocations: 110.7 kB / 248.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.006207, allocations: 25.7 kB / 248.3 MB, free: 10.51 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.006234, allocations: 84.14 kB / 248.4 MB, free: 10.42 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.006263, allocations: 11.91 kB / 248.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.006297, allocations: 21.69 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.006388, allocations: 314.8 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.006399, allocations: 8 kB / 248.7 MB, free: 10.06 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.006419, allocations: 17.72 kB / 248.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.138e-05/0.00646, allocations: 34 kB / 248.8 MB, free: 9.996 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006462, allocations: 0 / 248.8 MB, free: 9.996 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.912e-05/0.006532, allocations: 45.73 kB / 248.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.006544, allocations: 4 kB / 248.8 MB, free: 9.941 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.006552, allocations: 7.984 kB / 248.8 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.006564, allocations: 0 / 248.8 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.006664, allocations: 15.92 kB / 248.8 MB, free: 9.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.006667, allocations: 0 / 248.8 MB, free: 9.918 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/0.006689, allocations: 7.969 kB / 248.8 MB, free: 9.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.006693, allocations: 4 kB / 248.8 MB, free: 9.906 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.508e-05/0.006748, allocations: 105.8 kB / 248.9 MB, free: 9.793 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.00676, allocations: 8 kB / 249 MB, free: 9.785 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.006787, allocations: 3.688 kB / 249 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006789, allocations: 0 / 249 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.00679, allocations: 0 / 249 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.006797, allocations: 3.984 kB / 249 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.317e-05/0.006871, allocations: 69.84 kB / 249 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006872, allocations: 0 / 249 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.06e-05/0.006932, allocations: 8 kB / 249 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-06/0.006942, allocations: 11.94 kB / 249.1 MB, free: 9.668 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.006943, allocations: 0 / 249.1 MB, free: 9.668 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.006952, allocations: 0 / 249.1 MB, free: 9.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.006953, allocations: 0 / 249.1 MB, free: 9.668 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006954, allocations: 0 / 249.1 MB, free: 9.668 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.007064, allocations: 77 kB / 249.1 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.007075, allocations: 0 / 249.1 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.52e-05/0.00709, allocations: 7.938 kB / 249.1 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.007103, allocations: 3.984 kB / 249.1 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.007105, allocations: 128 / 249.1 MB, free: 9.562 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.839e-05/0.007123, allocations: 16.88 kB / 249.2 MB, free: 9.543 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007123, allocations: 0 / 249.2 MB, free: 9.543 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.007364, allocations: 59.8 kB / 249.2 MB, free: 9.484 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.0002421/0.007606, allocations: 144.2 kB / 249.4 MB, free: 9.336 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.449e-05/0.007681, allocations: 28.8 kB / 249.4 MB, free: 9.305 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.007685, allocations: 0 / 249.4 MB, free: 9.305 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.077e-05/0.007706, allocations: 16.84 kB / 249.4 MB, free: 9.285 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.742e-05/0.007783, allocations: 7.938 kB / 249.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002155/0.007999, allocations: 120.6 kB / 249.5 MB, free: 9.133 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.259e-05/0.008031, allocations: 59.34 kB / 249.6 MB, free: 9.055 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.42e-05/0.008075, allocations: 4 kB / 249.6 MB, free: 9.051 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.008113, allocations: 51.38 kB / 249.6 MB, free: 9 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008114, allocations: 0 / 249.6 MB, free: 9 MB / 250.7 MB Notification: Performance of Templates: time 0.003068/0.01118, allocations: 1.316 MB / 251 MB, free: 7.684 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.438873785547912]