Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.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.001332/0.001332, allocations: 114.3 kB / 19.72 MB, free: 2.168 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.001509/0.001509, allocations: 217 kB / 23.03 MB, free: 4.969 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.399/1.399, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.6167/0.6167, allocations: 114.3 MB / 400.4 MB, free: 16.27 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.SimplifiedSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",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.002131/0.002131, allocations: 76.86 kB / 0.5594 GB, free: 47.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1405, allocations: 78.64 MB / 0.6362 GB, free: 6.125 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003399/0.1439, allocations: 1.936 MB / 0.6381 GB, free: 4.168 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1451, allocations: 0.6088 MB / 0.6387 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.111e-05/0.1452, allocations: 4 kB / 0.6387 GB, free: 3.551 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.1455, allocations: 55.58 kB / 0.6388 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.1457, allocations: 87.64 kB / 0.6388 GB, free: 3.41 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.146, allocations: 79.89 kB / 0.6389 GB, free: 3.332 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00046/0.1464, allocations: 359.4 kB / 0.6393 GB, free: 2.98 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.1466, allocations: 29.78 kB / 0.6393 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.1468, allocations: 135.6 kB / 0.6394 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.147, allocations: 147.5 kB / 0.6396 GB, free: 2.672 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.147, allocations: 24 kB / 0.6396 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.576e-05/0.1471, allocations: 20 kB / 0.6396 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.878e-05/0.1472, allocations: 63.83 kB / 0.6397 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.574e-05/0.1473, allocations: 91.52 kB / 0.6398 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.1476, allocations: 255 kB / 0.64 GB, free: 2.227 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1476, allocations: 0 / 0.64 GB, free: 2.227 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1476, allocations: 4 kB / 0.64 GB, free: 2.223 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1476, allocations: 0 / 0.64 GB, free: 2.223 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001239/0.1488, allocations: 489.2 kB / 0.6405 GB, free: 1.715 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1489, allocations: 12.03 kB / 0.6405 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.1489, allocations: 42.69 kB / 0.6405 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.149, allocations: 24.8 kB / 0.6405 GB, free: 1.629 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006275/0.1496, allocations: 282.8 kB / 0.6408 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1496, allocations: 8.375 kB / 0.6408 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.1496, allocations: 8.375 kB / 0.6408 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.1499, allocations: 109.7 kB / 0.6409 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1499, allocations: 0 / 0.6409 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1499, allocations: 4 kB / 0.6409 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1499, allocations: 4 kB / 0.6409 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.1501, allocations: 107.9 kB / 0.641 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009272/0.151, allocations: 0.5224 MB / 0.6416 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.1515, allocations: 166.6 kB / 0.6417 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1516, allocations: 48.84 kB / 0.6418 GB, free: 288 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.1516, allocations: 0 / 0.6418 GB, free: 288 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.1516, allocations: 34.56 kB / 0.6418 GB, free: 244 kB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.1516, allocations: 0 / 0.6418 GB, free: 244 kB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008198/0.1524, allocations: 270.1 kB / 0.6421 GB, free: 15.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.1525, allocations: 51.41 kB / 0.6421 GB, free: 15.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006022/0.1531, allocations: 324 kB / 0.6424 GB, free: 15.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1531, allocations: 25.7 kB / 0.6424 GB, free: 15.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1532, allocations: 132 kB / 0.6426 GB, free: 15.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.1533, allocations: 39.67 kB / 0.6426 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.1533, allocations: 25.72 kB / 0.6426 GB, free: 15.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1535, allocations: 330.8 kB / 0.6429 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1536, allocations: 47.97 kB / 0.643 GB, free: 14.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.432e-05/0.1537, allocations: 47.92 kB / 0.643 GB, free: 14.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000814/0.1545, allocations: 265.1 kB / 0.6433 GB, free: 14.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1545, allocations: 0 / 0.6433 GB, free: 14.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003931/0.1549, allocations: 206.2 kB / 0.6435 GB, free: 14.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1549, allocations: 11.94 kB / 0.6435 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1549, allocations: 0 / 0.6435 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.1551, allocations: 48.81 kB / 0.6435 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/0.1551, allocations: 12 kB / 0.6436 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.1566, allocations: 1.444 MB / 0.645 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.1568, allocations: 47.88 kB / 0.645 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.1568, allocations: 4 kB / 0.645 GB, free: 12.76 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: simplifiedSFR.inertia.x_scaled[1]:VARIABLE(start = simplifiedSFR.inertia.X0[1] * simplifiedSFR.inertia.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] simplifiedSFR.feedbackLoop.x_scaled[1]:VARIABLE(start = simplifiedSFR.feedbackLoop.X0[1] * simplifiedSFR.feedbackLoop.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002384/0.1571, allocations: 162.7 kB / 0.6452 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.1571, allocations: 15.91 kB / 0.6452 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.1572, allocations: 25.39 kB / 0.6452 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1572, allocations: 7.938 kB / 0.6452 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1572, allocations: 4 kB / 0.6452 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1572, allocations: 0 / 0.6452 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.1575, allocations: 252.5 kB / 0.6455 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1575, allocations: 0 / 0.6455 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.213e-05/0.1576, allocations: 15.98 kB / 0.6455 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/0.1577, allocations: 40.83 kB / 0.6455 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1578, allocations: 4 kB / 0.6455 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.1591, allocations: 1.451 MB / 0.6469 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1591, allocations: 0 / 0.6469 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.1596, allocations: 348.3 kB / 0.6473 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.593e-05/0.1597, allocations: 39.8 kB / 0.6473 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1597, allocations: 8 kB / 0.6473 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.16, allocations: 19.97 kB / 0.6473 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.16, allocations: 15.98 kB / 0.6473 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.16, allocations: 7.922 kB / 0.6474 GB, free: 10.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004766/0.1605, allocations: 245.8 kB / 0.6476 GB, free: 9.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1605, allocations: 0 / 0.6476 GB, free: 9.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.1608, allocations: 36.09 kB / 0.6476 GB, free: 9.895 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (simplifiedSFR.inertia.x_scaled[1],simplifiedSFR.feedbackLoop.x_scaled[1]) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008838/0.1617, allocations: 0.8812 MB / 0.6485 GB, free: 8.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005205/0.1622, allocations: 246.5 kB / 0.6487 GB, free: 8.727 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1622, allocations: 0 / 0.6487 GB, free: 8.727 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.1625, allocations: 186.6 kB / 0.6489 GB, free: 8.531 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.1628, allocations: 25 kB / 0.6489 GB, free: 8.512 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.1667, allocations: 2.499 MB / 0.6514 GB, free: 5.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.1671, allocations: 0.7397 MB / 0.6521 GB, free: 5.164 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.612e-05/0.1672, allocations: 29.06 kB / 0.6521 GB, free: 5.137 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1673, allocations: 47.42 kB / 0.6522 GB, free: 5.09 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.1673, allocations: 0 / 0.6522 GB, free: 5.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.2016, allocations: 4.586 MB / 0.6566 GB, free: 0.582 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.15, allocations: 3.094 kB / 0.6566 GB, free: 0.582 MB / 494.1 MB " [Timeout remaining time 649] (rm -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_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_SimplifiedSFR.fmu > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable simplifiedSFR.deltaFrequency in file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.csv. Warning: Get data of variable simplifiedSFR.deltaFrequency from file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.746100583000953]