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.0008344/0.0008344, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004102/0.004102, allocations: 162 kB / 24.69 MB, free: 8.891 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.9413/0.9413, allocations: 158.6 MB / 186.5 MB, free: 3.039 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: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25e-05/1.381e-05, allocations: 2.281 kB / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.001031/0.001045, allocations: 0.5268 MB / 299 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.002524, allocations: 1.439 MB / 300.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.00256, allocations: 0 / 300.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.00258, allocations: 3.938 kB / 300.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005699/0.00315, allocations: 179.4 kB / 300.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.862e-05/0.003168, allocations: 0 / 300.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.266e-05/0.003221, allocations: 19.92 kB / 300.6 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.003259, allocations: 0 / 300.6 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.407e-05/0.003313, allocations: 11.97 kB / 300.6 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.003363, allocations: 8 kB / 300.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.003376, allocations: 3.938 kB / 300.6 MB, free: 1.297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.003624, allocations: 223.7 kB / 300.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.003637, allocations: 11.92 kB / 300.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.478e-05/0.003652, allocations: 4 kB / 300.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.003874, allocations: 207.6 kB / 301.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003876, allocations: 0 / 301.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.003877, allocations: 4 kB / 301.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.003881, allocations: 0 / 301.1 MB, free: 0.8555 MB / 282.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.0003745/0.004255, allocations: 289.9 kB / 301.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.004295, allocations: 15.92 kB / 301.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.004324, allocations: 34.75 kB / 301.4 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.004346, allocations: 4.922 kB / 301.4 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.004449, allocations: 121.7 kB / 301.5 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.004458, allocations: 4.312 kB / 301.5 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.004478, allocations: 4.328 kB / 301.5 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.642e-05/0.004555, allocations: 34.27 kB / 301.6 MB, free: 296 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.004564, allocations: 4.188 kB / 301.6 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.004574, allocations: 8.109 kB / 301.6 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.004579, allocations: 0 / 301.6 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.004609, allocations: 4 kB / 301.6 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.004742, allocations: 124.8 kB / 301.7 MB, free: 112 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.83e-05/0.00481, allocations: 34.52 kB / 301.7 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.004833, allocations: 12.94 kB / 301.8 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.004844, allocations: 4 kB / 301.8 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.004869, allocations: 38.56 kB / 301.8 MB, free: 0 / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.82e-07/0.00487, allocations: 0 / 301.8 MB, free: 0 / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.1507/0.1556, allocations: 46.58 kB / 301.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.1556, allocations: 52.47 kB / 301.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.105e-05/0.1557, allocations: 100.9 kB / 302 MB, free: 15.72 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.1557, allocations: 25.7 kB / 302 MB, free: 15.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.897e-05/0.1557, allocations: 84.42 kB / 302.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.1557, allocations: 11.36 kB / 302.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.1558, allocations: 19.5 kB / 302.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.227e-05/0.1558, allocations: 314.3 kB / 302.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.1558, allocations: 10.03 kB / 302.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/0.1558, allocations: 17.41 kB / 302.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.388e-05/0.1559, allocations: 30.88 kB / 302.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1559, allocations: 4.031 kB / 302.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.703e-05/0.156, allocations: 60.03 kB / 302.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.156, allocations: 6.188 kB / 302.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.156, allocations: 3.375 kB / 302.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.156, allocations: 1.156 kB / 302.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1561, allocations: 8.703 kB / 302.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.1561, allocations: 2.031 kB / 302.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.1561, allocations: 0.75 kB / 302.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1561, allocations: 7.156 kB / 302.6 MB, free: 15.21 MB / 282.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.556e-05/0.1562, allocations: 112.8 kB / 302.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.1562, allocations: 5.094 kB / 302.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.1562, allocations: 5.281 kB / 302.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1562, allocations: 2.125 kB / 302.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1562, allocations: 8.25 kB / 302.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1563, allocations: 1.688 kB / 302.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.923e-05/0.1563, allocations: 125.1 kB / 302.8 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1563, allocations: 3.25 kB / 302.8 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.944e-05/0.1564, allocations: 7.812 kB / 302.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1564, allocations: 5.25 kB / 302.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1564, allocations: 0.5625 kB / 302.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1564, allocations: 5.156 kB / 302.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1564, allocations: 0 / 302.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.1565, allocations: 77.14 kB / 302.9 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.1565, allocations: 12.5 kB / 303 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.1565, allocations: 1.031 kB / 303 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.143e-05/0.1566, allocations: 4.109 kB / 303 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.1566, allocations: 1.859 kB / 303 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1566, allocations: 1.719 kB / 303 MB, free: 14.87 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.316e-05/0.1566, allocations: 84.08 kB / 303 MB, free: 14.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1566, allocations: 3.312 kB / 303 MB, free: 14.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.1568, allocations: 50.73 kB / 303.1 MB, free: 14.79 MB / 282.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.0003465/0.1572, allocations: 0.6751 MB / 303.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.581e-05/0.1572, allocations: 22.17 kB / 303.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1573, allocations: 0 / 303.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.1573, allocations: 10.19 kB / 303.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.1574, allocations: 5.422 kB / 303.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.158, allocations: 1.18 MB / 305 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.201e-05/0.158, allocations: 62.12 kB / 305 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.1582, allocations: 3.766 kB / 305.1 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.1582, allocations: 14.59 kB / 305.1 MB, free: 13.02 MB / 282.7 MB Notification: Performance of SimCode: time 9.11e-07/0.1582, allocations: 0 / 305.1 MB, free: 13.02 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.1772, allocations: 2.641 MB / 307.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.779/6.956, allocations: 9.328 kB / 307.7 MB, free: 11.97 MB / 282.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3.fmu > Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Nonlinear/Examples/quadratureLobatto3/quadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.772805225104094]