Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000801/0.000801, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001179/0.00198, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007603/0.0007603, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001767, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8934/0.8934, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1548/1.048, allocations: 52.49 MB / 238.5 MB, free: 7.645 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 239.7 MB, free: 6.383 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.289e-05, allocations: 2.312 kB / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001213/0.001226, allocations: 0.5786 MB / 240.3 MB, free: 5.82 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.002608, allocations: 1.462 MB / 241.8 MB, free: 4.344 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.00263, allocations: 3.125 kB / 241.8 MB, free: 4.344 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.558e-06/0.002634, allocations: 0 / 241.8 MB, free: 4.344 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.00301, allocations: 159.3 kB / 241.9 MB, free: 4.188 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.572e-05/0.003026, allocations: 3.984 kB / 241.9 MB, free: 4.184 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 4.778e-05/0.003074, allocations: 13.25 kB / 242 MB, free: 4.172 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.115e-05/0.003105, allocations: 0 / 242 MB, free: 4.172 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.83e-05/0.003173, allocations: 15.98 kB / 242 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.861e-05/0.003212, allocations: 4 kB / 242 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.003223, allocations: 8.906 kB / 242 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.004631, allocations: 259.6 kB / 242.2 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.004644, allocations: 3.031 kB / 242.2 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.384e-05/0.004658, allocations: 4 kB / 242.3 MB, free: 3.883 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.004901, allocations: 167.6 kB / 242.4 MB, free: 3.719 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.00491, allocations: 0 / 242.4 MB, free: 3.719 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.004911, allocations: 4 kB / 242.4 MB, free: 3.715 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.004919, allocations: 0 / 242.4 MB, free: 3.715 MB / 234.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.0003279/0.005247, allocations: 276.2 kB / 242.7 MB, free: 3.422 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.005278, allocations: 12.88 kB / 242.7 MB, free: 3.41 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.005303, allocations: 0.9375 kB / 242.7 MB, free: 3.41 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.005403, allocations: 109.8 kB / 242.8 MB, free: 3.277 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.005413, allocations: 5.578 kB / 242.8 MB, free: 3.273 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.005432, allocations: 4.375 kB / 242.8 MB, free: 3.27 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.028e-05/0.005492, allocations: 38.2 kB / 242.9 MB, free: 3.227 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.0055, allocations: 1.156 kB / 242.9 MB, free: 3.227 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-06/0.005506, allocations: 384 / 242.9 MB, free: 3.227 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.005512, allocations: 4.844 kB / 242.9 MB, free: 3.223 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.858e-05/0.005531, allocations: 11.97 kB / 242.9 MB, free: 3.211 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.507e-05/0.005616, allocations: 64.98 kB / 242.9 MB, free: 3.133 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.261e-05/0.005668, allocations: 32.38 kB / 243 MB, free: 3.094 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.374e-05/0.005682, allocations: 8.859 kB / 243 MB, free: 3.082 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-06/0.005688, allocations: 0 / 243 MB, free: 3.082 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.005714, allocations: 38.56 kB / 243 MB, free: 3.035 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.005715, allocations: 4.594 kB / 243 MB, free: 3.031 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 8.34e-05/0.005799, allocations: 37.78 kB / 243.1 MB, free: 2.988 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.005828, allocations: 56.09 kB / 243.1 MB, free: 2.922 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.157e-05/0.00589, allocations: 102.7 kB / 243.2 MB, free: 2.809 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.005899, allocations: 27.67 kB / 243.2 MB, free: 2.777 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.024e-05/0.005919, allocations: 80.14 kB / 243.3 MB, free: 2.695 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.005949, allocations: 19.89 kB / 243.3 MB, free: 2.676 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.005975, allocations: 17.66 kB / 243.4 MB, free: 2.652 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.00606, allocations: 318.8 kB / 243.7 MB, free: 2.332 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.006069, allocations: 5.469 kB / 243.7 MB, free: 2.328 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.006088, allocations: 21.7 kB / 243.7 MB, free: 2.301 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/0.00612, allocations: 25.64 kB / 243.7 MB, free: 2.27 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006122, allocations: 0.625 kB / 243.7 MB, free: 2.27 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.423e-05/0.006176, allocations: 54.22 kB / 243.8 MB, free: 2.211 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.006186, allocations: 4 kB / 243.8 MB, free: 2.207 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.006191, allocations: 0.5625 kB / 243.8 MB, free: 2.207 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.006202, allocations: 5.656 kB / 243.8 MB, free: 2.203 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/0.006288, allocations: 8 kB / 243.8 MB, free: 2.195 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.006291, allocations: 0 / 243.8 MB, free: 2.195 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.006309, allocations: 7.922 kB / 243.8 MB, free: 2.188 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-06/0.006312, allocations: 0 / 243.8 MB, free: 2.188 MB / 234.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.931e-05/0.006361, allocations: 111 kB / 243.9 MB, free: 2.07 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-06/0.006368, allocations: 4 kB / 243.9 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.006393, allocations: 8.656 kB / 243.9 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-07/0.006394, allocations: 0 / 243.9 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.006395, allocations: 0 / 243.9 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.006398, allocations: 1 kB / 243.9 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.336e-05/0.006461, allocations: 74.23 kB / 244 MB, free: 1.961 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.006461, allocations: 4 kB / 244 MB, free: 1.957 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.006509, allocations: 8.688 kB / 244 MB, free: 1.949 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-06/0.006514, allocations: 4 kB / 244 MB, free: 1.945 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.006515, allocations: 0.6875 kB / 244 MB, free: 1.945 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.006523, allocations: 0.6875 kB / 244 MB, free: 1.945 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.006524, allocations: 0 / 244 MB, free: 1.945 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.006528, allocations: 8.469 kB / 244 MB, free: 1.938 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.174e-05/0.00661, allocations: 73.91 kB / 244.1 MB, free: 1.848 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.006619, allocations: 128 / 244.1 MB, free: 1.848 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.121e-05/0.00663, allocations: 4 kB / 244.1 MB, free: 1.844 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.006641, allocations: 5.625 kB / 244.1 MB, free: 1.84 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.006643, allocations: 3.984 kB / 244.1 MB, free: 1.836 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.297e-05/0.006656, allocations: 8.859 kB / 244.1 MB, free: 1.824 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006656, allocations: 0 / 244.1 MB, free: 1.824 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001969/0.006853, allocations: 59.92 kB / 244.2 MB, free: 1.766 MB / 234.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.0001902/0.007043, allocations: 148.1 kB / 244.3 MB, free: 1.609 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 5.9e-05/0.007102, allocations: 24.84 kB / 244.3 MB, free: 1.582 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.007107, allocations: 3.984 kB / 244.3 MB, free: 1.578 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.431e-05/0.007122, allocations: 12.86 kB / 244.4 MB, free: 1.562 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.264e-05/0.007194, allocations: 11.89 kB / 244.4 MB, free: 1.551 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001746/0.007369, allocations: 124.3 kB / 244.5 MB, free: 1.402 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.918e-05/0.007398, allocations: 55.36 kB / 244.5 MB, free: 1.328 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.768e-05/0.007436, allocations: 12.08 kB / 244.6 MB, free: 1.316 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.007466, allocations: 51.38 kB / 244.6 MB, free: 1.266 MB / 234.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007466, allocations: 0 / 244.6 MB, free: 1.266 MB / 234.7 MB Notification: Performance of Templates: time 0.0023/0.009766, allocations: 1.255 MB / 245.9 MB, free: 8 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & ./Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4024009834975004]