Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.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.001152/0.001152, allocations: 72.52 kB / 19.95 MB, free: 4.613 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.001397/0.001397, allocations: 173.2 kB / 23.23 MB, free: 1.328 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.8389/0.8389, allocations: 158.6 MB / 185 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4574/0.4574, allocations: 90.28 MB / 327.5 MB, free: 15.02 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) 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(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.4923 GB, free: 21.37 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.009e-05, allocations: 3.812 kB / 0.4923 GB, free: 21.37 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.002343/0.002363, allocations: 2.054 MB / 0.4943 GB, free: 19.96 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008068/0.00317, allocations: 0.5969 MB / 0.4949 GB, free: 19.55 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.889e-05/0.003269, allocations: 2.781 kB / 0.4949 GB, free: 19.55 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.003388, allocations: 30.64 kB / 0.4949 GB, free: 19.53 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.485e-05/0.003472, allocations: 48.08 kB / 0.495 GB, free: 19.49 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.00362, allocations: 68.42 kB / 0.495 GB, free: 19.45 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.003826, allocations: 224.2 kB / 0.4952 GB, free: 19.34 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.003971, allocations: 71.72 kB / 0.4953 GB, free: 19.29 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.004039, allocations: 78.08 kB / 0.4954 GB, free: 19.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.004119, allocations: 65.12 kB / 0.4954 GB, free: 19.22 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.004155, allocations: 20.66 kB / 0.4955 GB, free: 19.22 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.125e-05/0.004176, allocations: 22.59 kB / 0.4955 GB, free: 19.22 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.004207, allocations: 47.25 kB / 0.4955 GB, free: 19.18 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.004257, allocations: 66.62 kB / 0.4956 GB, free: 19.14 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.004532, allocations: 259.9 kB / 0.4958 GB, free: 19.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004534, allocations: 0.5156 kB / 0.4958 GB, free: 19.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004535, allocations: 0 / 0.4958 GB, free: 19.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.004541, allocations: 1.188 kB / 0.4958 GB, free: 19.04 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007305/0.005271, allocations: 449.2 kB / 0.4963 GB, free: 18.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.005319, allocations: 13.81 kB / 0.4963 GB, free: 18.66 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.005361, allocations: 48.52 kB / 0.4963 GB, free: 18.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.005412, allocations: 28.83 kB / 0.4964 GB, free: 18.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.005697, allocations: 205.9 kB / 0.4966 GB, free: 18.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.005718, allocations: 15.73 kB / 0.4966 GB, free: 18.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.005745, allocations: 15 kB / 0.4966 GB, free: 18.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.006014, allocations: 192.8 kB / 0.4968 GB, free: 18.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.006024, allocations: 192 / 0.4968 GB, free: 18.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.006039, allocations: 17.8 kB / 0.4968 GB, free: 18.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.006047, allocations: 4.625 kB / 0.4968 GB, free: 18.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.00621, allocations: 116.9 kB / 0.4969 GB, free: 18.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000731/0.006941, allocations: 0.6676 MB / 0.4975 GB, free: 17.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.007213, allocations: 142.4 kB / 0.4977 GB, free: 17.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.563e-05/0.007278, allocations: 48.27 kB / 0.4977 GB, free: 17.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.007293, allocations: 5.906 kB / 0.4977 GB, free: 17.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.007307, allocations: 37.17 kB / 0.4978 GB, free: 17.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.007309, allocations: 0 / 0.4978 GB, free: 17.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003009/0.00761, allocations: 180.8 kB / 0.4979 GB, free: 17.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.007633, allocations: 54.55 kB / 0.498 GB, free: 17.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.007792, allocations: 225.7 kB / 0.4982 GB, free: 17.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.007801, allocations: 34.25 kB / 0.4982 GB, free: 17.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.007861, allocations: 143.7 kB / 0.4984 GB, free: 17.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.007887, allocations: 57.31 kB / 0.4984 GB, free: 17.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.007929, allocations: 28.88 kB / 0.4985 GB, free: 17.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.007977, allocations: 343.4 kB / 0.4988 GB, free: 16.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.409e-05/0.008042, allocations: 42.38 kB / 0.4988 GB, free: 16.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.00811, allocations: 66.88 kB / 0.4989 GB, free: 16.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.008541, allocations: 233.2 kB / 0.4991 GB, free: 16.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008543, allocations: 1.312 kB / 0.4991 GB, free: 16.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001981/0.008741, allocations: 161.3 kB / 0.4993 GB, free: 16.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.008758, allocations: 5.469 kB / 0.4993 GB, free: 16.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.008764, allocations: 5.359 kB / 0.4993 GB, free: 16.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.008777, allocations: 2.266 kB / 0.4993 GB, free: 16.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.971e-05/0.008856, allocations: 24.92 kB / 0.4993 GB, free: 16.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.008862, allocations: 1.219 kB / 0.4993 GB, free: 16.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.008907, allocations: 22.2 kB / 0.4993 GB, free: 16.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.008915, allocations: 7.906 kB / 0.4993 GB, free: 16.41 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: reducedOrderSFR.firstOrder.y:VARIABLE(flow=false start = reducedOrderSFR.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (reducedOrderSFR.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001321/0.009047, allocations: 140 kB / 0.4995 GB, free: 16.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.009072, allocations: 17.78 kB / 0.4995 GB, free: 16.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.009104, allocations: 25.39 kB / 0.4995 GB, free: 16.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.009107, allocations: 2.469 kB / 0.4995 GB, free: 16.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.009113, allocations: 0.5625 kB / 0.4995 GB, free: 16.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.009117, allocations: 0.7969 kB / 0.4995 GB, free: 16.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.009297, allocations: 238.8 kB / 0.4997 GB, free: 16.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.009299, allocations: 1.125 kB / 0.4997 GB, free: 16.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.879e-05/0.009388, allocations: 29.09 kB / 0.4998 GB, free: 16.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.009391, allocations: 0.75 kB / 0.4998 GB, free: 16.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.0094, allocations: 1.25 kB / 0.4998 GB, free: 16.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.009402, allocations: 1.25 kB / 0.4998 GB, free: 16.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.009404, allocations: 4.5 kB / 0.4998 GB, free: 16.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.009677, allocations: 315 kB / 0.5001 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.009701, allocations: 15.12 kB / 0.5001 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.009718, allocations: 5.562 kB / 0.5001 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.268e-05/0.009771, allocations: 4.094 kB / 0.5001 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.009804, allocations: 6.984 kB / 0.5001 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.00981, allocations: 6.281 kB / 0.5001 GB, free: 15.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.009911, allocations: 170.1 kB / 0.5003 GB, free: 15.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009911, allocations: 0 / 0.5003 GB, free: 15.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.01009, allocations: 36.92 kB / 0.5003 GB, free: 15.69 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (reducedOrderSFR.integrator.y,reducedOrderSFR.firstOrder.y) * 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 (13): * Single equations (assignments): 13 * 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.0003632/0.01045, allocations: 0.8333 MB / 0.5011 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.01065, allocations: 109.9 kB / 0.5012 GB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01065, allocations: 192 / 0.5012 GB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.648e-05/0.01072, allocations: 62.75 kB / 0.5013 GB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.01097, allocations: 21.3 kB / 0.5013 GB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.01314, allocations: 2.256 MB / 0.5035 GB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.01324, allocations: 129.6 kB / 0.5036 GB, free: 13.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.597e-05/0.01331, allocations: 12.69 kB / 0.5037 GB, free: 13.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.771e-05/0.01338, allocations: 62.73 kB / 0.5037 GB, free: 13.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01338, allocations: 1.031 kB / 0.5037 GB, free: 13.12 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.03377, allocations: 4.453 MB / 0.5081 GB, free: 11.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/7.938, allocations: 2.188 kB / 0.5081 GB, free: 11.91 MB / 442.7 MB " [Timeout remaining time 652] (rm -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR.fmu > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable reducedOrderSFR.deltaFrequency in file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv. Warning: Get data of variable reducedOrderSFR.deltaFrequency from file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.483329525217414]