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.001816/0.001816, 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.001808/0.001808, allocations: 210.2 kB / 23.01 MB, free: 4.625 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.672/1.672, allocations: 207.7 MB / 233.9 MB, free: 9.801 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.7574/0.7574, allocations: 118.1 MB / 404.3 MB, free: 14.33 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: translateModel(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reducedOrderSFR.deltaFrequency",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR") translateModel(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reducedOrderSFR.deltaFrequency",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR") [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.002343/0.002343, allocations: 79.31 kB / 0.5655 GB, free: 44.79 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2048, allocations: 79.62 MB / 0.6433 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.004144/0.209, allocations: 2.057 MB / 0.6453 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2102, allocations: 0.597 MB / 0.6459 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.2104, allocations: 4 kB / 0.6459 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.2105, allocations: 27.66 kB / 0.6459 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.2107, allocations: 47.53 kB / 0.646 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.2109, allocations: 71.88 kB / 0.646 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.2112, allocations: 219.9 kB / 0.6462 GB, free: 12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.2114, allocations: 71.94 kB / 0.6463 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2115, allocations: 83.62 kB / 0.6464 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.2116, allocations: 87.5 kB / 0.6465 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.2117, allocations: 20 kB / 0.6465 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.725e-05/0.2117, allocations: 20 kB / 0.6465 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.2118, allocations: 51.78 kB / 0.6466 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.2119, allocations: 75.53 kB / 0.6466 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.2124, allocations: 270.8 kB / 0.6469 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2124, allocations: 0 / 0.6469 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.2124, allocations: 0 / 0.6469 GB, free: 11.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.2124, allocations: 0 / 0.6469 GB, free: 11.33 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.0008417/0.2132, allocations: 453.5 kB / 0.6473 GB, free: 10.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.2133, allocations: 8.031 kB / 0.6473 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.2134, allocations: 28.75 kB / 0.6474 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.2138, allocations: 205.3 kB / 0.6476 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.2138, allocations: 12.7 kB / 0.6476 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.2139, allocations: 16.38 kB / 0.6476 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.2142, allocations: 206.1 kB / 0.6478 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2143, allocations: 0 / 0.6478 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.2143, allocations: 8 kB / 0.6478 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2143, allocations: 4 kB / 0.6478 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.2145, allocations: 115.7 kB / 0.6479 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.2156, allocations: 0.6213 MB / 0.6485 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.216, allocations: 134.6 kB / 0.6486 GB, free: 9.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.2161, allocations: 52.83 kB / 0.6487 GB, free: 9.375 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.2161, allocations: 0 / 0.6487 GB, free: 9.375 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.2161, allocations: 42.55 kB / 0.6487 GB, free: 9.324 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 8.71e-07/0.2161, allocations: 0 / 0.6487 GB, free: 9.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004521/0.2166, allocations: 189.1 kB / 0.6489 GB, free: 9.137 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.2166, allocations: 51.41 kB / 0.649 GB, free: 9.074 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.2169, allocations: 211.6 kB / 0.6492 GB, free: 8.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.2169, allocations: 25.7 kB / 0.6492 GB, free: 8.824 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.217, allocations: 152.3 kB / 0.6493 GB, free: 8.672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.2171, allocations: 55.52 kB / 0.6494 GB, free: 8.617 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.2171, allocations: 29.7 kB / 0.6494 GB, free: 8.582 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.2173, allocations: 330.8 kB / 0.6497 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2174, allocations: 47.92 kB / 0.6498 GB, free: 8.203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.2176, allocations: 67.33 kB / 0.6498 GB, free: 8.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006959/0.2182, allocations: 238 kB / 0.6501 GB, free: 7.891 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2183, allocations: 0 / 0.6501 GB, free: 7.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003165/0.2186, allocations: 157.5 kB / 0.6502 GB, free: 7.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2186, allocations: 4 kB / 0.6502 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2186, allocations: 4 kB / 0.6502 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.2186, allocations: 0 / 0.6502 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.2188, allocations: 35.98 kB / 0.6503 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.2188, allocations: 0 / 0.6503 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.2188, allocations: 15.89 kB / 0.6503 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.2189, allocations: 4 kB / 0.6503 GB, free: 7.668 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.0002238/0.2191, allocations: 141 kB / 0.6504 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.2191, allocations: 23.8 kB / 0.6504 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.781e-05/0.2192, allocations: 21.47 kB / 0.6505 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2192, allocations: 0 / 0.6505 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.2192, allocations: 3.984 kB / 0.6505 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2192, allocations: 3.938 kB / 0.6505 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.2195, allocations: 201.2 kB / 0.6507 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2195, allocations: 0 / 0.6507 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.2196, allocations: 16 kB / 0.6507 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.2196, allocations: 4 kB / 0.6507 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.2196, allocations: 0 / 0.6507 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.2196, allocations: 3.984 kB / 0.6507 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2196, allocations: 0 / 0.6507 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.2201, allocations: 315.2 kB / 0.651 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.2202, allocations: 15.89 kB / 0.651 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.2202, allocations: 8.062 kB / 0.651 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.701e-05/0.2203, allocations: 8 kB / 0.651 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.2204, allocations: 3.984 kB / 0.651 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2204, allocations: 4 kB / 0.651 GB, free: 6.859 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.2205, allocations: 152.6 kB / 0.6512 GB, free: 6.711 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2205, allocations: 0 / 0.6512 GB, free: 6.711 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.2208, allocations: 35.89 kB / 0.6512 GB, free: 6.676 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.0001332/0.2209, allocations: 91.25 kB / 0.6513 GB, free: 6.574 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.2212, allocations: 120 kB / 0.6514 GB, free: 6.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2212, allocations: 0 / 0.6514 GB, free: 6.457 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.2213, allocations: 55.92 kB / 0.6515 GB, free: 6.402 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.2217, allocations: 25.8 kB / 0.6515 GB, free: 6.379 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009197/0.2226, allocations: 399.1 kB / 0.6519 GB, free: 5.965 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.2228, allocations: 129.6 kB / 0.652 GB, free: 5.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.514e-05/0.2228, allocations: 9.422 kB / 0.652 GB, free: 5.809 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.2229, allocations: 15.44 kB / 0.652 GB, free: 5.793 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2229, allocations: 0 / 0.652 GB, free: 5.793 MB / 494.1 MB Notification: Performance of Templates: time 0.005545/0.2284, allocations: 1.438 MB / 0.6534 GB, free: 4.371 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.makefile [Timeout 660] (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 & ./Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv","/var/lib/jenkins/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: 6.373532181605697]