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.001992/0.001992, allocations: 105 kB / 20.46 MB, free: 1.488 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.002454/0.002454, allocations: 210.1 kB / 23.77 MB, free: 4.691 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.959/1.959, allocations: 207.6 MB / 234.5 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.7227/0.7227, allocations: 114.4 MB / 401.2 MB, free: 16.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.002264/0.002264, allocations: 80.31 kB / 0.5607 GB, free: 46.99 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1912, allocations: 78.62 MB / 0.6374 GB, free: 5.496 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.004256/0.1954, allocations: 2.072 MB / 0.6395 GB, free: 3.398 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005143/0.1959, allocations: 151.6 kB / 0.6396 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1961, allocations: 7.938 kB / 0.6396 GB, free: 3.242 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.1962, allocations: 19.73 kB / 0.6396 GB, free: 3.223 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.1964, allocations: 35.67 kB / 0.6397 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.1966, allocations: 59.92 kB / 0.6397 GB, free: 3.129 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000326/0.1969, allocations: 187.9 kB / 0.6399 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.1971, allocations: 65.64 kB / 0.64 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.278e-05/0.1972, allocations: 63.72 kB / 0.64 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.1973, allocations: 75.62 kB / 0.6401 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.1973, allocations: 19.94 kB / 0.6401 GB, free: 2.723 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.022e-05/0.1974, allocations: 16 kB / 0.6401 GB, free: 2.707 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.1974, allocations: 43.84 kB / 0.6402 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.1975, allocations: 71.55 kB / 0.6402 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.1978, allocations: 219 kB / 0.6405 GB, free: 2.379 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1978, allocations: 0 / 0.6405 GB, free: 2.379 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1978, allocations: 0 / 0.6405 GB, free: 2.379 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1979, allocations: 4 kB / 0.6405 GB, free: 2.375 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.000828/0.1987, allocations: 413.4 kB / 0.6409 GB, free: 1.941 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1987, allocations: 8.031 kB / 0.6409 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.1988, allocations: 24.8 kB / 0.6409 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.1992, allocations: 188.1 kB / 0.6411 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1992, allocations: 16.31 kB / 0.6411 GB, free: 1.688 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.1993, allocations: 16.38 kB / 0.6411 GB, free: 1.672 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.1996, allocations: 160.5 kB / 0.6412 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1996, allocations: 0 / 0.6412 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.1996, allocations: 4 kB / 0.6413 GB, free: 1.496 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.1996, allocations: 4 kB / 0.6413 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.1999, allocations: 99.89 kB / 0.6413 GB, free: 1.395 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.201, allocations: 0.6944 MB / 0.642 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.2013, allocations: 122.5 kB / 0.6421 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.2014, allocations: 40.84 kB / 0.6422 GB, free: 476 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.2014, allocations: 4 kB / 0.6422 GB, free: 472 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.2015, allocations: 30.56 kB / 0.6422 GB, free: 432 kB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.2015, allocations: 0 / 0.6422 GB, free: 432 kB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004108/0.2019, allocations: 161.8 kB / 0.6424 GB, free: 264 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.2019, allocations: 55.41 kB / 0.6424 GB, free: 196 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.2022, allocations: 198.2 kB / 0.6426 GB, free: 15.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.2022, allocations: 29.7 kB / 0.6426 GB, free: 15.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2023, allocations: 136.1 kB / 0.6428 GB, free: 15.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.2024, allocations: 43.59 kB / 0.6428 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.2024, allocations: 33.64 kB / 0.6428 GB, free: 15.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2026, allocations: 326.8 kB / 0.6432 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.2027, allocations: 31.98 kB / 0.6432 GB, free: 15.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.2028, allocations: 66.55 kB / 0.6433 GB, free: 15.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006581/0.2034, allocations: 201.8 kB / 0.6434 GB, free: 15.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.2034, allocations: 3.938 kB / 0.6434 GB, free: 15.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002701/0.2037, allocations: 153.5 kB / 0.6436 GB, free: 14.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2037, allocations: 5.406 kB / 0.6436 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2037, allocations: 0 / 0.6436 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2037, allocations: 0 / 0.6436 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.2039, allocations: 23.98 kB / 0.6436 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.2039, allocations: 7.938 kB / 0.6436 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.222e-05/0.204, allocations: 20 kB / 0.6436 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.204, allocations: 8 kB / 0.6437 GB, free: 14.88 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.0002892/0.2043, allocations: 134 kB / 0.6438 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.2043, allocations: 15.91 kB / 0.6438 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.2044, allocations: 25.39 kB / 0.6438 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2044, allocations: 0 / 0.6438 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2044, allocations: 0 / 0.6438 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2044, allocations: 0 / 0.6438 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.2047, allocations: 232.6 kB / 0.644 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2047, allocations: 7.938 kB / 0.6441 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.2049, allocations: 23.92 kB / 0.6441 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2049, allocations: 3.938 kB / 0.6441 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.2049, allocations: 8 kB / 0.6441 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2049, allocations: 0 / 0.6441 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2049, allocations: 0 / 0.6441 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.2054, allocations: 271.4 kB / 0.6443 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.2054, allocations: 19.98 kB / 0.6444 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.2054, allocations: 0 / 0.6444 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-05/0.2055, allocations: 8 kB / 0.6444 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.2056, allocations: 7.984 kB / 0.6444 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.2056, allocations: 0 / 0.6444 GB, free: 14.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.2057, allocations: 149.5 kB / 0.6445 GB, free: 13.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2057, allocations: 0 / 0.6445 GB, free: 13.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000253/0.206, allocations: 39.83 kB / 0.6446 GB, free: 13.89 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.0001307/0.2061, allocations: 103.2 kB / 0.6447 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.2064, allocations: 91.89 kB / 0.6447 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.2064, allocations: 0 / 0.6447 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.402e-05/0.2065, allocations: 39.98 kB / 0.6448 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.2068, allocations: 34.41 kB / 0.6448 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008559/0.2076, allocations: 375.4 kB / 0.6452 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.2082, allocations: 0.7201 MB / 0.6459 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.2083, allocations: 15.44 kB / 0.6459 GB, free: 12.45 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2083, allocations: 0 / 0.6459 GB, free: 12.45 MB / 494.1 MB Notification: Performance of Templates: time 0.004527/0.2128, allocations: 1.928 MB / 0.6478 GB, free: 10.52 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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.23277702901396]