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.001626/0.001626, 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.002109/0.002109, allocations: 207.4 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.508/1.508, allocations: 207.7 MB / 233.9 MB, free: 9.797 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.6988/0.6988, allocations: 115.9 MB / 402 MB, free: 15.97 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.002199/0.002199, allocations: 75.14 kB / 0.5617 GB, free: 46.12 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1421, allocations: 79.04 MB / 0.6389 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003941/0.1461, allocations: 2.072 MB / 0.6409 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.1473, allocations: 0.6009 MB / 0.6415 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.1475, allocations: 0 / 0.6415 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.1476, allocations: 27.66 kB / 0.6415 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.1477, allocations: 43.61 kB / 0.6416 GB, free: 496 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.1479, allocations: 71.92 kB / 0.6416 GB, free: 424 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.1482, allocations: 216 kB / 0.6418 GB, free: 208 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.1484, allocations: 75.92 kB / 0.6419 GB, free: 124 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.639e-05/0.1485, allocations: 79.59 kB / 0.642 GB, free: 44 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.1486, allocations: 83.61 kB / 0.6421 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.1487, allocations: 20 kB / 0.6421 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.354e-05/0.1487, allocations: 27.94 kB / 0.6421 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.1488, allocations: 47.83 kB / 0.6421 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.979e-05/0.1489, allocations: 71.55 kB / 0.6422 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.1492, allocations: 266.9 kB / 0.6425 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1492, allocations: 4 kB / 0.6425 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1492, allocations: 3.938 kB / 0.6425 GB, free: 15.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1492, allocations: 0 / 0.6425 GB, free: 15.52 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.0007787/0.15, allocations: 453.4 kB / 0.6429 GB, free: 15.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.15, allocations: 8.922 kB / 0.6429 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.267e-05/0.1501, allocations: 54.73 kB / 0.643 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.662e-05/0.1501, allocations: 28.8 kB / 0.643 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.1505, allocations: 203 kB / 0.6432 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1505, allocations: 8.703 kB / 0.6432 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.1505, allocations: 16.38 kB / 0.6432 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.1509, allocations: 196.3 kB / 0.6434 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1509, allocations: 0 / 0.6434 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.1509, allocations: 4 kB / 0.6434 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1509, allocations: 4 kB / 0.6434 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.1512, allocations: 123.6 kB / 0.6435 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.1522, allocations: 0.6635 MB / 0.6442 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.1526, allocations: 138.6 kB / 0.6443 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1527, allocations: 48.84 kB / 0.6444 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.1527, allocations: 4 kB / 0.6444 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.1528, allocations: 34.56 kB / 0.6444 GB, free: 13.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1528, allocations: 4 kB / 0.6444 GB, free: 13.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.000418/0.1532, allocations: 185.5 kB / 0.6446 GB, free: 13.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.1532, allocations: 55.41 kB / 0.6446 GB, free: 13.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1535, allocations: 232.9 kB / 0.6448 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1535, allocations: 29.7 kB / 0.6449 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1536, allocations: 144.3 kB / 0.645 GB, free: 12.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/0.1537, allocations: 51.53 kB / 0.6451 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.1537, allocations: 33.7 kB / 0.6451 GB, free: 12.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1539, allocations: 326.8 kB / 0.6454 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.876e-05/0.154, allocations: 43.98 kB / 0.6454 GB, free: 12.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1541, allocations: 68.42 kB / 0.6455 GB, free: 12.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006663/0.1548, allocations: 226.6 kB / 0.6457 GB, free: 11.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1548, allocations: 0 / 0.6457 GB, free: 11.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002951/0.1551, allocations: 180.6 kB / 0.6459 GB, free: 11.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1551, allocations: 8 kB / 0.6459 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1551, allocations: 0 / 0.6459 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/0.1551, allocations: 7.922 kB / 0.6459 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.1552, allocations: 27.98 kB / 0.6459 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1553, allocations: 3.938 kB / 0.6459 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.559e-05/0.1553, allocations: 19.81 kB / 0.646 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.1554, allocations: 8 kB / 0.646 GB, free: 11.73 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.000194/0.1555, allocations: 133.9 kB / 0.6461 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.1556, allocations: 15.91 kB / 0.6461 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.235e-05/0.1557, allocations: 25.77 kB / 0.6461 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1557, allocations: 4 kB / 0.6461 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1557, allocations: 0 / 0.6461 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1557, allocations: 3.938 kB / 0.6461 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.156, allocations: 228.6 kB / 0.6464 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.156, allocations: 0 / 0.6464 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.1561, allocations: 31.92 kB / 0.6464 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1561, allocations: 0 / 0.6464 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1562, allocations: 4 kB / 0.6464 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1562, allocations: 0 / 0.6464 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1562, allocations: 3.938 kB / 0.6464 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.1566, allocations: 313.6 kB / 0.6467 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.1567, allocations: 19.88 kB / 0.6467 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.1567, allocations: 8 kB / 0.6467 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/0.1568, allocations: 0 / 0.6467 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.1568, allocations: 11.92 kB / 0.6467 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1568, allocations: 8 kB / 0.6467 GB, free: 10.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.157, allocations: 168.5 kB / 0.6469 GB, free: 10.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.157, allocations: 4 kB / 0.6469 GB, free: 10.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.1573, allocations: 31.94 kB / 0.6469 GB, free: 10.67 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.0008363/0.1581, allocations: 0.8372 MB / 0.6478 GB, free: 9.805 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.1584, allocations: 110.1 kB / 0.6479 GB, free: 9.699 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1584, allocations: 0 / 0.6479 GB, free: 9.699 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.1585, allocations: 55.92 kB / 0.6479 GB, free: 9.645 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.1588, allocations: 31.98 kB / 0.648 GB, free: 9.617 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.1617, allocations: 2.248 MB / 0.6501 GB, free: 7.285 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.1618, allocations: 129.7 kB / 0.6503 GB, free: 7.137 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.138e-05/0.1619, allocations: 17.36 kB / 0.6503 GB, free: 7.121 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.162, allocations: 59.42 kB / 0.6503 GB, free: 7.062 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.162, allocations: 0 / 0.6503 GB, free: 7.062 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.1965, allocations: 4.304 MB / 0.6545 GB, free: 2.828 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.71, allocations: 3.984 kB / 0.6546 GB, free: 2.824 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.mat","/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.mat. Warning: Get data of variable reducedOrderSFR.deltaFrequency from file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.555256846826524]