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.001144/0.001144, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001707/0.002851, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001088/0.001088, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001488/0.002576, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8715/0.8715, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1609/1.032, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-227:16:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-229:28:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.5156/0.5156, allocations: 106.6 MB / 328 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05883/0.5745, allocations: 37.91 MB / 365.9 MB, free: 8.977 MB / 362.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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.053e-06/2.053e-06, allocations: 4 kB / 367.2 MB, free: 7.676 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/2.054e-05, allocations: 6.312 kB / 367.2 MB, free: 7.668 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002246/0.002266, allocations: 1.979 MB / 369.2 MB, free: 5.672 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007361/0.003002, allocations: 0.6157 MB / 369.8 MB, free: 5.059 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.003077, allocations: 4 kB / 369.8 MB, free: 5.055 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.003283, allocations: 51.59 kB / 369.9 MB, free: 5.004 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.003439, allocations: 91.64 kB / 370 MB, free: 4.914 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.003617, allocations: 95.78 kB / 370.1 MB, free: 4.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.003824, allocations: 246.9 kB / 370.3 MB, free: 4.582 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.00392, allocations: 30.31 kB / 370.3 MB, free: 4.551 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.004119, allocations: 196.1 kB / 370.5 MB, free: 4.359 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.004263, allocations: 127.6 kB / 370.7 MB, free: 4.234 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.004298, allocations: 24 kB / 370.7 MB, free: 4.211 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.623e-05/0.004324, allocations: 24 kB / 370.7 MB, free: 4.188 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.004395, allocations: 47.86 kB / 370.8 MB, free: 4.141 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.00444, allocations: 43.88 kB / 370.8 MB, free: 4.098 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.004591, allocations: 119.6 kB / 370.9 MB, free: 3.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.004602, allocations: 0 / 370.9 MB, free: 3.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004603, allocations: 0 / 370.9 MB, free: 3.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.004611, allocations: 0 / 370.9 MB, free: 3.98 MB / 362.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.0005737/0.005185, allocations: 431.5 kB / 371.3 MB, free: 3.535 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.005216, allocations: 11.97 kB / 371.3 MB, free: 3.523 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.005259, allocations: 16.92 kB / 371.4 MB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.005515, allocations: 199.3 kB / 371.6 MB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.005526, allocations: 8.375 kB / 371.6 MB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.005548, allocations: 12.33 kB / 371.6 MB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.005668, allocations: 80.5 kB / 371.7 MB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.005675, allocations: 0 / 371.7 MB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.005685, allocations: 4 kB / 371.7 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.005691, allocations: 4 kB / 371.7 MB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.737e-05/0.005748, allocations: 31.66 kB / 371.7 MB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.006134, allocations: 269.7 kB / 372 MB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.006327, allocations: 134.9 kB / 372.1 MB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.006355, allocations: 20.84 kB / 372.1 MB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.006364, allocations: 0 / 372.1 MB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.006383, allocations: 34.56 kB / 372.1 MB, free: 2.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.006385, allocations: 3.938 kB / 372.1 MB, free: 2.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003262/0.006711, allocations: 133.2 kB / 372.3 MB, free: 2.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.006737, allocations: 59.34 kB / 372.3 MB, free: 2.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.00688, allocations: 215.4 kB / 372.5 MB, free: 2.211 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.006895, allocations: 25.7 kB / 372.6 MB, free: 2.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.006942, allocations: 112.5 kB / 372.7 MB, free: 2.066 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.00698, allocations: 35.69 kB / 372.7 MB, free: 2.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.007023, allocations: 25.7 kB / 372.7 MB, free: 2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.299e-05/0.007106, allocations: 330.8 kB / 373.1 MB, free: 1.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.439e-05/0.007131, allocations: 6.828 kB / 373.1 MB, free: 1.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.007152, allocations: 8 kB / 373.1 MB, free: 1.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.646e-05/0.007249, allocations: 54.52 kB / 373.1 MB, free: 1.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.007252, allocations: 4 kB / 373.1 MB, free: 1.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001824/0.007435, allocations: 101.3 kB / 373.2 MB, free: 1.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.007449, allocations: 11.88 kB / 373.2 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.007454, allocations: 0 / 373.2 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.007631, allocations: 35.64 kB / 373.3 MB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.585e-05/0.007697, allocations: 15.94 kB / 373.3 MB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008231/0.00852, allocations: 1.23 MB / 374.5 MB, free: 92 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/0.008599, allocations: 19.86 kB / 374.5 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.008606, allocations: 0 / 374.5 MB, free: 72 kB / 362.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.0001761/0.008782, allocations: 129.6 kB / 374.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.008818, allocations: 16.02 kB / 374.7 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.00885, allocations: 25.45 kB / 374.7 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.008853, allocations: 4 kB / 374.7 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.008858, allocations: 0 / 374.7 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.008861, allocations: 0 / 374.7 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.009032, allocations: 129.8 kB / 374.8 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.009034, allocations: 0 / 374.8 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.746e-05/0.009101, allocations: 15.94 kB / 374.9 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.009134, allocations: 19.89 kB / 374.9 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/0.009254, allocations: 35.66 kB / 374.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.009264, allocations: 0 / 374.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007228/0.009987, allocations: 1.238 MB / 376.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.009988, allocations: 0 / 376.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.01021, allocations: 261 kB / 376.4 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.01023, allocations: 8.062 kB / 376.4 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.01033, allocations: 7.984 kB / 376.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.01037, allocations: 11.92 kB / 376.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.01037, allocations: 4 kB / 376.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.758e-05/0.01047, allocations: 71.41 kB / 376.5 MB, free: 13.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01047, allocations: 4 kB / 376.5 MB, free: 13.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.0107, allocations: 35.94 kB / 376.5 MB, free: 13.92 MB / 378.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 0.0001002/0.0108, allocations: 84.45 kB / 376.6 MB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.01106, allocations: 176.7 kB / 376.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/0.01107, allocations: 4 kB / 376.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.01121, allocations: 155.4 kB / 377 MB, free: 13.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.01149, allocations: 123.2 kB / 377.1 MB, free: 13.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007629/0.01225, allocations: 336.4 kB / 377.4 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.661e-05/0.01231, allocations: 87.97 kB / 377.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.374e-05/0.01237, allocations: 13.48 kB / 377.5 MB, free: 12.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/0.01246, allocations: 71.38 kB / 377.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01246, allocations: 0 / 377.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of Templates: time 0.005528/0.01799, allocations: 2.919 MB / 380.5 MB, free: 9.898 MB / 378.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1382563337683678]