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.001654/0.001654, allocations: 114.1 kB / 19.71 MB, free: 2.18 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.002068/0.002068, allocations: 217.3 kB / 23.02 MB, free: 5.027 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.454/1.454, allocations: 207.6 MB / 233.8 MB, free: 10 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.636/0.636, allocations: 114.3 MB / 400.4 MB, free: 16.38 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.002209/0.002209, allocations: 75.55 kB / 0.5594 GB, free: 47.17 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1546, allocations: 78.64 MB / 0.6362 GB, free: 5.977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.004328/0.159, allocations: 2.072 MB / 0.6382 GB, free: 3.879 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005212/0.1595, allocations: 147.7 kB / 0.6384 GB, free: 3.734 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.1596, allocations: 7.938 kB / 0.6384 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.1598, allocations: 27.72 kB / 0.6384 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.1599, allocations: 31.67 kB / 0.6384 GB, free: 3.668 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.1601, allocations: 55.89 kB / 0.6385 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.1603, allocations: 188 kB / 0.6387 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.1606, allocations: 69.64 kB / 0.6387 GB, free: 3.359 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.764e-05/0.1606, allocations: 63.72 kB / 0.6388 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1608, allocations: 71.56 kB / 0.6389 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.1608, allocations: 23.94 kB / 0.6389 GB, free: 3.203 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.541e-05/0.1608, allocations: 16 kB / 0.6389 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.1609, allocations: 39.84 kB / 0.639 GB, free: 3.148 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.963e-05/0.161, allocations: 83.53 kB / 0.639 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1612, allocations: 211 kB / 0.6392 GB, free: 2.859 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1612, allocations: 0 / 0.6392 GB, free: 2.859 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1612, allocations: 0 / 0.6392 GB, free: 2.859 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1613, allocations: 4 kB / 0.6392 GB, free: 2.855 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007228/0.162, allocations: 417.4 kB / 0.6396 GB, free: 2.418 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.162, allocations: 8.031 kB / 0.6396 GB, free: 2.41 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.325e-05/0.1621, allocations: 50.67 kB / 0.6397 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.1621, allocations: 28.73 kB / 0.6397 GB, free: 2.324 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.1624, allocations: 180.2 kB / 0.6399 GB, free: 2.125 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1624, allocations: 8.375 kB / 0.6399 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.1625, allocations: 16.31 kB / 0.6399 GB, free: 2.102 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.1628, allocations: 160.3 kB / 0.6401 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1628, allocations: 0 / 0.6401 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.1628, allocations: 4 kB / 0.6401 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1628, allocations: 4 kB / 0.6401 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.163, allocations: 103.9 kB / 0.6402 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000922/0.1639, allocations: 0.6904 MB / 0.6408 GB, free: 1.066 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.1642, allocations: 110.6 kB / 0.641 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.1643, allocations: 44.84 kB / 0.641 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.1643, allocations: 224 / 0.641 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1643, allocations: 38.5 kB / 0.641 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.1643, allocations: 0 / 0.641 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003811/0.1647, allocations: 157.8 kB / 0.6412 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.1648, allocations: 59.41 kB / 0.6412 GB, free: 0.625 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.165, allocations: 202.2 kB / 0.6414 GB, free: 428 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.165, allocations: 25.7 kB / 0.6415 GB, free: 396 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1651, allocations: 136 kB / 0.6416 GB, free: 256 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.1651, allocations: 47.56 kB / 0.6416 GB, free: 208 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.1652, allocations: 29.72 kB / 0.6417 GB, free: 172 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.1654, allocations: 326.8 kB / 0.642 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.084e-05/0.1655, allocations: 39.97 kB / 0.642 GB, free: 15.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.701e-05/0.1656, allocations: 58.56 kB / 0.6421 GB, free: 15.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.1661, allocations: 213.8 kB / 0.6423 GB, free: 15.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1662, allocations: 0 / 0.6423 GB, free: 15.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002563/0.1664, allocations: 149.5 kB / 0.6424 GB, free: 15.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1664, allocations: 11.98 kB / 0.6424 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1664, allocations: 0 / 0.6424 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1665, allocations: 0 / 0.6424 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1666, allocations: 23.94 kB / 0.6424 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1666, allocations: 4.047 kB / 0.6425 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.955e-05/0.1666, allocations: 15.95 kB / 0.6425 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1667, allocations: 4 kB / 0.6425 GB, free: 15.31 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 (15): * Single equations (assignments): 15 * 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.0001959/0.1669, allocations: 145.6 kB / 0.6426 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.1669, allocations: 15.91 kB / 0.6426 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.1669, allocations: 21.39 kB / 0.6426 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1669, allocations: 0 / 0.6426 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.167, allocations: 0 / 0.6426 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.167, allocations: 3.938 kB / 0.6426 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.1672, allocations: 232.5 kB / 0.6429 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1672, allocations: 0 / 0.6429 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.1674, allocations: 27.92 kB / 0.6429 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1674, allocations: 0 / 0.6429 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1674, allocations: 0 / 0.6429 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1674, allocations: 4 kB / 0.6429 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1674, allocations: 0 / 0.6429 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.1678, allocations: 283.3 kB / 0.6432 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.1678, allocations: 11.94 kB / 0.6432 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1678, allocations: 4 kB / 0.6432 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.302e-05/0.1679, allocations: 4 kB / 0.6432 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.168, allocations: 3.984 kB / 0.6432 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.168, allocations: 8 kB / 0.6432 GB, free: 14.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1681, allocations: 153.5 kB / 0.6433 GB, free: 14.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1681, allocations: 0 / 0.6433 GB, free: 14.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1684, allocations: 27.89 kB / 0.6434 GB, free: 14.32 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 (11): * Single equations (assignments): 11 * 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.0007108/0.1691, allocations: 0.8139 MB / 0.6442 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.1693, allocations: 87.91 kB / 0.6443 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1693, allocations: 0 / 0.6443 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.851e-05/0.1694, allocations: 56.05 kB / 0.6443 GB, free: 13.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.1697, allocations: 19.98 kB / 0.6443 GB, free: 13.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.1722, allocations: 2.068 MB / 0.6463 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.1726, allocations: 0.724 MB / 0.6471 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.383e-05/0.1727, allocations: 13.08 kB / 0.6471 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.1727, allocations: 55.41 kB / 0.6471 GB, free: 10.34 MB / 494.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1727, allocations: 0 / 0.6471 GB, free: 10.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.2046, allocations: 3.439 MB / 0.6505 GB, free: 6.977 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.77, allocations: 3.781 kB / 0.6505 GB, free: 6.977 MB / 494.1 MB " [Timeout remaining time 649] (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: 14.454254519001552]