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.001/0.001, allocations: 77.88 kB / 21.46 MB, free: 3.047 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.00185/0.00185, allocations: 169.9 kB / 24.85 MB, free: 9.262 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.8427/0.8427, allocations: 158.6 MB / 186.8 MB, free: 2.789 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.4315/0.4315, allocations: 90.56 MB / 329.7 MB, free: 14.56 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.513e-06/1.513e-06, allocations: 0 / 426.9 MB, free: 13.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.894e-05, allocations: 6.312 kB / 426.9 MB, free: 13.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003469/0.003498, allocations: 1.921 MB / 428.8 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.004654, allocations: 0.5932 MB / 429.4 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.004759, allocations: 0 / 429.4 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.00514, allocations: 59.56 kB / 429.5 MB, free: 11.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.005373, allocations: 87.59 kB / 429.6 MB, free: 11.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.005624, allocations: 103.8 kB / 429.7 MB, free: 10.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.005912, allocations: 243.5 kB / 429.9 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.006033, allocations: 25.8 kB / 429.9 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.006207, allocations: 99.72 kB / 430 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.006397, allocations: 119.7 kB / 430.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.006442, allocations: 23.94 kB / 430.2 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.209e-05/0.006474, allocations: 24 kB / 430.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.441e-05/0.006568, allocations: 63.81 kB / 430.3 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.888e-05/0.006637, allocations: 55.84 kB / 430.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.006835, allocations: 135.5 kB / 430.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.00684, allocations: 3.984 kB / 430.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.006841, allocations: 7.938 kB / 430.5 MB, free: 10.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.006847, allocations: 0 / 430.5 MB, free: 10.19 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.0009495/0.007796, allocations: 0.5268 MB / 431 MB, free: 9.629 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.007836, allocations: 8.031 kB / 431 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.007893, allocations: 24.84 kB / 431 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.00822, allocations: 230 kB / 431.2 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.008232, allocations: 8.375 kB / 431.2 MB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.008255, allocations: 8.375 kB / 431.3 MB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.008383, allocations: 62.22 kB / 431.3 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.008391, allocations: 192 / 431.3 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.008402, allocations: 4.375 kB / 431.3 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.008409, allocations: 7.938 kB / 431.3 MB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.134e-05/0.00849, allocations: 35.5 kB / 431.4 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.009058, allocations: 384 kB / 431.7 MB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.00931, allocations: 99.05 kB / 431.8 MB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.009349, allocations: 15.69 kB / 431.8 MB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.009359, allocations: 3.984 kB / 431.8 MB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.009383, allocations: 37.39 kB / 431.9 MB, free: 8.633 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.764e-06/0.009385, allocations: 0 / 431.9 MB, free: 8.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004679/0.009853, allocations: 157.1 kB / 432 MB, free: 8.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.009881, allocations: 51.41 kB / 432.1 MB, free: 8.406 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.01011, allocations: 274.6 kB / 432.4 MB, free: 8.121 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.01013, allocations: 25.7 kB / 432.4 MB, free: 8.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.01022, allocations: 178.8 kB / 432.6 MB, free: 7.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.01026, allocations: 35.67 kB / 432.6 MB, free: 7.875 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.01031, allocations: 35.34 kB / 432.6 MB, free: 7.832 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.01046, allocations: 0.5078 MB / 433.1 MB, free: 7.312 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.01049, allocations: 11.98 kB / 433.1 MB, free: 7.301 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.344e-05/0.01051, allocations: 4 kB / 433.1 MB, free: 7.297 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.01062, allocations: 51.67 kB / 433.2 MB, free: 7.242 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01062, allocations: 0 / 433.2 MB, free: 7.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002141/0.01083, allocations: 121.1 kB / 433.3 MB, free: 7.113 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.01085, allocations: 4 kB / 433.3 MB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01085, allocations: 0 / 433.3 MB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.01104, allocations: 43.58 kB / 433.4 MB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.0111, allocations: 12 kB / 433.4 MB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.01218, allocations: 1.764 MB / 435.1 MB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.01227, allocations: 11.98 kB / 435.2 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.01228, allocations: 4 kB / 435.2 MB, free: 5.16 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.0001691/0.01245, allocations: 181.4 kB / 435.3 MB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.01249, allocations: 27.84 kB / 435.4 MB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.01253, allocations: 21.45 kB / 435.4 MB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01253, allocations: 0 / 435.4 MB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01253, allocations: 0 / 435.4 MB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.01254, allocations: 0 / 435.4 MB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.01274, allocations: 165.1 kB / 435.5 MB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.01274, allocations: 4.141 kB / 435.5 MB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/0.01281, allocations: 8 kB / 435.6 MB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.01295, allocations: 39.64 kB / 435.6 MB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.01296, allocations: 7.922 kB / 435.6 MB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009787/0.01394, allocations: 1.772 MB / 437.4 MB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01394, allocations: 0 / 437.4 MB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005893/0.01453, allocations: 283.2 kB / 437.6 MB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.01458, allocations: 27.83 kB / 437.7 MB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.0146, allocations: 8 kB / 437.7 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.0147, allocations: 11.98 kB / 437.7 MB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.01474, allocations: 3.984 kB / 437.7 MB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.01474, allocations: 4 kB / 437.7 MB, free: 2.434 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.0149, allocations: 197.4 kB / 437.9 MB, free: 2.238 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0149, allocations: 4.062 kB / 437.9 MB, free: 2.234 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000274/0.01517, allocations: 43.89 kB / 437.9 MB, free: 2.191 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 0.0001166/0.01529, allocations: 91.39 kB / 438 MB, free: 2.094 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003288/0.01562, allocations: 239 kB / 438.3 MB, free: 1.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01562, allocations: 0 / 438.3 MB, free: 1.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.0158, allocations: 213.5 kB / 438.5 MB, free: 1.609 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.01611, allocations: 32.7 kB / 438.5 MB, free: 1.578 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.01671, allocations: 342.9 kB / 438.8 MB, free: 1.219 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.01678, allocations: 83.81 kB / 438.9 MB, free: 1.113 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.526e-05/0.01684, allocations: 13.14 kB / 438.9 MB, free: 1.098 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.471e-05/0.01693, allocations: 86.2 kB / 439 MB, free: 1.012 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01693, allocations: 0 / 439 MB, free: 1.012 MB / 410.7 MB Notification: Performance of Templates: time 0.005943/0.02287, allocations: 2.708 MB / 441.7 MB, free: 14.33 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.1764187556691468]