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.001319/0.001319, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.00148/0.00148, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 51.92 kB / 377.7 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.261, allocations: 53.36 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001711/0.2627, allocations: 0.5162 MB / 431.6 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.2649, allocations: 1.481 MB / 433.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.952e-05/0.2649, allocations: 0 / 433.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.2649, allocations: 0 / 433.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006572/0.2656, allocations: 171.5 kB / 433.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.577e-05/0.2656, allocations: 3.938 kB / 433.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.828e-05/0.2657, allocations: 23.92 kB / 433.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.425e-05/0.2657, allocations: 3.984 kB / 433.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.2658, allocations: 7.938 kB / 433.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.023e-05/0.2658, allocations: 7.938 kB / 433.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.2658, allocations: 0 / 433.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.2662, allocations: 235.7 kB / 433.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.2663, allocations: 0 / 433.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.2663, allocations: 11.92 kB / 433.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.2666, allocations: 176 kB / 433.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2666, allocations: 0 / 433.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2666, allocations: 4 kB / 433.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.2666, allocations: 0 / 433.7 MB, free: 4.012 MB / 334.1 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.0004398/0.267, allocations: 293.9 kB / 434 MB, free: 3.695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2671, allocations: 12.03 kB / 434 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.2671, allocations: 34.75 kB / 434 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.293e-05/0.2671, allocations: 4.875 kB / 434 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2672, allocations: 106.5 kB / 434.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.2672, allocations: 384 / 434.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.2673, allocations: 4.375 kB / 434.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.518e-05/0.2674, allocations: 41.81 kB / 434.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2674, allocations: 4 kB / 434.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.2674, allocations: 3.938 kB / 434.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2674, allocations: 0 / 434.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.208e-05/0.2674, allocations: 7.984 kB / 434.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.2676, allocations: 124.8 kB / 434.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.259e-05/0.2677, allocations: 34.61 kB / 434.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.2677, allocations: 12.8 kB / 434.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.2677, allocations: 4 kB / 434.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.2677, allocations: 38.44 kB / 434.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.051e-06/0.2677, allocations: 0 / 434.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000137/0.2679, allocations: 49.73 kB / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.2679, allocations: 59.39 kB / 434.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.268, allocations: 102 kB / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.268, allocations: 25.7 kB / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.2681, allocations: 80.14 kB / 434.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.2681, allocations: 19.89 kB / 434.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.2681, allocations: 17.72 kB / 434.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2683, allocations: 310.8 kB / 435.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.2683, allocations: 8 kB / 435.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.2683, allocations: 21.7 kB / 435.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.055e-05/0.2684, allocations: 37.83 kB / 435.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2684, allocations: 0 / 435.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001008/0.2685, allocations: 57.69 kB / 435.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2685, allocations: 8 kB / 435.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2685, allocations: 4 kB / 435.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2685, allocations: 0 / 435.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.286e-05/0.2686, allocations: 8 kB / 435.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2686, allocations: 3.984 kB / 435.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.2686, allocations: 11.94 kB / 435.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.2686, allocations: 3.984 kB / 435.2 MB, free: 2.285 MB / 334.1 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.656e-05/0.2687, allocations: 109.9 kB / 435.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.2687, allocations: 11.88 kB / 435.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.2687, allocations: 7.688 kB / 435.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2687, allocations: 0 / 435.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2687, allocations: 0 / 435.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2687, allocations: 0 / 435.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.2689, allocations: 132.7 kB / 435.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2689, allocations: 0 / 435.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-05/0.2689, allocations: 11.88 kB / 435.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2689, allocations: 0 / 435.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.269, allocations: 4 kB / 435.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.269, allocations: 4 kB / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.269, allocations: 0 / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.2691, allocations: 73.11 kB / 435.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.2691, allocations: 11.97 kB / 435.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.2691, allocations: 0 / 435.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.729e-05/0.2692, allocations: 0 / 435.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.2692, allocations: 0 / 435.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.2692, allocations: 7.938 kB / 435.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.461e-05/0.2692, allocations: 83.27 kB / 435.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2692, allocations: 0 / 435.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.2695, allocations: 51.88 kB / 435.7 MB, free: 1.711 MB / 334.1 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.0005686/0.2701, allocations: 0.6709 MB / 436.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.464e-05/0.2702, allocations: 19.98 kB / 436.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2702, allocations: 0 / 436.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.281e-05/0.2702, allocations: 7.938 kB / 436.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.2703, allocations: 14.52 kB / 436.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.2714, allocations: 1.182 MB / 437.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.155e-05/0.2715, allocations: 67.28 kB / 437.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.612e-05/0.2716, allocations: 8.109 kB / 437.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.2716, allocations: 15.44 kB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2716, allocations: 0 / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.3009, allocations: 2.569 MB / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.42, allocations: 5.516 kB / 440.3 MB, free: 13.14 MB / 350.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 13.93367218784988]