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.0009314/0.0009314, allocations: 81.09 kB / 20.67 MB, free: 3.824 MB / 18.57 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.0008917/0.0008917, allocations: 177 kB / 24.08 MB, free: 432 kB / 18.57 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 0.849/0.849, allocations: 158.6 MB / 186 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] 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.4737/0.4737, allocations: 91.27 MB / 329.6 MB, free: 13.89 MB / 314.7 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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 427.1 MB, free: 12.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.519e-05, allocations: 2.312 kB / 427.1 MB, free: 12.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002259/0.002274, allocations: 1.937 MB / 429 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008155/0.003089, allocations: 0.5892 MB / 429.6 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.00316, allocations: 0 / 429.6 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.003454, allocations: 55.64 kB / 429.7 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.003621, allocations: 95.58 kB / 429.8 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.003788, allocations: 95.78 kB / 429.9 MB, free: 10 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.003982, allocations: 243.5 kB / 430.1 MB, free: 9.762 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.004086, allocations: 29.8 kB / 430.1 MB, free: 9.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.004189, allocations: 111.6 kB / 430.2 MB, free: 9.621 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.00432, allocations: 111.7 kB / 430.4 MB, free: 9.512 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.00435, allocations: 20 kB / 430.4 MB, free: 9.492 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.626e-05/0.004376, allocations: 24 kB / 430.4 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.00445, allocations: 67.75 kB / 430.5 MB, free: 9.402 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.004504, allocations: 59.83 kB / 430.5 MB, free: 9.344 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.004668, allocations: 131.5 kB / 430.7 MB, free: 9.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.00467, allocations: 0 / 430.7 MB, free: 9.215 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.00467, allocations: 4 kB / 430.7 MB, free: 9.211 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.004674, allocations: 0 / 430.7 MB, free: 9.211 MB / 410.7 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.0005945/0.005268, allocations: 0.5306 MB / 431.2 MB, free: 8.645 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.005314, allocations: 16.02 kB / 431.2 MB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.005362, allocations: 24.84 kB / 431.2 MB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.005597, allocations: 222 kB / 431.4 MB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.005607, allocations: 8.375 kB / 431.5 MB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.005626, allocations: 4.375 kB / 431.5 MB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.87e-05/0.005724, allocations: 66.22 kB / 431.5 MB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.00573, allocations: 192 / 431.5 MB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.005739, allocations: 4.375 kB / 431.5 MB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.005744, allocations: 3.938 kB / 431.5 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.056e-05/0.005804, allocations: 39.03 kB / 431.6 MB, free: 8.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.006262, allocations: 376.1 kB / 431.9 MB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.006453, allocations: 90.92 kB / 432 MB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.006485, allocations: 23.81 kB / 432 MB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-06/0.006494, allocations: 4 kB / 432.1 MB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.006513, allocations: 45.31 kB / 432.1 MB, free: 7.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.006514, allocations: 0 / 432.1 MB, free: 7.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003446/0.006859, allocations: 153 kB / 432.2 MB, free: 7.488 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.006885, allocations: 55.41 kB / 432.3 MB, free: 7.422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.007064, allocations: 286.6 kB / 432.6 MB, free: 7.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.007077, allocations: 25.7 kB / 432.6 MB, free: 7.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.007151, allocations: 178.8 kB / 432.8 MB, free: 6.914 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.007185, allocations: 35.66 kB / 432.8 MB, free: 6.879 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.007223, allocations: 27.38 kB / 432.8 MB, free: 6.844 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.007354, allocations: 0.5078 MB / 433.3 MB, free: 6.324 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.007371, allocations: 8 kB / 433.4 MB, free: 6.316 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.976e-05/0.007391, allocations: 11.98 kB / 433.4 MB, free: 6.305 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.578e-05/0.007466, allocations: 47.61 kB / 433.4 MB, free: 6.254 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.007468, allocations: 4 kB / 433.4 MB, free: 6.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001447/0.007613, allocations: 109.1 kB / 433.5 MB, free: 6.133 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.007624, allocations: 8 kB / 433.5 MB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.007629, allocations: 4 kB / 433.5 MB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.007767, allocations: 43.53 kB / 433.6 MB, free: 6.074 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.971e-05/0.007807, allocations: 11.98 kB / 433.6 MB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009457/0.008753, allocations: 1.768 MB / 435.4 MB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.511e-05/0.008808, allocations: 8.031 kB / 435.4 MB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.008815, allocations: 4 kB / 435.4 MB, free: 4.172 MB / 410.7 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.0001355/0.00895, allocations: 181 kB / 435.5 MB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.008981, allocations: 23.83 kB / 435.6 MB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.009006, allocations: 25.45 kB / 435.6 MB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.009009, allocations: 4 kB / 435.6 MB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.009011, allocations: 0 / 435.6 MB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.009014, allocations: 4 kB / 435.6 MB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.009153, allocations: 161.1 kB / 435.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.009155, allocations: 0 / 435.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.009199, allocations: 15.98 kB / 435.8 MB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-05/0.009297, allocations: 35.59 kB / 435.8 MB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.009309, allocations: 11.94 kB / 435.8 MB, free: 3.684 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006734/0.009982, allocations: 1.764 MB / 437.6 MB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.009983, allocations: 3.938 kB / 437.6 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.01018, allocations: 280 kB / 437.9 MB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.01022, allocations: 23.88 kB / 437.9 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.01023, allocations: 8 kB / 437.9 MB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.629e-05/0.0103, allocations: 4 kB / 437.9 MB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.01032, allocations: 3.984 kB / 437.9 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.01033, allocations: 12.06 kB / 437.9 MB, free: 1.453 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.01044, allocations: 205.4 kB / 438.1 MB, free: 1.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01044, allocations: 3.938 kB / 438.1 MB, free: 1.246 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.01062, allocations: 39.89 kB / 438.2 MB, free: 1.207 MB / 410.7 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 8.674e-05/0.01071, allocations: 95.34 kB / 438.3 MB, free: 1.105 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.01094, allocations: 231 kB / 438.5 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01094, allocations: 8 kB / 438.5 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.01106, allocations: 217.4 kB / 438.7 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.01127, allocations: 28.7 kB / 438.7 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.01171, allocations: 335.3 kB / 439.1 MB, free: 240 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.788e-05/0.01176, allocations: 79.81 kB / 439.1 MB, free: 136 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.223e-05/0.0118, allocations: 21.14 kB / 439.2 MB, free: 112 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.485e-05/0.01188, allocations: 90.19 kB / 439.2 MB, free: 20 kB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01188, allocations: 0 / 439.2 MB, free: 20 kB / 410.7 MB Notification: Performance of Templates: time 0.004348/0.01623, allocations: 2.65 MB / 441.9 MB, free: 13.39 MB / 426.7 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=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0833438970148563]