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.0008324/0.0008324, allocations: 78.28 kB / 21.42 MB, free: 3.078 MB / 18.57 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.000902/0.000902, allocations: 150.3 kB / 24.81 MB, free: 9.285 MB / 18.57 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 1.03/1.03, allocations: 173.3 MB / 201.4 MB, free: 9.188 MB / 186.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.914e-06/1.914e-06, allocations: 0 / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.531e-05, allocations: 2.312 kB / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001927/0.001953, allocations: 0.5414 MB / 268.9 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.004028, allocations: 1.451 MB / 270.4 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.004074, allocations: 4 kB / 270.4 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.004095, allocations: 0 / 270.4 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007477/0.004842, allocations: 167.4 kB / 270.6 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.625e-05/0.004868, allocations: 11.92 kB / 270.6 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.307e-05/0.004932, allocations: 19.92 kB / 270.6 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.004974, allocations: 0 / 270.6 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.942e-05/0.005053, allocations: 15.92 kB / 270.6 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.005108, allocations: 4 kB / 270.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.005124, allocations: 0 / 270.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004305/0.005554, allocations: 235.7 kB / 270.8 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.005568, allocations: 0 / 270.8 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.005589, allocations: 7.938 kB / 270.8 MB, free: 3.703 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.005924, allocations: 211.5 kB / 271.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.005929, allocations: 0 / 271.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.00593, allocations: 0 / 271.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.005934, allocations: 0 / 271.1 MB, free: 3.496 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.0004216/0.006356, allocations: 392 kB / 271.4 MB, free: 3.078 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.006405, allocations: 8.922 kB / 271.4 MB, free: 3.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.006445, allocations: 9.234 kB / 271.5 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.006554, allocations: 116.5 kB / 271.6 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.006565, allocations: 384 / 271.6 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.006582, allocations: 384 / 271.6 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.684e-05/0.006659, allocations: 34.25 kB / 271.6 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.006669, allocations: 192 / 271.6 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.006676, allocations: 384 / 271.6 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.006683, allocations: 3.938 kB / 271.6 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.257e-05/0.006706, allocations: 8 kB / 271.6 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.006846, allocations: 105.2 kB / 271.7 MB, free: 2.742 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.053e-05/0.006907, allocations: 35 kB / 271.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.006925, allocations: 11.69 kB / 271.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.006936, allocations: 8.125 kB / 271.8 MB, free: 2.672 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.006961, allocations: 37.33 kB / 271.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.006962, allocations: 0 / 271.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001353/0.007097, allocations: 45.64 kB / 271.9 MB, free: 2.574 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.007131, allocations: 59.34 kB / 271.9 MB, free: 2.504 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.007226, allocations: 165.9 kB / 272.1 MB, free: 2.324 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.007238, allocations: 25.7 kB / 272.1 MB, free: 2.293 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.007285, allocations: 134.9 kB / 272.2 MB, free: 2.156 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.007318, allocations: 11.88 kB / 272.2 MB, free: 2.145 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.007357, allocations: 23.38 kB / 272.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.007509, allocations: 496.1 kB / 272.8 MB, free: 1.617 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.007525, allocations: 3.984 kB / 272.8 MB, free: 1.613 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.878e-05/0.007554, allocations: 27.36 kB / 272.8 MB, free: 1.578 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.643e-05/0.0076, allocations: 31.73 kB / 272.8 MB, free: 1.539 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.007602, allocations: 0 / 272.8 MB, free: 1.539 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.773e-05/0.00769, allocations: 57.58 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.007703, allocations: 8.031 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.007709, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.007723, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.007806, allocations: 11.98 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.007809, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.007833, allocations: 7.938 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.007836, allocations: 0 / 272.9 MB, free: 1.449 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 7.852e-05/0.007915, allocations: 160.5 kB / 273.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.007926, allocations: 0 / 273.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.007962, allocations: 7.688 kB / 273.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007963, allocations: 0 / 273.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.007967, allocations: 12.12 kB / 273.1 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.007971, allocations: 3.938 kB / 273.1 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.824e-05/0.008059, allocations: 97.25 kB / 273.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.008061, allocations: 0 / 273.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.008123, allocations: 4 kB / 273.2 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.008125, allocations: 0 / 273.2 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.008135, allocations: 4 kB / 273.2 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008136, allocations: 0 / 273.2 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.008137, allocations: 0 / 273.2 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.008276, allocations: 100.2 kB / 273.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-06/0.008284, allocations: 3.969 kB / 273.3 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.008296, allocations: 8 kB / 273.3 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.726e-05/0.008313, allocations: 4 kB / 273.3 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.008326, allocations: 0 / 273.3 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.008329, allocations: 0 / 273.3 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.084e-05/0.00838, allocations: 127.2 kB / 273.4 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.00838, allocations: 0 / 273.4 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003094/0.008689, allocations: 47.88 kB / 273.5 MB, free: 0.8164 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.0002571/0.008947, allocations: 159.1 kB / 273.6 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.926e-05/0.009046, allocations: 31.55 kB / 273.6 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.009048, allocations: 4.062 kB / 273.7 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.657e-05/0.009065, allocations: 11.69 kB / 273.7 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.009235, allocations: 4 kB / 273.7 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.009501, allocations: 122.2 kB / 273.8 MB, free: 452 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.815e-05/0.009539, allocations: 63.28 kB / 273.8 MB, free: 368 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.694e-05/0.009586, allocations: 4 kB / 273.9 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.009636, allocations: 70.2 kB / 273.9 MB, free: 292 kB / 250.7 MB Notification: Performance of SimCode: time 8.91e-07/0.009636, allocations: 0 / 273.9 MB, free: 292 kB / 250.7 MB Notification: Performance of Templates: time 0.003852/0.01349, allocations: 1.279 MB / 275.2 MB, free: 15.01 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6151271988637745]