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.0009688/0.0009688, allocations: 91.55 kB / 20.45 MB, free: 4.125 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.001039/0.001039, allocations: 165 kB / 23.82 MB, free: 0.7578 MB / 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.907/0.907, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.4735/0.4735, allocations: 90.57 MB / 328.6 MB, free: 14.71 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 2.124e-06/2.124e-06, allocations: 0 / 425.7 MB, free: 14.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.33e-05, allocations: 5.969 kB / 425.7 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.006304/0.006338, allocations: 1.929 MB / 427.6 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004272/0.01061, allocations: 0.5932 MB / 428.2 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.01072, allocations: 4 kB / 428.2 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.01113, allocations: 51.64 kB / 428.2 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.01138, allocations: 95.58 kB / 428.3 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.01162, allocations: 95.78 kB / 428.4 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.01189, allocations: 247.4 kB / 428.7 MB, free: 10.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.01202, allocations: 25.8 kB / 428.7 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.01216, allocations: 107.7 kB / 428.8 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.01234, allocations: 115.7 kB / 428.9 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.01238, allocations: 24 kB / 428.9 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.158e-05/0.01241, allocations: 20 kB / 429 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.777e-05/0.01251, allocations: 59.83 kB / 429 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.01258, allocations: 59.83 kB / 429.1 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003241/0.01582, allocations: 139.4 kB / 429.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.01583, allocations: 4 kB / 429.2 MB, free: 10.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.01583, allocations: 0 / 429.2 MB, free: 10.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.01583, allocations: 0 / 429.2 MB, free: 10.44 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.0007629/0.0166, allocations: 0.5424 MB / 429.8 MB, free: 9.863 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.01664, allocations: 12.03 kB / 429.8 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.01671, allocations: 24.84 kB / 429.8 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.01709, allocations: 249.9 kB / 430 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.01711, allocations: 8.375 kB / 430 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.01714, allocations: 8.359 kB / 430.1 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.0173, allocations: 66.22 kB / 430.1 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.01731, allocations: 192 / 430.1 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.01732, allocations: 4.375 kB / 430.1 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.01734, allocations: 7.938 kB / 430.1 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.01745, allocations: 39.56 kB / 430.2 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/0.01807, allocations: 431.4 kB / 430.6 MB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.01835, allocations: 95.12 kB / 430.7 MB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.01841, allocations: 23.69 kB / 430.7 MB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.01842, allocations: 0 / 430.7 MB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.01844, allocations: 37.39 kB / 430.7 MB, free: 8.781 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.01845, allocations: 0 / 430.7 MB, free: 8.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.00353/0.02197, allocations: 169.1 kB / 430.9 MB, free: 8.605 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.02201, allocations: 51.41 kB / 431 MB, free: 8.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.02226, allocations: 286.7 kB / 431.2 MB, free: 8.246 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.02227, allocations: 25.7 kB / 431.3 MB, free: 8.215 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.02235, allocations: 178.8 kB / 431.4 MB, free: 8.035 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.0224, allocations: 35.69 kB / 431.5 MB, free: 8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.02244, allocations: 31.36 kB / 431.5 MB, free: 7.961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.02257, allocations: 0.504 MB / 432 MB, free: 7.445 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.394e-05/0.02261, allocations: 15.98 kB / 432 MB, free: 7.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.342e-05/0.02265, allocations: 8 kB / 432 MB, free: 7.422 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.02278, allocations: 63.61 kB / 432.1 MB, free: 7.355 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02279, allocations: 0 / 432.1 MB, free: 7.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002261/0.02301, allocations: 117.2 kB / 432.2 MB, free: 7.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.02303, allocations: 8 kB / 432.2 MB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.02304, allocations: 3.938 kB / 432.2 MB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.02325, allocations: 35.66 kB / 432.3 MB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.02331, allocations: 19.98 kB / 432.3 MB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.02432, allocations: 1.791 MB / 434.1 MB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.278e-05/0.02439, allocations: 11.98 kB / 434.1 MB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.0244, allocations: 8.031 kB / 434.1 MB, free: 5.23 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.0001943/0.02459, allocations: 181.5 kB / 434.3 MB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.02463, allocations: 19.91 kB / 434.3 MB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.02465, allocations: 25.45 kB / 434.3 MB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.02466, allocations: 3.938 kB / 434.3 MB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.02466, allocations: 0 / 434.3 MB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.02466, allocations: 0 / 434.3 MB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.02482, allocations: 204.4 kB / 434.5 MB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.02483, allocations: 0 / 434.5 MB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.313e-05/0.02488, allocations: 11.98 kB / 434.5 MB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.02499, allocations: 35.66 kB / 434.6 MB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.02501, allocations: 0 / 434.6 MB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.02603, allocations: 1.803 MB / 436.4 MB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.02603, allocations: 0 / 436.4 MB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.02628, allocations: 291.6 kB / 436.6 MB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.02632, allocations: 27.89 kB / 436.7 MB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.02633, allocations: 7.938 kB / 436.7 MB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.02641, allocations: 7.984 kB / 436.7 MB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.02645, allocations: 11.98 kB / 436.7 MB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.02645, allocations: 4 kB / 436.7 MB, free: 2.414 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001397/0.02659, allocations: 217.5 kB / 436.9 MB, free: 2.199 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02659, allocations: 0 / 436.9 MB, free: 2.199 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001879/0.02678, allocations: 43.89 kB / 437 MB, free: 2.156 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 9.293e-05/0.02687, allocations: 95.25 kB / 437.1 MB, free: 2.055 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.02718, allocations: 230.9 kB / 437.3 MB, free: 1.809 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.02718, allocations: 4 kB / 437.3 MB, free: 1.805 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.02731, allocations: 213.5 kB / 437.5 MB, free: 1.574 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.02755, allocations: 36.14 kB / 437.5 MB, free: 1.543 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.02805, allocations: 335.2 kB / 437.9 MB, free: 1.188 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.058e-05/0.0281, allocations: 87.81 kB / 437.9 MB, free: 1.078 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.679e-05/0.02815, allocations: 21.12 kB / 438 MB, free: 1.055 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.02819, allocations: 16.5 kB / 438 MB, free: 1.039 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02819, allocations: 0 / 438 MB, free: 1.039 MB / 410.7 MB Notification: Performance of Templates: time 0.004345/0.03254, allocations: 2.531 MB / 440.5 MB, free: 14.53 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.470220630057156]