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.001712/0.001712, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001968/0.001968, allocations: 210.6 kB / 23.01 MB, free: 4.621 MB / 14.72 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 1.493/1.493, allocations: 207.7 MB / 233.9 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.6994/0.6994, allocations: 115.9 MB / 402 MB, free: 16.04 MB / 318.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 73.03 kB / 0.5617 GB, free: 45.95 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1785, allocations: 79.04 MB / 0.6389 GB, free: 3.254 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003909/0.1824, allocations: 2.072 MB / 0.6409 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1836, allocations: 0.5892 MB / 0.6415 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.1837, allocations: 7.938 kB / 0.6415 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.1839, allocations: 23.67 kB / 0.6415 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.184, allocations: 51.59 kB / 0.6416 GB, free: 500 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.1842, allocations: 71.92 kB / 0.6416 GB, free: 428 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.1845, allocations: 208 kB / 0.6418 GB, free: 220 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.1847, allocations: 75.92 kB / 0.6419 GB, free: 136 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.1848, allocations: 87.58 kB / 0.642 GB, free: 48 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.185, allocations: 83.48 kB / 0.6421 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.185, allocations: 20 kB / 0.6421 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.723e-05/0.1851, allocations: 24 kB / 0.6421 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.1851, allocations: 47.78 kB / 0.6421 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.868e-05/0.1852, allocations: 75.53 kB / 0.6422 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.1855, allocations: 266.8 kB / 0.6425 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1855, allocations: 3.984 kB / 0.6425 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1855, allocations: 0 / 0.6425 GB, free: 15.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1855, allocations: 0 / 0.6425 GB, free: 15.54 MB / 494.1 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.0008386/0.1864, allocations: 449.5 kB / 0.6429 GB, free: 15.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1864, allocations: 8.922 kB / 0.6429 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.1865, allocations: 58.67 kB / 0.643 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.1865, allocations: 24.8 kB / 0.643 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.1871, allocations: 203 kB / 0.6432 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.1871, allocations: 12.7 kB / 0.6432 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.1872, allocations: 16.38 kB / 0.6432 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.1876, allocations: 196.3 kB / 0.6434 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1876, allocations: 0 / 0.6434 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.1876, allocations: 8 kB / 0.6434 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1876, allocations: 4 kB / 0.6434 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.1879, allocations: 119.6 kB / 0.6435 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.1891, allocations: 0.6713 MB / 0.6442 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.1896, allocations: 134.6 kB / 0.6443 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1897, allocations: 52.84 kB / 0.6444 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1897, allocations: 4 kB / 0.6444 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1898, allocations: 34.56 kB / 0.6444 GB, free: 13.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.1898, allocations: 0 / 0.6444 GB, free: 13.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006256/0.1904, allocations: 189.3 kB / 0.6446 GB, free: 13.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.1904, allocations: 59.42 kB / 0.6446 GB, free: 13.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.1907, allocations: 232.9 kB / 0.6449 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1908, allocations: 25.7 kB / 0.6449 GB, free: 12.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.1909, allocations: 148.3 kB / 0.645 GB, free: 12.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.1909, allocations: 51.52 kB / 0.6451 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.191, allocations: 33.7 kB / 0.6451 GB, free: 12.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.1912, allocations: 334.8 kB / 0.6454 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.1913, allocations: 39.97 kB / 0.6455 GB, free: 12.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.1914, allocations: 68.44 kB / 0.6455 GB, free: 12.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/0.1921, allocations: 222.6 kB / 0.6457 GB, free: 11.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1921, allocations: 4 kB / 0.6457 GB, free: 11.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003109/0.1924, allocations: 173.1 kB / 0.6459 GB, free: 11.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.1924, allocations: 15.92 kB / 0.6459 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1924, allocations: 0 / 0.6459 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1924, allocations: 0 / 0.6459 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1926, allocations: 24 kB / 0.6459 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.1926, allocations: 3.984 kB / 0.6459 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.005e-05/0.1927, allocations: 19.83 kB / 0.646 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1927, allocations: 4.062 kB / 0.646 GB, free: 11.74 MB / 494.1 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.0002225/0.1929, allocations: 141.8 kB / 0.6461 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.1929, allocations: 15.91 kB / 0.6461 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.193, allocations: 25.77 kB / 0.6461 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.193, allocations: 4 kB / 0.6461 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.193, allocations: 0 / 0.6461 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.193, allocations: 3.938 kB / 0.6462 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.1934, allocations: 224.6 kB / 0.6464 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1934, allocations: 0 / 0.6464 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.1935, allocations: 27.92 kB / 0.6464 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1935, allocations: 4 kB / 0.6464 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.1935, allocations: 8 kB / 0.6464 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1935, allocations: 0 / 0.6464 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1935, allocations: 3.938 kB / 0.6464 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.194, allocations: 311.2 kB / 0.6467 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.1941, allocations: 19.89 kB / 0.6467 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1941, allocations: 4 kB / 0.6467 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1942, allocations: 4 kB / 0.6467 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.1942, allocations: 15.91 kB / 0.6467 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.1943, allocations: 8.062 kB / 0.6468 GB, free: 10.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002799/0.1945, allocations: 164.5 kB / 0.6469 GB, free: 10.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1945, allocations: 0 / 0.6469 GB, free: 10.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1948, allocations: 31.94 kB / 0.6469 GB, free: 10.68 MB / 494.1 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.0009044/0.1957, allocations: 0.8372 MB / 0.6478 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003419/0.196, allocations: 110.1 kB / 0.6479 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.196, allocations: 0 / 0.6479 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.1962, allocations: 56.11 kB / 0.6479 GB, free: 9.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.1966, allocations: 32.34 kB / 0.648 GB, free: 9.621 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.2, allocations: 2.252 MB / 0.6501 GB, free: 7.285 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.2003, allocations: 133.6 kB / 0.6503 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.898e-05/0.2004, allocations: 13.42 kB / 0.6503 GB, free: 7.121 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.2005, allocations: 55.42 kB / 0.6503 GB, free: 7.066 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2005, allocations: 0 / 0.6503 GB, free: 7.066 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/0.2368, allocations: 4.303 MB / 0.6545 GB, free: 2.836 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/11.96, allocations: 0 / 0.6545 GB, free: 2.836 MB / 494.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv","/var/lib/jenkins1/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: 15.882021637167782]