Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.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.0009279/0.0009279, allocations: 73.89 kB / 20.67 MB, free: 3.828 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.0009131/0.0009131, allocations: 177 kB / 24.08 MB, free: 428 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.8088/0.8088, allocations: 158.6 MB / 186 MB, free: 2.766 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.4345/0.4345, allocations: 91.28 MB / 329.6 MB, free: 13.88 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.ReducedOrderSFR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reducedOrderSFR.deltaFrequency",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR") translateModel(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reducedOrderSFR.deltaFrequency",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 427.1 MB, free: 12.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.476e-05, allocations: 5.969 kB / 427.1 MB, free: 12.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.002185/0.0022, allocations: 2.127 MB / 429.2 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007251/0.002925, allocations: 0.6008 MB / 429.8 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.00302, allocations: 7.938 kB / 429.9 MB, free: 10 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.003125, allocations: 23.67 kB / 429.9 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.158e-05/0.003206, allocations: 47.59 kB / 429.9 MB, free: 9.934 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.003335, allocations: 71.92 kB / 430 MB, free: 9.863 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.003513, allocations: 215.9 kB / 430.2 MB, free: 9.652 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.003655, allocations: 79.97 kB / 430.3 MB, free: 9.566 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.003721, allocations: 79.64 kB / 430.4 MB, free: 9.488 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.448e-05/0.003796, allocations: 59.78 kB / 430.4 MB, free: 9.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.003822, allocations: 27.94 kB / 430.4 MB, free: 9.402 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.928e-05/0.003841, allocations: 20 kB / 430.5 MB, free: 9.383 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.003872, allocations: 51.84 kB / 430.5 MB, free: 9.332 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.003917, allocations: 63.77 kB / 430.6 MB, free: 9.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.004064, allocations: 151.3 kB / 430.7 MB, free: 9.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004066, allocations: 0 / 430.7 MB, free: 9.121 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.6e-07/0.004066, allocations: 0 / 430.7 MB, free: 9.121 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.00407, allocations: 0 / 430.7 MB, free: 9.121 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004499/0.00452, allocations: 0.5349 MB / 431.3 MB, free: 8.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.004558, allocations: 16.02 kB / 431.3 MB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.004601, allocations: 40.75 kB / 431.3 MB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.004768, allocations: 206 kB / 431.5 MB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.00478, allocations: 16.64 kB / 431.5 MB, free: 8.254 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.004801, allocations: 12.38 kB / 431.5 MB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.004966, allocations: 167.8 kB / 431.7 MB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.004974, allocations: 192 / 431.7 MB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.004989, allocations: 8.125 kB / 431.7 MB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.004996, allocations: 8 kB / 431.7 MB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.723e-05/0.005053, allocations: 51.89 kB / 431.8 MB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.005584, allocations: 0.7122 MB / 432.5 MB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.00573, allocations: 83.05 kB / 432.6 MB, free: 7.148 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.005759, allocations: 27.67 kB / 432.6 MB, free: 7.117 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-06/0.005767, allocations: 4 kB / 432.6 MB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.005785, allocations: 37.39 kB / 432.6 MB, free: 7.066 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.005787, allocations: 96 / 432.6 MB, free: 7.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001653/0.005952, allocations: 113.5 kB / 432.7 MB, free: 6.949 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.005978, allocations: 55.66 kB / 432.8 MB, free: 6.883 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.006099, allocations: 241.6 kB / 433 MB, free: 6.629 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.006114, allocations: 33.69 kB / 433.1 MB, free: 6.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.006193, allocations: 199 kB / 433.3 MB, free: 6.391 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.006219, allocations: 43.62 kB / 433.3 MB, free: 6.348 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.006259, allocations: 39.36 kB / 433.3 MB, free: 6.301 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.00638, allocations: 0.5001 MB / 433.8 MB, free: 5.789 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.006406, allocations: 8 kB / 433.9 MB, free: 5.781 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/0.006447, allocations: 55.02 kB / 433.9 MB, free: 5.715 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.588e-05/0.006542, allocations: 91.03 kB / 434 MB, free: 5.617 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.006545, allocations: 3.984 kB / 434 MB, free: 5.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001125/0.006658, allocations: 116.7 kB / 434.1 MB, free: 5.496 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.00667, allocations: 8 kB / 434.1 MB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.006674, allocations: 0 / 434.1 MB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.006682, allocations: 0 / 434.1 MB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.186e-05/0.006754, allocations: 31.92 kB / 434.2 MB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.006757, allocations: 4.062 kB / 434.2 MB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.006793, allocations: 11.89 kB / 434.2 MB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.0068, allocations: 8 kB / 434.2 MB, free: 5.434 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: reducedOrderSFR.firstOrder.y:VARIABLE(flow=false start = reducedOrderSFR.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (reducedOrderSFR.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.006911, allocations: 176.5 kB / 434.3 MB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.006936, allocations: 23.84 kB / 434.4 MB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.006964, allocations: 25.41 kB / 434.4 MB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006966, allocations: 0 / 434.4 MB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.006967, allocations: 0 / 434.4 MB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.006972, allocations: 3.984 kB / 434.4 MB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.007109, allocations: 165.1 kB / 434.6 MB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.00711, allocations: 0 / 434.6 MB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.63e-05/0.007176, allocations: 24 kB / 434.6 MB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007179, allocations: 3.938 kB / 434.6 MB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.007189, allocations: 3.984 kB / 434.6 MB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.00719, allocations: 0 / 434.6 MB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007191, allocations: 0 / 434.6 MB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.007381, allocations: 263.8 kB / 434.9 MB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.007403, allocations: 27.84 kB / 434.9 MB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.007418, allocations: 3.938 kB / 434.9 MB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.449e-05/0.007462, allocations: 8 kB / 434.9 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.007488, allocations: 12.02 kB / 434.9 MB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.007492, allocations: 0 / 434.9 MB, free: 4.652 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.555e-05/0.007557, allocations: 172.5 kB / 435.1 MB, free: 4.484 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007558, allocations: 0 / 435.1 MB, free: 4.484 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.007712, allocations: 39.89 kB / 435.1 MB, free: 4.445 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (reducedOrderSFR.integrator.y,reducedOrderSFR.firstOrder.y) * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.626e-05/0.007778, allocations: 91.25 kB / 435.2 MB, free: 4.348 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.565e-05/0.007874, allocations: 71.17 kB / 435.3 MB, free: 4.277 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.007875, allocations: 0 / 435.3 MB, free: 4.277 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.007911, allocations: 35.73 kB / 435.3 MB, free: 4.238 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.008101, allocations: 23.98 kB / 435.3 MB, free: 4.215 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.008537, allocations: 372.6 kB / 435.7 MB, free: 3.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.814e-05/0.008575, allocations: 75.83 kB / 435.8 MB, free: 3.727 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.597e-05/0.008611, allocations: 13.48 kB / 435.8 MB, free: 3.715 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.008677, allocations: 82.2 kB / 435.9 MB, free: 3.633 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008677, allocations: 4 kB / 435.9 MB, free: 3.629 MB / 410.7 MB Notification: Performance of Templates: time 0.002883/0.01156, allocations: 1.415 MB / 437.3 MB, free: 2.227 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.sim & ./Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable reducedOrderSFR.deltaFrequency in file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.mat. Warning: Get data of variable reducedOrderSFR.deltaFrequency from file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7948116357438266]