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.001837/0.001837, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002368/0.002368, allocations: 214.2 kB / 23.01 MB, free: 4.992 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.497/1.497, 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.694/0.694, allocations: 115.9 MB / 402 MB, free: 15.93 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.002478/0.002478, allocations: 79.11 kB / 0.5617 GB, free: 46.03 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1603, allocations: 79.03 MB / 0.6389 GB, free: 3.223 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003449/0.1638, allocations: 1.886 MB / 0.6407 GB, free: 1.32 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1648, allocations: 0.5816 MB / 0.6413 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.781e-05/0.1649, allocations: 0 / 0.6413 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.1652, allocations: 51.7 kB / 0.6413 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.1655, allocations: 91.64 kB / 0.6414 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.1657, allocations: 71.91 kB / 0.6415 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004677/0.1661, allocations: 355.3 kB / 0.6418 GB, free: 180 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1663, allocations: 33.77 kB / 0.6419 GB, free: 144 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.1665, allocations: 139.6 kB / 0.642 GB, free: 4 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.1667, allocations: 135.5 kB / 0.6421 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.1667, allocations: 20 kB / 0.6421 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.212e-05/0.1668, allocations: 24 kB / 0.6422 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1669, allocations: 67.77 kB / 0.6422 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.19e-05/0.167, allocations: 63.66 kB / 0.6423 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.1673, allocations: 251 kB / 0.6425 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1673, allocations: 4 kB / 0.6425 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1673, allocations: 0 / 0.6425 GB, free: 15.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.1673, allocations: 0 / 0.6425 GB, free: 15.45 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001211/0.1685, allocations: 0.4893 MB / 0.643 GB, free: 14.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1685, allocations: 12.86 kB / 0.643 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.39e-05/0.1686, allocations: 42.75 kB / 0.6431 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.1686, allocations: 24.8 kB / 0.6431 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.1693, allocations: 278.9 kB / 0.6434 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1693, allocations: 8.375 kB / 0.6434 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.1693, allocations: 8.375 kB / 0.6434 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.1696, allocations: 109.7 kB / 0.6435 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1696, allocations: 0 / 0.6435 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1696, allocations: 8 kB / 0.6435 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1696, allocations: 0 / 0.6435 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.1698, allocations: 107.9 kB / 0.6436 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008676/0.1707, allocations: 447.7 kB / 0.644 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.1711, allocations: 158.6 kB / 0.6442 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.1713, allocations: 60.77 kB / 0.6442 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.1713, allocations: 0 / 0.6442 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1713, allocations: 34.56 kB / 0.6443 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.1713, allocations: 0 / 0.6443 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008342/0.1721, allocations: 266.1 kB / 0.6445 GB, free: 13.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.1722, allocations: 51.41 kB / 0.6446 GB, free: 13.22 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006465/0.1728, allocations: 324 kB / 0.6449 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1729, allocations: 33.7 kB / 0.6449 GB, free: 12.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.173, allocations: 128 kB / 0.645 GB, free: 12.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.173, allocations: 35.7 kB / 0.6451 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.1731, allocations: 25.7 kB / 0.6451 GB, free: 12.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1732, allocations: 326.8 kB / 0.6454 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.1734, allocations: 47.97 kB / 0.6454 GB, free: 12.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.44e-05/0.1735, allocations: 43.97 kB / 0.6455 GB, free: 12.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008461/0.1743, allocations: 265.1 kB / 0.6457 GB, free: 11.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1743, allocations: 0 / 0.6457 GB, free: 11.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004167/0.1747, allocations: 210.2 kB / 0.6459 GB, free: 11.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1747, allocations: 8 kB / 0.6459 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1748, allocations: 0 / 0.6459 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/0.1749, allocations: 52.75 kB / 0.646 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.824e-05/0.175, allocations: 8 kB / 0.646 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.1766, allocations: 1.451 MB / 0.6474 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.1769, allocations: 35.88 kB / 0.6474 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1769, allocations: 0 / 0.6474 GB, free: 10.09 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.0002369/0.1771, allocations: 154.8 kB / 0.6476 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.1772, allocations: 15.91 kB / 0.6476 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.1772, allocations: 25.45 kB / 0.6476 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1772, allocations: 3.938 kB / 0.6476 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1772, allocations: 4 kB / 0.6476 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1772, allocations: 0 / 0.6476 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.1775, allocations: 220.6 kB / 0.6479 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1775, allocations: 0 / 0.6479 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.1776, allocations: 11.98 kB / 0.6479 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001433/0.1778, allocations: 44.83 kB / 0.6479 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1778, allocations: 0 / 0.6479 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.1792, allocations: 1.451 MB / 0.6493 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1792, allocations: 0 / 0.6493 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/0.1798, allocations: 352 kB / 0.6497 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.1799, allocations: 31.88 kB / 0.6497 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.1799, allocations: 0 / 0.6497 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.1801, allocations: 36.08 kB / 0.6497 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.1802, allocations: 11.92 kB / 0.6497 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1802, allocations: 3.938 kB / 0.6497 GB, free: 7.555 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005237/0.1807, allocations: 249.8 kB / 0.65 GB, free: 7.309 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1807, allocations: 96 / 0.65 GB, free: 7.309 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.181, allocations: 39.94 kB / 0.65 GB, free: 7.27 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.0009565/0.1819, allocations: 0.8771 MB / 0.6509 GB, free: 6.359 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005191/0.1825, allocations: 242.5 kB / 0.6511 GB, free: 6.109 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1825, allocations: 0 / 0.6511 GB, free: 6.109 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.1828, allocations: 178.7 kB / 0.6513 GB, free: 5.922 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1831, allocations: 37.34 kB / 0.6513 GB, free: 5.895 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.1872, allocations: 2.489 MB / 0.6537 GB, free: 3.328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.1874, allocations: 128.1 kB / 0.6539 GB, free: 3.184 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.344e-05/0.1875, allocations: 25.06 kB / 0.6539 GB, free: 3.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.1876, allocations: 55.42 kB / 0.6539 GB, free: 3.105 MB / 494.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1876, allocations: 0 / 0.6539 GB, free: 3.105 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.2235, allocations: 5.118 MB / 0.6589 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.13, allocations: 10.69 kB / 0.6589 GB, free: 14.05 MB / 0.4981 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.844969565048814]