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.00152/0.00152, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001584/0.001584, allocations: 180.5 kB / 23.72 MB, free: 4.699 MB / 14.72 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.418/1.418, allocations: 225.7 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 47.92 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2518, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.001623/0.2534, allocations: 0.5277 MB / 423.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.2555, allocations: 1.5 MB / 424.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.2555, allocations: 4 kB / 424.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.2555, allocations: 3.938 kB / 424.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000634/0.2561, allocations: 175.4 kB / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.012e-05/0.2562, allocations: 0 / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.854e-05/0.2562, allocations: 15.98 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.2563, allocations: 4 kB / 424.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.344e-05/0.2563, allocations: 11.92 kB / 424.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.2564, allocations: 15.94 kB / 424.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.2564, allocations: 0 / 424.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003982/0.2568, allocations: 239.7 kB / 425.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.2568, allocations: 4 kB / 425.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.2568, allocations: 7.938 kB / 425.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.2571, allocations: 172 kB / 425.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2571, allocations: 0 / 425.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2571, allocations: 0 / 425.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.2571, allocations: 4 kB / 425.3 MB, free: 11.93 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.000413/0.2575, allocations: 286 kB / 425.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2575, allocations: 15.95 kB / 425.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.2576, allocations: 30.75 kB / 425.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.2576, allocations: 4.938 kB / 425.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2577, allocations: 110.5 kB / 425.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.662e-06/0.2577, allocations: 384 / 425.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.2577, allocations: 4.312 kB / 425.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.232e-05/0.2578, allocations: 41.81 kB / 425.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2578, allocations: 0 / 425.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.2578, allocations: 4 kB / 425.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2578, allocations: 4 kB / 425.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.024e-05/0.2579, allocations: 7.984 kB / 425.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.258, allocations: 132.7 kB / 425.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.475e-05/0.2581, allocations: 38.55 kB / 426 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.2581, allocations: 8.859 kB / 426 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.2581, allocations: 0 / 426 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.2582, allocations: 38.5 kB / 426 MB, free: 11.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 2.676e-06/0.2582, allocations: 3.984 kB / 426 MB, free: 11.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001342/0.2583, allocations: 45.78 kB / 426.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.2584, allocations: 55.39 kB / 426.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.652e-05/0.2584, allocations: 101.9 kB / 426.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.2585, allocations: 33.58 kB / 426.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.2585, allocations: 84.14 kB / 426.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.2585, allocations: 15.89 kB / 426.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.2586, allocations: 21.72 kB / 426.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2587, allocations: 314.8 kB / 426.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.2587, allocations: 8 kB / 426.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.2588, allocations: 17.7 kB / 426.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.444e-05/0.2588, allocations: 29.72 kB / 426.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2588, allocations: 0 / 426.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.06e-05/0.2589, allocations: 65.52 kB / 426.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2589, allocations: 4 kB / 426.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2589, allocations: 4 kB / 426.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2589, allocations: 0 / 426.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.259, allocations: 8 kB / 426.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.259, allocations: 0 / 426.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.523e-05/0.259, allocations: 7.984 kB / 426.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.259, allocations: 0 / 426.8 MB, free: 10.21 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 8.774e-05/0.2591, allocations: 113.8 kB / 426.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.2591, allocations: 7.969 kB / 426.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.449e-05/0.2592, allocations: 11.69 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2592, allocations: 0 / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2592, allocations: 0 / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2592, allocations: 4.062 kB / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.2593, allocations: 128.8 kB / 427.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2593, allocations: 0 / 427.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.2593, allocations: 11.94 kB / 427.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2593, allocations: 0 / 427.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2594, allocations: 3.984 kB / 427.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2594, allocations: 0 / 427.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2594, allocations: 4 kB / 427.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.2595, allocations: 81.11 kB / 427.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-06/0.2595, allocations: 3.938 kB / 427.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.2595, allocations: 0 / 427.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.726e-05/0.2595, allocations: 3.938 kB / 427.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.2595, allocations: 7.984 kB / 427.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.2595, allocations: 480 / 427.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.609e-05/0.2596, allocations: 87.28 kB / 427.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2596, allocations: 4 kB / 427.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.2598, allocations: 55.8 kB / 427.3 MB, free: 9.617 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.0005741/0.2604, allocations: 0.6554 MB / 428 MB, free: 8.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.367e-05/0.2605, allocations: 23.92 kB / 428 MB, free: 8.906 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2605, allocations: 4.125 kB / 428 MB, free: 8.902 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.274e-05/0.2605, allocations: 4 kB / 428 MB, free: 8.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.2607, allocations: 15.27 kB / 428 MB, free: 8.887 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.2618, allocations: 1.178 MB / 429.2 MB, free: 7.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.2621, allocations: 0.6805 MB / 429.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.535e-05/0.2622, allocations: 7.984 kB / 429.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.2622, allocations: 15.53 kB / 429.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2622, allocations: 3.938 kB / 429.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.2936, allocations: 2.115 MB / 432 MB, free: 4.895 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.97, allocations: 6.297 kB / 432 MB, free: 4.891 MB / 334.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3.fmu > Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Nonlinear/Examples/QuadratureLobatto3/QuadratureLobatto3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.492719402001967]