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.001243/0.001243, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001005/0.001005, allocations: 163.6 kB / 24.99 MB, free: 8.789 MB / 18.57 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.988/0.988, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.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.272e-06/1.272e-06, allocations: 0 / 273 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.67e-05, allocations: 2.312 kB / 273 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0009825/0.0009992, allocations: 0.534 MB / 273.6 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.002455, allocations: 1.513 MB / 275.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.002488, allocations: 0 / 275.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.002503, allocations: 0 / 275.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005159/0.003019, allocations: 179.3 kB / 275.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.612e-05/0.003035, allocations: 0 / 275.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.035e-05/0.003086, allocations: 15.94 kB / 275.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.003124, allocations: 11.98 kB / 275.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.293e-05/0.003187, allocations: 4 kB / 275.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.003234, allocations: 7.984 kB / 275.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.003247, allocations: 0 / 275.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.003584, allocations: 239.5 kB / 275.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.003597, allocations: 3.984 kB / 275.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.748e-05/0.003615, allocations: 4 kB / 275.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.003908, allocations: 219.5 kB / 275.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.00391, allocations: 0 / 275.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.00391, allocations: 0 / 275.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.003914, allocations: 4 kB / 275.8 MB, free: 15.1 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.0003503/0.004264, allocations: 396.2 kB / 276.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.004298, allocations: 8.031 kB / 276.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.004335, allocations: 8.938 kB / 276.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.427e-05/0.004429, allocations: 104.6 kB / 276.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.004441, allocations: 4.375 kB / 276.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.004458, allocations: 4.359 kB / 276.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.651e-05/0.004525, allocations: 38.25 kB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.004534, allocations: 192 / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.004541, allocations: 4.312 kB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.004549, allocations: 3.938 kB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.542e-05/0.004574, allocations: 11.98 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.004701, allocations: 120.6 kB / 276.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.242e-05/0.004763, allocations: 35.09 kB / 276.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.004787, allocations: 15.69 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.004793, allocations: 0 / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.004818, allocations: 37.33 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.004819, allocations: 0 / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001168/0.004936, allocations: 49.78 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.004965, allocations: 59.33 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.005048, allocations: 153.9 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.005057, allocations: 29.7 kB / 276.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.005098, allocations: 134.9 kB / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.005125, allocations: 15.83 kB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.005157, allocations: 23.38 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.005276, allocations: 492.1 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.005291, allocations: 8 kB / 277.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.513e-05/0.005316, allocations: 23.36 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.949e-05/0.005356, allocations: 35.31 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.005357, allocations: 0 / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.059e-05/0.005428, allocations: 57.62 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.005438, allocations: 4 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.005443, allocations: 4.125 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.005455, allocations: 4 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.00552, allocations: 8 kB / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.005527, allocations: 11.86 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.005544, allocations: 4 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.005549, allocations: 4.422 kB / 277.6 MB, free: 13.01 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.957e-05/0.005608, allocations: 152.6 kB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.005618, allocations: 7.953 kB / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.005644, allocations: 11.72 kB / 277.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.005647, allocations: 3.984 kB / 277.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.005651, allocations: 3.938 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.005654, allocations: 0 / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.793e-05/0.005722, allocations: 116.6 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005723, allocations: 0 / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.005771, allocations: 15.94 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.005772, allocations: 0 / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.005783, allocations: 0 / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.005784, allocations: 3.984 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005785, allocations: 0 / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.005887, allocations: 96.36 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.005892, allocations: 0 / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.005903, allocations: 0 / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.082e-05/0.005914, allocations: 0 / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.005926, allocations: 4 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.005929, allocations: 3.938 kB / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.946e-05/0.005969, allocations: 131.2 kB / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005969, allocations: 0 / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.006214, allocations: 47.88 kB / 278.2 MB, free: 12.36 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.0002154/0.00643, allocations: 179 kB / 278.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.33e-05/0.006503, allocations: 23.67 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006505, allocations: 0 / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.497e-05/0.00652, allocations: 15.69 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.006653, allocations: 4 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.006872, allocations: 134.1 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.235e-05/0.006904, allocations: 59.3 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.265e-05/0.006937, allocations: 11.92 kB / 278.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.006953, allocations: 8.5 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.006954, allocations: 4.062 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of Templates: time 0.002828/0.009782, allocations: 1.17 MB / 279.8 MB, free: 10.7 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6395358070731163]