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.0009782/0.0009782, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.001107/0.001107, allocations: 169 kB / 24.16 MB, free: 336 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.8213/0.8213, allocations: 158.6 MB / 186 MB, free: 2.734 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.4263/0.4263, allocations: 90.86 MB / 329.2 MB, free: 14.23 MB / 314.7 MB " [Timeout remaining time 180] Using package Dynawo with version 2.0.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.232e-06/1.232e-06, allocations: 0 / 377.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.279e-05, allocations: 2.312 kB / 377.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.0023/0.002323, allocations: 1.979 MB / 379.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.003421, allocations: 0.6124 MB / 380.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.003493, allocations: 3.938 kB / 380.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.003763, allocations: 51.62 kB / 380.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.003923, allocations: 83.67 kB / 380.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.004097, allocations: 103.8 kB / 380.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.004284, allocations: 243.4 kB / 380.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.253e-05/0.004376, allocations: 26.44 kB / 380.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.004483, allocations: 103.7 kB / 380.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.004614, allocations: 115.7 kB / 380.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.004644, allocations: 20 kB / 380.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.121e-05/0.004665, allocations: 24 kB / 380.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.004734, allocations: 71.7 kB / 380.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.004779, allocations: 59.83 kB / 380.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.004917, allocations: 131.5 kB / 381.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.004919, allocations: 0 / 381.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.00492, allocations: 4 kB / 381.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.004924, allocations: 0 / 381.1 MB, free: 10.79 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.0004783/0.005402, allocations: 409.2 kB / 381.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.00543, allocations: 8.031 kB / 381.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.005468, allocations: 16.92 kB / 381.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.005697, allocations: 207.2 kB / 381.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.005706, allocations: 4.375 kB / 381.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.005726, allocations: 8.375 kB / 381.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.00583, allocations: 70.3 kB / 381.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.005837, allocations: 192 / 381.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.005845, allocations: 4.375 kB / 381.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.005851, allocations: 7.938 kB / 381.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.989e-05/0.005911, allocations: 28.75 kB / 381.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.006269, allocations: 281.5 kB / 382.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.006446, allocations: 130.9 kB / 382.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.006474, allocations: 16.8 kB / 382.2 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.006482, allocations: 0 / 382.2 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.006502, allocations: 42.56 kB / 382.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 8.61e-07/0.006503, allocations: 0 / 382.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003216/0.006824, allocations: 129.2 kB / 382.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.006849, allocations: 51.41 kB / 382.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.006988, allocations: 215.4 kB / 382.7 MB, free: 9.066 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.006999, allocations: 29.7 kB / 382.7 MB, free: 9.031 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.007034, allocations: 112.5 kB / 382.8 MB, free: 8.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.007065, allocations: 39.62 kB / 382.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.007096, allocations: 21.7 kB / 382.9 MB, free: 8.852 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.246e-05/0.007168, allocations: 342.7 kB / 383.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.007187, allocations: 6.828 kB / 383.2 MB, free: 8.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.868e-05/0.007206, allocations: 11.94 kB / 383.2 MB, free: 8.488 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.479e-05/0.007281, allocations: 50.47 kB / 383.3 MB, free: 8.434 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007282, allocations: 0 / 383.3 MB, free: 8.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001311/0.007414, allocations: 93.27 kB / 383.4 MB, free: 8.332 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.007425, allocations: 8 kB / 383.4 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.007428, allocations: 4 kB / 383.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001419/0.00757, allocations: 31.66 kB / 383.4 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.007627, allocations: 23.92 kB / 383.4 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006558/0.008283, allocations: 1.226 MB / 384.7 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.008339, allocations: 12.03 kB / 384.7 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.008346, allocations: 4 kB / 384.7 MB, free: 6.926 MB / 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.0001249/0.008471, allocations: 131.9 kB / 384.8 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.0085, allocations: 23.86 kB / 384.8 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.008523, allocations: 21.41 kB / 384.8 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.008524, allocations: 0 / 384.8 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.008528, allocations: 8 kB / 384.8 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.008531, allocations: 0 / 384.8 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.008657, allocations: 129.8 kB / 385 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008658, allocations: 0 / 385 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/0.008706, allocations: 11.98 kB / 385 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.422e-05/0.0088, allocations: 35.66 kB / 385 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.00881, allocations: 0 / 385 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005721/0.009382, allocations: 1.235 MB / 386.3 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009383, allocations: 0 / 386.3 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.009575, allocations: 260.5 kB / 386.5 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.009604, allocations: 23.84 kB / 386.5 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.009621, allocations: 4 kB / 386.5 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.009688, allocations: 8 kB / 386.5 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.009715, allocations: 8.047 kB / 386.6 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.00972, allocations: 4 kB / 386.6 MB, free: 4.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.017e-05/0.0098, allocations: 85.77 kB / 386.6 MB, free: 4.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.0098, allocations: 0 / 386.6 MB, free: 4.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.009954, allocations: 39.88 kB / 386.7 MB, free: 4.77 MB / 362.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 7.496e-05/0.01003, allocations: 80.36 kB / 386.8 MB, free: 4.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004617/0.01049, allocations: 168.8 kB / 386.9 MB, free: 4.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.0105, allocations: 12 kB / 386.9 MB, free: 4.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.0106, allocations: 151.4 kB / 387.1 MB, free: 4.324 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.01078, allocations: 31.53 kB / 387.1 MB, free: 4.293 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.0112, allocations: 337.1 kB / 387.4 MB, free: 3.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.299e-05/0.01124, allocations: 83.81 kB / 387.5 MB, free: 3.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.099e-05/0.01129, allocations: 21.08 kB / 387.5 MB, free: 3.812 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.01135, allocations: 67.36 kB / 387.6 MB, free: 3.746 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01136, allocations: 0 / 387.6 MB, free: 3.746 MB / 362.7 MB Notification: Performance of Templates: time 0.004164/0.01552, allocations: 2.636 MB / 390.2 MB, free: 1.133 MB / 362.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 -s gbode -gbm=radauIIA3 -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: 2.86739199841395]