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.001489/0.001489, allocations: 91.55 kB / 20.97 MB, free: 3.578 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.001591/0.001591, allocations: 177 kB / 24.27 MB, free: 280 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.851/0.851, allocations: 158.6 MB / 186.1 MB, free: 2.91 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.4812/0.4812, allocations: 90.56 MB / 328.9 MB, free: 14.69 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.733e-06/1.733e-06, allocations: 0 / 425.7 MB, free: 14.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.245e-05, allocations: 6.25 kB / 425.7 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002449/0.002481, allocations: 1.925 MB / 427.6 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008702/0.003351, allocations: 0.601 MB / 428.2 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.076e-05/0.003432, allocations: 0 / 428.2 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.003757, allocations: 51.64 kB / 428.2 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.003949, allocations: 91.59 kB / 428.3 MB, free: 11.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.004143, allocations: 103.8 kB / 428.4 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.004389, allocations: 243.4 kB / 428.7 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.004514, allocations: 29.78 kB / 428.7 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.004655, allocations: 99.72 kB / 428.8 MB, free: 11.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.004813, allocations: 123.7 kB / 428.9 MB, free: 11.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.004851, allocations: 20 kB / 428.9 MB, free: 11.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.49e-05/0.004876, allocations: 24 kB / 429 MB, free: 10.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.011e-05/0.004966, allocations: 55.83 kB / 429 MB, free: 10.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.00503, allocations: 59.83 kB / 429.1 MB, free: 10.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.005213, allocations: 143.4 kB / 429.2 MB, free: 10.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.005216, allocations: 0 / 429.2 MB, free: 10.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005216, allocations: 0 / 429.2 MB, free: 10.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.005221, allocations: 0 / 429.2 MB, free: 10.73 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.0007227/0.005944, allocations: 0.5463 MB / 429.8 MB, free: 10.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.005984, allocations: 8.031 kB / 429.8 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.238e-05/0.006047, allocations: 28.84 kB / 429.8 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.006371, allocations: 238 kB / 430 MB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.006385, allocations: 4.375 kB / 430 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.006413, allocations: 8.375 kB / 430 MB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.006591, allocations: 74.16 kB / 430.1 MB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.006597, allocations: 192 / 430.1 MB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.006608, allocations: 384 / 430.1 MB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.006617, allocations: 7.938 kB / 430.1 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.006712, allocations: 39.97 kB / 430.2 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.007282, allocations: 427.4 kB / 430.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.007529, allocations: 95.19 kB / 430.7 MB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/0.007571, allocations: 19.67 kB / 430.7 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.007584, allocations: 7.938 kB / 430.7 MB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.007605, allocations: 37.39 kB / 430.7 MB, free: 9.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.007606, allocations: 4 kB / 430.7 MB, free: 9.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004338/0.00804, allocations: 161.1 kB / 430.9 MB, free: 8.902 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.008068, allocations: 55.39 kB / 431 MB, free: 8.836 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.008343, allocations: 294.7 kB / 431.2 MB, free: 8.531 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.008356, allocations: 25.7 kB / 431.3 MB, free: 8.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.008428, allocations: 174.8 kB / 431.4 MB, free: 8.324 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.008469, allocations: 35.69 kB / 431.5 MB, free: 8.289 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.008506, allocations: 31.38 kB / 431.5 MB, free: 8.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.008626, allocations: 0.5001 MB / 432 MB, free: 7.738 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.104e-05/0.008657, allocations: 8 kB / 432 MB, free: 7.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.025e-05/0.008687, allocations: 19.92 kB / 432 MB, free: 7.711 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.008796, allocations: 59.61 kB / 432.1 MB, free: 7.648 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008797, allocations: 0 / 432.1 MB, free: 7.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000178/0.008975, allocations: 117.2 kB / 432.2 MB, free: 7.523 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.008988, allocations: 7.984 kB / 432.2 MB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.008994, allocations: 3.938 kB / 432.2 MB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.009174, allocations: 39.66 kB / 432.3 MB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.393e-05/0.009218, allocations: 12 kB / 432.3 MB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.01025, allocations: 1.795 MB / 434.1 MB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/0.01032, allocations: 20.02 kB / 434.1 MB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.01033, allocations: 3.984 kB / 434.1 MB, free: 5.52 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.0001592/0.01049, allocations: 177.5 kB / 434.3 MB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.01052, allocations: 19.91 kB / 434.3 MB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.01054, allocations: 29.39 kB / 434.3 MB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.01054, allocations: 3.938 kB / 434.3 MB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01055, allocations: 4 kB / 434.3 MB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.01055, allocations: 4 kB / 434.3 MB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.01071, allocations: 196.4 kB / 434.5 MB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01071, allocations: 0 / 434.5 MB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.948e-05/0.01076, allocations: 8 kB / 434.5 MB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/0.01087, allocations: 35.64 kB / 434.5 MB, free: 5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.01089, allocations: 12 kB / 434.6 MB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.01194, allocations: 1.791 MB / 436.4 MB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01195, allocations: 4 kB / 436.4 MB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.01221, allocations: 291.7 kB / 436.6 MB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.01224, allocations: 23.89 kB / 436.7 MB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.01226, allocations: 7.938 kB / 436.7 MB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.19e-05/0.01234, allocations: 11.98 kB / 436.7 MB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.01238, allocations: 7.922 kB / 436.7 MB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.01239, allocations: 8.062 kB / 436.7 MB, free: 2.703 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.01252, allocations: 209.5 kB / 436.9 MB, free: 2.496 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01252, allocations: 0 / 436.9 MB, free: 2.496 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000188/0.01271, allocations: 39.89 kB / 436.9 MB, free: 2.457 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.193e-05/0.01279, allocations: 103.2 kB / 437 MB, free: 2.348 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.01309, allocations: 230.9 kB / 437.3 MB, free: 2.102 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01309, allocations: 0 / 437.3 MB, free: 2.102 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.01322, allocations: 221.5 kB / 437.5 MB, free: 1.863 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.01346, allocations: 28.75 kB / 437.5 MB, free: 1.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.01396, allocations: 343.2 kB / 437.8 MB, free: 1.477 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.175e-05/0.01401, allocations: 79.81 kB / 437.9 MB, free: 1.375 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.931e-05/0.01406, allocations: 29.12 kB / 438 MB, free: 1.344 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.0141, allocations: 12.5 kB / 438 MB, free: 1.332 MB / 410.7 MB Notification: Performance of SimCode: time 9.21e-07/0.0141, allocations: 0 / 438 MB, free: 1.332 MB / 410.7 MB Notification: Performance of Templates: time 0.004238/0.01834, allocations: 2.527 MB / 440.5 MB, free: 14.83 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.2128954159561545]