Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009995/0.0009995, allocations: 77.97 kB / 22.21 MB, free: 2.289 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.001088/0.001088, allocations: 159.8 kB / 25.6 MB, free: 8.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9743/0.9743, allocations: 158.6 MB / 187.5 MB, free: 2.824 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.481e-05, allocations: 6.25 kB / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001252/0.001277, allocations: 0.5352 MB / 252 MB, free: 6.711 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.002782, allocations: 1.479 MB / 253.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.002817, allocations: 0 / 253.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.002834, allocations: 0 / 253.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005707/0.003404, allocations: 183.3 kB / 253.7 MB, free: 5.035 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.16e-05/0.003426, allocations: 7.922 kB / 253.7 MB, free: 5.027 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 4.759e-05/0.003474, allocations: 15.94 kB / 253.7 MB, free: 5.012 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.481e-05/0.003508, allocations: 4 kB / 253.7 MB, free: 5.008 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.056e-05/0.003569, allocations: 7.984 kB / 253.7 MB, free: 5 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.003614, allocations: 7.922 kB / 253.7 MB, free: 4.992 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.003627, allocations: 8 kB / 253.7 MB, free: 4.984 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.003917, allocations: 235.6 kB / 253.9 MB, free: 4.754 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.003929, allocations: 0 / 253.9 MB, free: 4.754 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.232e-05/0.003941, allocations: 0 / 253.9 MB, free: 4.754 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.004168, allocations: 219.5 kB / 254.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004171, allocations: 0 / 254.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004172, allocations: 0 / 254.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.004175, allocations: 0 / 254.2 MB, free: 4.539 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.0003169/0.004492, allocations: 380.3 kB / 254.5 MB, free: 4.133 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.004529, allocations: 19.97 kB / 254.6 MB, free: 4.113 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.004555, allocations: 12.94 kB / 254.6 MB, free: 4.102 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.921e-05/0.004634, allocations: 116.5 kB / 254.7 MB, free: 3.961 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.004644, allocations: 384 / 254.7 MB, free: 3.961 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.00466, allocations: 4.375 kB / 254.7 MB, free: 3.957 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.849e-05/0.004719, allocations: 34.25 kB / 254.7 MB, free: 3.918 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.004729, allocations: 4.141 kB / 254.7 MB, free: 3.914 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.004734, allocations: 384 / 254.7 MB, free: 3.914 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004739, allocations: 3.938 kB / 254.7 MB, free: 3.91 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.546e-05/0.004755, allocations: 4 kB / 254.7 MB, free: 3.906 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.004865, allocations: 105.2 kB / 254.8 MB, free: 3.777 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.589e-05/0.004911, allocations: 35 kB / 254.9 MB, free: 3.73 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.004926, allocations: 23.81 kB / 254.9 MB, free: 3.703 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-06/0.004932, allocations: 0 / 254.9 MB, free: 3.703 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.004952, allocations: 37.39 kB / 254.9 MB, free: 3.656 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.004952, allocations: 0 / 254.9 MB, free: 3.656 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001026/0.005055, allocations: 41.69 kB / 255 MB, free: 3.609 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.005079, allocations: 55.34 kB / 255 MB, free: 3.543 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.563e-05/0.005144, allocations: 165.9 kB / 255.2 MB, free: 3.363 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.005155, allocations: 25.7 kB / 255.2 MB, free: 3.332 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.005194, allocations: 134.9 kB / 255.3 MB, free: 3.195 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.00522, allocations: 11.84 kB / 255.4 MB, free: 3.184 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.005249, allocations: 27.38 kB / 255.4 MB, free: 3.148 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.005358, allocations: 0.4884 MB / 255.9 MB, free: 2.648 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.00537, allocations: 4 kB / 255.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/0.005387, allocations: 19.38 kB / 255.9 MB, free: 2.617 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/0.00542, allocations: 27.38 kB / 255.9 MB, free: 2.582 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005422, allocations: 3.938 kB / 255.9 MB, free: 2.578 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.587e-05/0.005478, allocations: 50 kB / 256 MB, free: 2.523 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.00549, allocations: 8 kB / 256 MB, free: 2.516 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.005496, allocations: 0 / 256 MB, free: 2.516 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.005508, allocations: 4.031 kB / 256 MB, free: 2.512 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.005575, allocations: 16.03 kB / 256 MB, free: 2.496 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-06/0.005577, allocations: 0 / 256 MB, free: 2.496 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.005593, allocations: 11.86 kB / 256 MB, free: 2.484 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.005597, allocations: 4 kB / 256 MB, free: 2.48 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 6.329e-05/0.00566, allocations: 152.6 kB / 256.2 MB, free: 2.32 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.00567, allocations: 7.953 kB / 256.2 MB, free: 2.312 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.005701, allocations: 7.688 kB / 256.2 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005702, allocations: 0 / 256.2 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.005704, allocations: 0 / 256.2 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.005709, allocations: 7.922 kB / 256.2 MB, free: 2.293 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.3e-05/0.005782, allocations: 101.2 kB / 256.3 MB, free: 2.168 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.005783, allocations: 0 / 256.3 MB, free: 2.168 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.005822, allocations: 8 kB / 256.3 MB, free: 2.16 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.005824, allocations: 0 / 256.3 MB, free: 2.16 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.005833, allocations: 128 / 256.3 MB, free: 2.16 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.005835, allocations: 4 kB / 256.3 MB, free: 2.156 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005836, allocations: 0 / 256.3 MB, free: 2.156 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.005941, allocations: 96.3 kB / 256.4 MB, free: 2.039 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.365e-06/0.005949, allocations: 3.953 kB / 256.4 MB, free: 2.035 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.005957, allocations: 0 / 256.4 MB, free: 2.035 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-06/0.005965, allocations: 4.031 kB / 256.4 MB, free: 2.031 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.005978, allocations: 8 kB / 256.4 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.00598, allocations: 0 / 256.4 MB, free: 2.023 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.901e-05/0.006019, allocations: 127.2 kB / 256.5 MB, free: 1.898 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006019, allocations: 0 / 256.5 MB, free: 1.898 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001859/0.006205, allocations: 47.88 kB / 256.6 MB, free: 1.852 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.0001935/0.006398, allocations: 159.1 kB / 256.7 MB, free: 1.688 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.227e-05/0.00646, allocations: 31.55 kB / 256.8 MB, free: 1.652 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.006462, allocations: 3.938 kB / 256.8 MB, free: 1.648 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.006472, allocations: 19.73 kB / 256.8 MB, free: 1.625 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.006575, allocations: 0 / 256.8 MB, free: 1.625 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002036/0.006778, allocations: 128.7 kB / 256.9 MB, free: 1.469 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.824e-05/0.006807, allocations: 59.34 kB / 257 MB, free: 1.391 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.844e-05/0.006845, allocations: 0 / 257 MB, free: 1.391 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.006882, allocations: 70.2 kB / 257 MB, free: 1.32 MB / 234.7 MB Notification: Performance of SimCode: time 9.01e-07/0.006883, allocations: 0 / 257 MB, free: 1.32 MB / 234.7 MB Notification: Performance of Templates: time 0.002835/0.009718, allocations: 1.281 MB / 258.3 MB, free: 40 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.sim & ./Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.600083658937365]