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.001749/0.001749, allocations: 100.3 kB / 20.46 MB, free: 1.367 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.002398/0.002398, allocations: 218.5 kB / 23.77 MB, free: 4.52 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.767/1.767, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.717/0.717, allocations: 115.8 MB / 402.6 MB, free: 16.09 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.0023/0.0023, allocations: 74.52 kB / 0.5628 GB, free: 45.86 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1914, allocations: 79.01 MB / 0.6399 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.004408/0.1958, allocations: 1.89 MB / 0.6418 GB, free: 1.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1971, allocations: 0.5777 MB / 0.6423 GB, free: 448 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.632e-05/0.1972, allocations: 3.938 kB / 0.6423 GB, free: 444 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.1976, allocations: 51.7 kB / 0.6424 GB, free: 392 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.1979, allocations: 87.64 kB / 0.6425 GB, free: 304 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.1981, allocations: 75.89 kB / 0.6425 GB, free: 228 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005284/0.1987, allocations: 359.2 kB / 0.6429 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.1988, allocations: 33.78 kB / 0.6429 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.199, allocations: 127.7 kB / 0.643 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.1993, allocations: 139.5 kB / 0.6432 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.1993, allocations: 24 kB / 0.6432 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.523e-05/0.1994, allocations: 24 kB / 0.6432 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1995, allocations: 59.81 kB / 0.6433 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1996, allocations: 79.53 kB / 0.6433 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.1999, allocations: 247 kB / 0.6436 GB, free: 15.15 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1999, allocations: 4 kB / 0.6436 GB, free: 15.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1999, allocations: 0 / 0.6436 GB, free: 15.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1999, allocations: 0 / 0.6436 GB, free: 15.14 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.001329/0.2013, allocations: 489.2 kB / 0.644 GB, free: 14.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.2013, allocations: 12.92 kB / 0.6441 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.857e-05/0.2014, allocations: 20.8 kB / 0.6441 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006917/0.2021, allocations: 282.8 kB / 0.6443 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.2021, allocations: 8.375 kB / 0.6444 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.2021, allocations: 8.375 kB / 0.6444 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.2024, allocations: 115.7 kB / 0.6445 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2024, allocations: 4 kB / 0.6445 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.2024, allocations: 4 kB / 0.6445 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2024, allocations: 0 / 0.6445 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.2027, allocations: 107.9 kB / 0.6446 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008923/0.2036, allocations: 420.2 kB / 0.645 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.204, allocations: 158.5 kB / 0.6451 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.2041, allocations: 52.92 kB / 0.6452 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.2041, allocations: 0 / 0.6452 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.2042, allocations: 34.56 kB / 0.6452 GB, free: 13.35 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.2042, allocations: 4 kB / 0.6452 GB, free: 13.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008595/0.205, allocations: 270.1 kB / 0.6455 GB, free: 13.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.2051, allocations: 51.41 kB / 0.6455 GB, free: 13.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006477/0.2057, allocations: 328 kB / 0.6458 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.2058, allocations: 25.7 kB / 0.6459 GB, free: 12.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.2059, allocations: 128 kB / 0.646 GB, free: 12.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.104e-05/0.2059, allocations: 43.61 kB / 0.646 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.206, allocations: 21.72 kB / 0.646 GB, free: 12.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.2062, allocations: 330.8 kB / 0.6464 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.672e-05/0.2063, allocations: 43.98 kB / 0.6464 GB, free: 12.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.2064, allocations: 47.97 kB / 0.6464 GB, free: 12.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008201/0.2072, allocations: 264.7 kB / 0.6467 GB, free: 11.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2072, allocations: 8 kB / 0.6467 GB, free: 11.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000432/0.2076, allocations: 206.2 kB / 0.6469 GB, free: 11.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2076, allocations: 8 kB / 0.6469 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2076, allocations: 0 / 0.6469 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.2078, allocations: 44.83 kB / 0.647 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.2079, allocations: 23.92 kB / 0.647 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.2095, allocations: 1.409 MB / 0.6484 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.2097, allocations: 35.89 kB / 0.6484 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.2097, allocations: 7.922 kB / 0.6484 GB, free: 9.918 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.0002675/0.21, allocations: 154.7 kB / 0.6485 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.21, allocations: 19.97 kB / 0.6486 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.268e-05/0.2101, allocations: 25.86 kB / 0.6486 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2101, allocations: 0 / 0.6486 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2101, allocations: 4 kB / 0.6486 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2101, allocations: 0 / 0.6486 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.2104, allocations: 193.1 kB / 0.6488 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.2104, allocations: 3.938 kB / 0.6488 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.292e-05/0.2105, allocations: 16 kB / 0.6488 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/0.2106, allocations: 40.81 kB / 0.6488 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.2107, allocations: 8 kB / 0.6488 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.212, allocations: 1.425 MB / 0.6502 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.212, allocations: 0 / 0.6502 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.2126, allocations: 352.1 kB / 0.6506 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.2127, allocations: 31.81 kB / 0.6506 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.2127, allocations: 8 kB / 0.6506 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.213, allocations: 32.02 kB / 0.6506 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.213, allocations: 11.98 kB / 0.6506 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.213, allocations: 0 / 0.6506 GB, free: 7.445 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005195/0.2135, allocations: 249.8 kB / 0.6509 GB, free: 7.199 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2135, allocations: 0 / 0.6509 GB, free: 7.199 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.2138, allocations: 40 kB / 0.6509 GB, free: 7.16 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.0001467/0.214, allocations: 95.25 kB / 0.651 GB, free: 7.055 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005976/0.2146, allocations: 238.6 kB / 0.6512 GB, free: 6.809 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2146, allocations: 0 / 0.6512 GB, free: 6.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.2149, allocations: 178.6 kB / 0.6514 GB, free: 6.621 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.2152, allocations: 41.97 kB / 0.6515 GB, free: 6.586 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009203/0.2162, allocations: 423 kB / 0.6519 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.2163, allocations: 128.1 kB / 0.652 GB, free: 5.996 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.2164, allocations: 19.44 kB / 0.652 GB, free: 5.977 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2164, allocations: 0 / 0.652 GB, free: 5.977 MB / 494.1 MB Notification: Performance of Templates: time 0.006448/0.2228, allocations: 3.265 MB / 0.6552 GB, free: 2.715 MB / 494.1 MB " [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/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: 9.701506149955094]