Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00084/0.00084, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008773/0.0008773, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9325/0.9325, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.926e-05, allocations: 5.094 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001699/0.001728, allocations: 0.5243 MB / 325 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.003787, allocations: 1.465 MB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.003821, allocations: 0 / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.00384, allocations: 4 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006902/0.00453, allocations: 175.3 kB / 326.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.148e-05/0.004561, allocations: 7.984 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.478e-05/0.004626, allocations: 19.92 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.00467, allocations: 4 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.004734, allocations: 11.88 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/0.004788, allocations: 15.98 kB / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.004803, allocations: 0 / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.005151, allocations: 227.7 kB / 327 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.005165, allocations: 7.984 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.005185, allocations: 7.938 kB / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.005516, allocations: 211.6 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.00552, allocations: 3.984 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005521, allocations: 3.938 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.005525, allocations: 0 / 327.2 MB, free: 13.21 MB / 298.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.0003775/0.005903, allocations: 286 kB / 327.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.005956, allocations: 15.98 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.005992, allocations: 30.75 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.006018, allocations: 4.938 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.006135, allocations: 113.7 kB / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.006145, allocations: 384 / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.006164, allocations: 4.375 kB / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.781e-05/0.006262, allocations: 34.25 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.006273, allocations: 192 / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.006285, allocations: 8.125 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.00629, allocations: 0 / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.216e-05/0.006332, allocations: 8 kB / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.006481, allocations: 136.6 kB / 327.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.195e-05/0.006543, allocations: 34.61 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.006563, allocations: 8.859 kB / 327.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.006571, allocations: 3.938 kB / 327.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.006589, allocations: 30.56 kB / 327.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.00659, allocations: 0 / 327.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001242/0.006714, allocations: 57.66 kB / 327.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.006746, allocations: 51.41 kB / 328 MB, free: 12.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.006811, allocations: 102 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.006821, allocations: 29.64 kB / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.006851, allocations: 92.14 kB / 328.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.006878, allocations: 7.906 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.006903, allocations: 17.72 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.006989, allocations: 314.8 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.007002, allocations: 8 kB / 328.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/0.007023, allocations: 17.72 kB / 328.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.7e-05/0.00707, allocations: 41.81 kB / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.007072, allocations: 128 / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.647e-05/0.007138, allocations: 49.7 kB / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.007154, allocations: 12.02 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.007159, allocations: 0 / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.007174, allocations: 7.938 kB / 328.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.007253, allocations: 7.938 kB / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.007259, allocations: 4 kB / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.007275, allocations: 4 kB / 328.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.00728, allocations: 0 / 328.7 MB, free: 11.49 MB / 298.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.021e-05/0.00734, allocations: 109.8 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.007346, allocations: 3.953 kB / 328.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.007371, allocations: 7.688 kB / 328.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.007374, allocations: 15.92 kB / 328.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.007378, allocations: 0 / 328.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.007382, allocations: 0 / 328.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.58e-05/0.007458, allocations: 124.7 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007459, allocations: 0 / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.007501, allocations: 11.98 kB / 329 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.007502, allocations: 0 / 329 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.00751, allocations: 0 / 329 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.007515, allocations: 3.938 kB / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007516, allocations: 0 / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.007621, allocations: 81 kB / 329 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-06/0.007626, allocations: 4.062 kB / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.007638, allocations: 4 kB / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-06/0.007647, allocations: 7.922 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.00766, allocations: 4.031 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.007662, allocations: 0 / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.185e-05/0.007694, allocations: 79.28 kB / 329.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007694, allocations: 0 / 329.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001988/0.007893, allocations: 55.86 kB / 329.2 MB, free: 10.91 MB / 298.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.001338/0.009231, allocations: 0.6748 MB / 329.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.009348, allocations: 20.05 kB / 329.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.009354, allocations: 7.938 kB / 329.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-05/0.00937, allocations: 7.938 kB / 329.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.009547, allocations: 7.938 kB / 329.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.01115, allocations: 1.174 MB / 331.1 MB, free: 8.902 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.796e-05/0.01121, allocations: 67.33 kB / 331.2 MB, free: 8.816 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.229e-05/0.0113, allocations: 0 / 331.2 MB, free: 8.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.01134, allocations: 16.5 kB / 331.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01134, allocations: 64 / 331.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.02885, allocations: 2.713 MB / 333.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.916/6.945, allocations: 18.78 kB / 333.9 MB, free: 6.168 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; mkfifo Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe >> ../files/Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.750625734217465]