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.001765/0.001765, allocations: 105.2 kB / 20.46 MB, free: 1.484 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.001927/0.001927, allocations: 224 kB / 23.78 MB, free: 4.676 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.96/1.96, allocations: 207.6 MB / 234.5 MB, free: 9.992 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.7505/0.7505, allocations: 114.3 MB / 401.2 MB, free: 16.38 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.002259/0.002259, allocations: 71.41 kB / 0.5606 GB, free: 47.14 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1855, allocations: 78.63 MB / 0.6374 GB, free: 5.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003634/0.1892, allocations: 1.94 MB / 0.6393 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1904, allocations: 0.6088 MB / 0.6399 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.986e-05/0.1905, allocations: 7.938 kB / 0.6399 GB, free: 2.875 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003717/0.1908, allocations: 59.69 kB / 0.64 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.1911, allocations: 75.67 kB / 0.6401 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.1913, allocations: 75.89 kB / 0.6401 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.1918, allocations: 375.2 kB / 0.6405 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.192, allocations: 25.78 kB / 0.6405 GB, free: 2.273 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.1922, allocations: 135.6 kB / 0.6407 GB, free: 2.141 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.1924, allocations: 143.5 kB / 0.6408 GB, free: 2 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.505e-05/0.1925, allocations: 28 kB / 0.6408 GB, free: 1.973 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.642e-05/0.1925, allocations: 23.94 kB / 0.6408 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.1926, allocations: 71.8 kB / 0.6409 GB, free: 1.879 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1927, allocations: 87.47 kB / 0.641 GB, free: 1.793 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.1931, allocations: 247 kB / 0.6412 GB, free: 1.551 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1931, allocations: 0 / 0.6412 GB, free: 1.551 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1931, allocations: 0 / 0.6412 GB, free: 1.551 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1931, allocations: 4 kB / 0.6412 GB, free: 1.547 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001281/0.1944, allocations: 489.2 kB / 0.6417 GB, free: 1.039 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1944, allocations: 12.03 kB / 0.6417 GB, free: 1.027 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.1945, allocations: 24.78 kB / 0.6417 GB, free: 1.004 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006478/0.1951, allocations: 282.8 kB / 0.642 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1951, allocations: 8.375 kB / 0.642 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.1952, allocations: 4.375 kB / 0.642 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.1954, allocations: 117.8 kB / 0.6421 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1954, allocations: 0 / 0.6421 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1954, allocations: 4 kB / 0.6421 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.1954, allocations: 7.984 kB / 0.6421 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.1957, allocations: 103.9 kB / 0.6422 GB, free: 464 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009999/0.1967, allocations: 0.5225 MB / 0.6427 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.1971, allocations: 166.6 kB / 0.6429 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.1972, allocations: 48.84 kB / 0.643 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.1972, allocations: 0 / 0.643 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1973, allocations: 34.55 kB / 0.643 GB, free: 15.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 8.51e-07/0.1973, allocations: 0 / 0.643 GB, free: 15.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008327/0.1981, allocations: 270.1 kB / 0.6432 GB, free: 15.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.1982, allocations: 55.41 kB / 0.6433 GB, free: 15.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/0.1988, allocations: 320 kB / 0.6436 GB, free: 14.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1988, allocations: 29.7 kB / 0.6436 GB, free: 14.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1989, allocations: 132 kB / 0.6438 GB, free: 14.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.199, allocations: 35.69 kB / 0.6438 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.199, allocations: 21.66 kB / 0.6438 GB, free: 14.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1992, allocations: 335.2 kB / 0.6441 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.703e-05/0.1993, allocations: 43.97 kB / 0.6442 GB, free: 14.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-05/0.1994, allocations: 47.92 kB / 0.6442 GB, free: 14.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.2002, allocations: 268.6 kB / 0.6445 GB, free: 14.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2002, allocations: 4 kB / 0.6445 GB, free: 14.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004039/0.2006, allocations: 210.2 kB / 0.6447 GB, free: 13.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2006, allocations: 4 kB / 0.6447 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2006, allocations: 0 / 0.6447 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.2008, allocations: 44.81 kB / 0.6447 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/0.2009, allocations: 12 kB / 0.6447 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.2025, allocations: 1.452 MB / 0.6462 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.2027, allocations: 35.94 kB / 0.6462 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2027, allocations: 4 kB / 0.6462 GB, free: 12.14 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.0002348/0.2029, allocations: 146.7 kB / 0.6463 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.203, allocations: 19.91 kB / 0.6463 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.875e-05/0.203, allocations: 29.39 kB / 0.6464 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.203, allocations: 3.938 kB / 0.6464 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.203, allocations: 3.938 kB / 0.6464 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.203, allocations: 0 / 0.6464 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.2034, allocations: 264.4 kB / 0.6466 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2034, allocations: 0 / 0.6466 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.119e-05/0.2035, allocations: 15.98 kB / 0.6467 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.2036, allocations: 44.83 kB / 0.6467 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.2036, allocations: 0 / 0.6467 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.205, allocations: 1.463 MB / 0.6481 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.205, allocations: 0 / 0.6481 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005584/0.2056, allocations: 352.1 kB / 0.6485 GB, free: 9.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.2057, allocations: 31.88 kB / 0.6485 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.2057, allocations: 0 / 0.6485 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.2059, allocations: 28.09 kB / 0.6485 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.206, allocations: 15.91 kB / 0.6485 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.206, allocations: 4 kB / 0.6485 GB, free: 9.547 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005035/0.2065, allocations: 249.7 kB / 0.6488 GB, free: 9.301 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2065, allocations: 0 / 0.6488 GB, free: 9.301 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.2068, allocations: 32 kB / 0.6488 GB, free: 9.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.0001285/0.2069, allocations: 103.2 kB / 0.6489 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005419/0.2075, allocations: 234.6 kB / 0.6491 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2075, allocations: 0 / 0.6491 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.2078, allocations: 186.6 kB / 0.6493 GB, free: 8.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.2081, allocations: 28.84 kB / 0.6493 GB, free: 8.695 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008835/0.209, allocations: 427 kB / 0.6497 GB, free: 8.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.2095, allocations: 0.7436 MB / 0.6505 GB, free: 7.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.2095, allocations: 15.44 kB / 0.6505 GB, free: 7.465 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2095, allocations: 0 / 0.6505 GB, free: 7.465 MB / 494.1 MB Notification: Performance of Templates: time 0.006047/0.2156, allocations: 3.21 MB / 0.6536 GB, free: 4.254 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: 10.00413683700026]