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.001513/0.001513, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.001773/0.001773, allocations: 169 kB / 23.82 MB, free: 0.75 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.9037/0.9037, allocations: 158.6 MB / 185.7 MB, free: 2.484 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.4493/0.4493, allocations: 90.57 MB / 328.6 MB, free: 14.71 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.343e-06/1.343e-06, allocations: 0 / 425.6 MB, free: 14.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.671e-05, allocations: 2.312 kB / 425.7 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.002676/0.002703, allocations: 2.142 MB / 427.8 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007956/0.003499, allocations: 0.6085 MB / 428.4 MB, free: 11.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.541e-05/0.003594, allocations: 8 kB / 428.4 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.00372, allocations: 27.67 kB / 428.4 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.182e-05/0.003812, allocations: 43.53 kB / 428.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.003955, allocations: 75.91 kB / 428.6 MB, free: 11.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.004144, allocations: 219.9 kB / 428.8 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.004287, allocations: 71.98 kB / 428.8 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.004351, allocations: 75.7 kB / 428.9 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.798e-05/0.004429, allocations: 67.78 kB / 429 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.004464, allocations: 24 kB / 429 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.055e-05/0.004484, allocations: 20 kB / 429 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.00452, allocations: 51.77 kB / 429.1 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.004571, allocations: 67.77 kB / 429.1 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.004745, allocations: 147.4 kB / 429.3 MB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004747, allocations: 0 / 429.3 MB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004748, allocations: 0 / 429.3 MB, free: 10.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.004753, allocations: 0 / 429.3 MB, free: 10.37 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.00051/0.005263, allocations: 0.5388 MB / 429.8 MB, free: 9.797 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.005299, allocations: 12.03 kB / 429.8 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.005355, allocations: 40.75 kB / 429.9 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/0.005814, allocations: 206 kB / 430.1 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.005828, allocations: 12.7 kB / 430.1 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.005857, allocations: 24.36 kB / 430.1 MB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.006061, allocations: 163.9 kB / 430.3 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.006069, allocations: 4.188 kB / 430.3 MB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.006085, allocations: 12.11 kB / 430.3 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.006094, allocations: 4 kB / 430.3 MB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.082e-05/0.006184, allocations: 55.91 kB / 430.3 MB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.006807, allocations: 0.7623 MB / 431.1 MB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.00701, allocations: 95 kB / 431.2 MB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.565e-05/0.007055, allocations: 35.3 kB / 431.2 MB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.007065, allocations: 4 kB / 431.2 MB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.007085, allocations: 33.39 kB / 431.3 MB, free: 8.234 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.007086, allocations: 0 / 431.3 MB, free: 8.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002161/0.007303, allocations: 125.6 kB / 431.4 MB, free: 8.105 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.007327, allocations: 51.66 kB / 431.4 MB, free: 8.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.007471, allocations: 253.6 kB / 431.7 MB, free: 7.777 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.007482, allocations: 25.7 kB / 431.7 MB, free: 7.746 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.007559, allocations: 199 kB / 431.9 MB, free: 7.547 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.007584, allocations: 43.64 kB / 432 MB, free: 7.504 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.007623, allocations: 35.38 kB / 432 MB, free: 7.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.007729, allocations: 0.5001 MB / 432.5 MB, free: 6.949 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/0.007765, allocations: 16 kB / 432.5 MB, free: 6.934 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.66e-05/0.007811, allocations: 51.03 kB / 432.6 MB, free: 6.871 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.007939, allocations: 107.1 kB / 432.7 MB, free: 6.754 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007941, allocations: 0 / 432.7 MB, free: 6.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000132/0.008073, allocations: 120.9 kB / 432.8 MB, free: 6.633 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.008085, allocations: 8 kB / 432.8 MB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.00809, allocations: 0 / 432.8 MB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.008101, allocations: 4.062 kB / 432.8 MB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.00818, allocations: 27.98 kB / 432.8 MB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.008185, allocations: 3.938 kB / 432.8 MB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.764e-05/0.008223, allocations: 15.89 kB / 432.8 MB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.00823, allocations: 4 kB / 432.8 MB, free: 6.57 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.0001618/0.008391, allocations: 168.5 kB / 433 MB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.008425, allocations: 23.91 kB / 433 MB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.008457, allocations: 25.47 kB / 433.1 MB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.00846, allocations: 0 / 433.1 MB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.008463, allocations: 4 kB / 433.1 MB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008467, allocations: 3.984 kB / 433.1 MB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.008622, allocations: 204.4 kB / 433.3 MB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008624, allocations: 0 / 433.3 MB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.131e-05/0.008715, allocations: 23.94 kB / 433.3 MB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.008718, allocations: 0 / 433.3 MB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.008733, allocations: 7.938 kB / 433.3 MB, free: 6.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.008735, allocations: 0 / 433.3 MB, free: 6.074 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008736, allocations: 0 / 433.3 MB, free: 6.074 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.008964, allocations: 275.8 kB / 433.6 MB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.008984, allocations: 19.86 kB / 433.6 MB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.009, allocations: 8.031 kB / 433.6 MB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.009048, allocations: 7.984 kB / 433.6 MB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.009077, allocations: 11.98 kB / 433.6 MB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.009081, allocations: 0 / 433.6 MB, free: 5.738 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.772e-05/0.009159, allocations: 180.5 kB / 433.8 MB, free: 5.562 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009159, allocations: 0 / 433.8 MB, free: 5.562 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.009319, allocations: 39.89 kB / 433.8 MB, free: 5.523 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.035e-05/0.00939, allocations: 91.25 kB / 433.9 MB, free: 5.426 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.009525, allocations: 75.16 kB / 434 MB, free: 5.352 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.009527, allocations: 4 kB / 434 MB, free: 5.348 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.59e-05/0.009572, allocations: 46.97 kB / 434 MB, free: 5.301 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.009787, allocations: 23.94 kB / 434.1 MB, free: 5.277 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.01029, allocations: 364.7 kB / 434.4 MB, free: 4.891 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.431e-05/0.01033, allocations: 75.83 kB / 434.5 MB, free: 4.797 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.658e-05/0.01037, allocations: 13.48 kB / 434.5 MB, free: 4.785 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.01041, allocations: 16.5 kB / 434.5 MB, free: 4.77 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01041, allocations: 0 / 434.5 MB, free: 4.77 MB / 410.7 MB Notification: Performance of Templates: time 0.003098/0.01351, allocations: 1.357 MB / 435.9 MB, free: 3.426 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.178468843922019]