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.0009985/0.0009985, allocations: 87.56 kB / 20.45 MB, free: 4.129 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.001508/0.001508, allocations: 165 kB / 23.82 MB, free: 0.7578 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.8955/0.8955, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.4835/0.4835, allocations: 90.56 MB / 328.6 MB, free: 14.68 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.743e-06/1.743e-06, allocations: 0 / 425.7 MB, free: 14.01 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.028e-05, allocations: 6.25 kB / 425.7 MB, free: 14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.002493/0.002514, allocations: 2.123 MB / 427.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009562/0.00347, allocations: 0.6203 MB / 428.4 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.003585, allocations: 0 / 428.4 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.00373, allocations: 31.61 kB / 428.4 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.324e-05/0.003824, allocations: 35.67 kB / 428.5 MB, free: 11.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.003991, allocations: 75.91 kB / 428.5 MB, free: 11.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.004205, allocations: 223.8 kB / 428.8 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.004388, allocations: 71.98 kB / 428.8 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.17e-05/0.004459, allocations: 79.7 kB / 428.9 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.291e-05/0.004552, allocations: 63.72 kB / 429 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.004586, allocations: 20 kB / 429 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.516e-05/0.004611, allocations: 24 kB / 429 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.004649, allocations: 51.77 kB / 429.1 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.004705, allocations: 63.83 kB / 429.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.004899, allocations: 151.3 kB / 429.3 MB, free: 10.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.004903, allocations: 8 kB / 429.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.004904, allocations: 0 / 429.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.00491, allocations: 0 / 429.3 MB, free: 10.34 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.0006151/0.005525, allocations: 0.535 MB / 429.8 MB, free: 9.773 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.005568, allocations: 8.031 kB / 429.8 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.497e-05/0.005633, allocations: 40.75 kB / 429.9 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.005868, allocations: 210 kB / 430.1 MB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.005884, allocations: 12.7 kB / 430.1 MB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.005927, allocations: 20.36 kB / 430.1 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.006153, allocations: 171.8 kB / 430.3 MB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.006163, allocations: 192 / 430.3 MB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.00618, allocations: 12.11 kB / 430.3 MB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.00619, allocations: 4 kB / 430.3 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.973e-05/0.00629, allocations: 55.89 kB / 430.3 MB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000689/0.006979, allocations: 0.7701 MB / 431.1 MB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.007196, allocations: 79.12 kB / 431.2 MB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.007249, allocations: 31.67 kB / 431.2 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.00726, allocations: 0 / 431.2 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.007287, allocations: 45.42 kB / 431.3 MB, free: 8.211 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.007288, allocations: 0 / 431.3 MB, free: 8.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002404/0.007528, allocations: 113.5 kB / 431.4 MB, free: 8.094 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.007556, allocations: 55.66 kB / 431.4 MB, free: 8.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.007714, allocations: 257.6 kB / 431.7 MB, free: 7.758 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.007727, allocations: 25.7 kB / 431.7 MB, free: 7.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.007817, allocations: 199 kB / 431.9 MB, free: 7.527 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.007846, allocations: 47.58 kB / 432 MB, free: 7.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.007888, allocations: 35.38 kB / 432 MB, free: 7.438 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.008019, allocations: 0.5001 MB / 432.5 MB, free: 6.926 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.008056, allocations: 12 kB / 432.5 MB, free: 6.914 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.008111, allocations: 62.2 kB / 432.6 MB, free: 6.844 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.00825, allocations: 99.16 kB / 432.7 MB, free: 6.734 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.008254, allocations: 8 kB / 432.7 MB, free: 6.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001445/0.008398, allocations: 117.5 kB / 432.8 MB, free: 6.605 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.008411, allocations: 7.594 kB / 432.8 MB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.008417, allocations: 0 / 432.8 MB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.008433, allocations: 4 kB / 432.8 MB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.008513, allocations: 27.92 kB / 432.8 MB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.00852, allocations: 4 kB / 432.8 MB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.791e-05/0.008558, allocations: 7.891 kB / 432.8 MB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.008567, allocations: 8 kB / 432.8 MB, free: 6.551 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.0001312/0.008698, allocations: 176.5 kB / 433 MB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.008724, allocations: 19.91 kB / 433 MB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.008762, allocations: 21.47 kB / 433.1 MB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.008766, allocations: 4 kB / 433.1 MB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.008769, allocations: 0 / 433.1 MB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.008775, allocations: 3.984 kB / 433.1 MB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.008935, allocations: 204.4 kB / 433.3 MB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.008937, allocations: 0 / 433.3 MB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.667e-05/0.009013, allocations: 20 kB / 433.3 MB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.009015, allocations: 0 / 433.3 MB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.009033, allocations: 8 kB / 433.3 MB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.009034, allocations: 0 / 433.3 MB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.009036, allocations: 4 kB / 433.3 MB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.009275, allocations: 279.2 kB / 433.6 MB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.009298, allocations: 23.86 kB / 433.6 MB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.009315, allocations: 4 kB / 433.6 MB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.747e-05/0.009362, allocations: 7.984 kB / 433.6 MB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.0094, allocations: 11.97 kB / 433.6 MB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.009405, allocations: 4 kB / 433.6 MB, free: 5.715 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.578e-05/0.009491, allocations: 176.5 kB / 433.8 MB, free: 5.543 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009491, allocations: 32 / 433.8 MB, free: 5.543 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.009649, allocations: 43.83 kB / 433.8 MB, free: 5.5 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 7.504e-05/0.009724, allocations: 99.25 kB / 433.9 MB, free: 5.395 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.009866, allocations: 66.97 kB / 434 MB, free: 5.328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.009868, allocations: 0 / 434 MB, free: 5.328 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.049e-05/0.009918, allocations: 47.59 kB / 434 MB, free: 5.277 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.01014, allocations: 23.55 kB / 434.1 MB, free: 5.258 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.01074, allocations: 376.8 kB / 434.4 MB, free: 4.859 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.368e-05/0.01079, allocations: 75.83 kB / 434.5 MB, free: 4.766 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.28e-05/0.01083, allocations: 13.48 kB / 434.5 MB, free: 4.754 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.01088, allocations: 16.5 kB / 434.5 MB, free: 4.738 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01088, allocations: 3.938 kB / 434.5 MB, free: 4.734 MB / 410.7 MB Notification: Performance of Templates: time 0.003534/0.01441, allocations: 1.3 MB / 435.8 MB, free: 3.445 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: 3.359048819169402]