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.001451/0.001451, 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.001583/0.001583, 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.649/1.649, allocations: 207.7 MB / 233.9 MB, free: 9.789 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.7054/0.7054, allocations: 118.1 MB / 404.2 MB, free: 14.29 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.SimplifiedSFR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|simplifiedSFR.deltaFrequency",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR") translateModel(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|simplifiedSFR.deltaFrequency",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR") [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.002409/0.002409, allocations: 77.17 kB / 0.5655 GB, free: 44.95 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1918, allocations: 79.62 MB / 0.6433 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003616/0.1954, allocations: 1.883 MB / 0.6451 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1966, allocations: 0.5816 MB / 0.6457 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.399e-05/0.1967, allocations: 4 kB / 0.6457 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.197, allocations: 51.64 kB / 0.6458 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.1973, allocations: 87.64 kB / 0.6458 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.1975, allocations: 71.91 kB / 0.6459 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.198, allocations: 363.2 kB / 0.6463 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.1982, allocations: 41.72 kB / 0.6463 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.1984, allocations: 131.6 kB / 0.6464 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.1986, allocations: 139.5 kB / 0.6466 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.877e-05/0.1987, allocations: 20 kB / 0.6466 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.799e-05/0.1987, allocations: 20 kB / 0.6466 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.1988, allocations: 59.83 kB / 0.6467 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.022e-05/0.1989, allocations: 75.58 kB / 0.6467 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.1992, allocations: 255 kB / 0.647 GB, free: 11.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1992, allocations: 4 kB / 0.647 GB, free: 11.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1992, allocations: 0 / 0.647 GB, free: 11.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1993, allocations: 0 / 0.647 GB, free: 11.22 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.001247/0.2005, allocations: 493.2 kB / 0.6474 GB, free: 10.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2005, allocations: 12.03 kB / 0.6475 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.979e-05/0.2006, allocations: 20.8 kB / 0.6475 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.2013, allocations: 275 kB / 0.6477 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2013, allocations: 8.312 kB / 0.6477 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.2013, allocations: 16.31 kB / 0.6478 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.2015, allocations: 110.6 kB / 0.6479 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2016, allocations: 0 / 0.6479 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.2016, allocations: 8 kB / 0.6479 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2016, allocations: 0 / 0.6479 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.2018, allocations: 99.94 kB / 0.648 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008849/0.2027, allocations: 424.2 kB / 0.6484 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/0.2031, allocations: 154.7 kB / 0.6485 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.2033, allocations: 56.77 kB / 0.6486 GB, free: 9.473 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.2033, allocations: 0 / 0.6486 GB, free: 9.473 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.2033, allocations: 34.56 kB / 0.6486 GB, free: 9.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 8.31e-07/0.2033, allocations: 0 / 0.6486 GB, free: 9.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008438/0.2041, allocations: 266.2 kB / 0.6489 GB, free: 9.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.2042, allocations: 51.41 kB / 0.6489 GB, free: 9.098 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006535/0.2048, allocations: 324.4 kB / 0.6492 GB, free: 8.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.2049, allocations: 25.7 kB / 0.6492 GB, free: 8.738 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.205, allocations: 132 kB / 0.6494 GB, free: 8.605 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.205, allocations: 35.69 kB / 0.6494 GB, free: 8.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.2051, allocations: 33.64 kB / 0.6494 GB, free: 8.531 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.2053, allocations: 326.8 kB / 0.6497 GB, free: 8.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.2054, allocations: 47.97 kB / 0.6498 GB, free: 8.156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.61e-05/0.2055, allocations: 51.91 kB / 0.6498 GB, free: 8.105 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007917/0.2063, allocations: 260.7 kB / 0.6501 GB, free: 7.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2063, allocations: 3.938 kB / 0.6501 GB, free: 7.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004041/0.2067, allocations: 210.2 kB / 0.6503 GB, free: 7.629 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.2067, allocations: 9.875 kB / 0.6503 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2067, allocations: 0 / 0.6503 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/0.2069, allocations: 48.83 kB / 0.6503 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.207, allocations: 19.98 kB / 0.6504 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.2085, allocations: 1.413 MB / 0.6517 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.2087, allocations: 35.92 kB / 0.6518 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.2087, allocations: 8 kB / 0.6518 GB, free: 5.992 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.000243/0.209, allocations: 154 kB / 0.6519 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.209, allocations: 15.91 kB / 0.652 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.2091, allocations: 29.33 kB / 0.652 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2091, allocations: 0 / 0.652 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2091, allocations: 4 kB / 0.652 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2091, allocations: 0 / 0.652 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.2093, allocations: 197.1 kB / 0.6522 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2093, allocations: 4 kB / 0.6522 GB, free: 5.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.036e-05/0.2094, allocations: 8 kB / 0.6522 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.2096, allocations: 44.91 kB / 0.6522 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.2096, allocations: 11.98 kB / 0.6522 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.211, allocations: 1.421 MB / 0.6536 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.211, allocations: 8.047 kB / 0.6536 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/0.2115, allocations: 356.1 kB / 0.654 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.2116, allocations: 23.92 kB / 0.654 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.2116, allocations: 4 kB / 0.654 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.2119, allocations: 23.97 kB / 0.654 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.2119, allocations: 11.98 kB / 0.654 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.2119, allocations: 0 / 0.654 GB, free: 3.535 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005239/0.2124, allocations: 257.8 kB / 0.6543 GB, free: 3.281 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2124, allocations: 0 / 0.6543 GB, free: 3.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.2127, allocations: 36 kB / 0.6543 GB, free: 3.246 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.0001349/0.2129, allocations: 95.91 kB / 0.6544 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005716/0.2134, allocations: 250.5 kB / 0.6546 GB, free: 2.883 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2134, allocations: 0 / 0.6546 GB, free: 2.883 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.2137, allocations: 170.7 kB / 0.6548 GB, free: 2.703 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.2141, allocations: 35.97 kB / 0.6548 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008345/0.2149, allocations: 393.4 kB / 0.6552 GB, free: 2.262 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.215, allocations: 132.2 kB / 0.6553 GB, free: 2.113 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.035e-05/0.2151, allocations: 29.05 kB / 0.6554 GB, free: 2.086 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.2152, allocations: 15.44 kB / 0.6554 GB, free: 2.07 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2152, allocations: 4 kB / 0.6554 GB, free: 2.066 MB / 494.1 MB Notification: Performance of Templates: time 0.006744/0.2219, allocations: 2.59 MB / 0.6579 GB, free: 15.5 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.makefile [Timeout 660] (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 & ./Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.csv","/var/lib/jenkins/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: 6.4529302548617125]