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.001065/0.001065, allocations: 91.55 kB / 20.97 MB, free: 3.582 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.00119/0.00119, allocations: 177 kB / 24.28 MB, free: 280 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.9218/0.9218, allocations: 158.6 MB / 186.1 MB, free: 2.918 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.4657/0.4657, allocations: 90.57 MB / 328.9 MB, free: 14.73 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 2.214e-06/2.214e-06, allocations: 0 / 425.7 MB, free: 14.37 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.115e-05, allocations: 6.25 kB / 425.7 MB, free: 14.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003115/0.003146, allocations: 2.131 MB / 427.8 MB, free: 12.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009988/0.004145, allocations: 0.6008 MB / 428.4 MB, free: 11.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.004272, allocations: 8 kB / 428.4 MB, free: 11.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.00442, allocations: 23.67 kB / 428.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.004524, allocations: 43.59 kB / 428.5 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.004704, allocations: 75.86 kB / 428.5 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.004941, allocations: 223.8 kB / 428.8 MB, free: 11.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.005109, allocations: 75.98 kB / 428.8 MB, free: 11.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/0.005193, allocations: 71.77 kB / 428.9 MB, free: 11.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.777e-05/0.005281, allocations: 71.72 kB / 429 MB, free: 11.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.005316, allocations: 20 kB / 429 MB, free: 11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/0.005336, allocations: 20 kB / 429 MB, free: 10.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.677e-05/0.005373, allocations: 55.77 kB / 429.1 MB, free: 10.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.005426, allocations: 55.84 kB / 429.1 MB, free: 10.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.005639, allocations: 155.3 kB / 429.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.005642, allocations: 0 / 429.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.005643, allocations: 0 / 429.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.00565, allocations: 0 / 429.3 MB, free: 10.71 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.0005716/0.006221, allocations: 0.5428 MB / 429.8 MB, free: 10.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.006261, allocations: 8.031 kB / 429.8 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.761e-05/0.006328, allocations: 40.75 kB / 429.9 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.006565, allocations: 214 kB / 430.1 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.006582, allocations: 12.7 kB / 430.1 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.006612, allocations: 16.38 kB / 430.1 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.006844, allocations: 171.8 kB / 430.3 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.006852, allocations: 4.188 kB / 430.3 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.006868, allocations: 8.125 kB / 430.3 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.006877, allocations: 4 kB / 430.3 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.006988, allocations: 59.89 kB / 430.3 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007384/0.007727, allocations: 0.7545 MB / 431.1 MB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.007955, allocations: 87.16 kB / 431.2 MB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.008006, allocations: 31.67 kB / 431.2 MB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.008021, allocations: 4 kB / 431.2 MB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.008044, allocations: 37.39 kB / 431.3 MB, free: 8.582 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.008046, allocations: 0 / 431.3 MB, free: 8.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002447/0.00829, allocations: 117.5 kB / 431.4 MB, free: 8.461 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.008324, allocations: 51.66 kB / 431.4 MB, free: 8.398 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.008484, allocations: 253.6 kB / 431.7 MB, free: 8.133 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.0085, allocations: 33.7 kB / 431.7 MB, free: 8.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.789e-05/0.008588, allocations: 195 kB / 431.9 MB, free: 7.898 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.008618, allocations: 51.62 kB / 431.9 MB, free: 7.848 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.008662, allocations: 35.38 kB / 432 MB, free: 7.805 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.008787, allocations: 0.5001 MB / 432.5 MB, free: 7.293 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.714e-05/0.008824, allocations: 19.94 kB / 432.5 MB, free: 7.273 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.329e-05/0.008877, allocations: 51.03 kB / 432.5 MB, free: 7.211 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.009021, allocations: 103.1 kB / 432.6 MB, free: 7.098 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009023, allocations: 0 / 432.6 MB, free: 7.098 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000153/0.009176, allocations: 125.5 kB / 432.8 MB, free: 6.969 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.009191, allocations: 4 kB / 432.8 MB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.009197, allocations: 4.062 kB / 432.8 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.009213, allocations: 4 kB / 432.8 MB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.919e-05/0.009292, allocations: 23.98 kB / 432.8 MB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.009298, allocations: 0 / 432.8 MB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.00934, allocations: 15.89 kB / 432.8 MB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.009348, allocations: 4 kB / 432.8 MB, free: 6.914 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.0001498/0.009497, allocations: 176 kB / 433 MB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.009525, allocations: 23.91 kB / 433 MB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.009563, allocations: 21.47 kB / 433 MB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.009567, allocations: 3.984 kB / 433 MB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.009573, allocations: 8 kB / 433.1 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.009578, allocations: 3.984 kB / 433.1 MB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.009758, allocations: 200.4 kB / 433.2 MB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.009761, allocations: 0 / 433.2 MB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.107e-05/0.009842, allocations: 23.92 kB / 433.3 MB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.009844, allocations: 0 / 433.3 MB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.009864, allocations: 8 kB / 433.3 MB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.009865, allocations: 0 / 433.3 MB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.009867, allocations: 0 / 433.3 MB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.01013, allocations: 279.5 kB / 433.6 MB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.01015, allocations: 23.89 kB / 433.6 MB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.01017, allocations: 0 / 433.6 MB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.032e-05/0.01022, allocations: 11.98 kB / 433.6 MB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.01026, allocations: 7.984 kB / 433.6 MB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.01026, allocations: 0 / 433.6 MB, free: 6.082 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.46e-05/0.01036, allocations: 180.5 kB / 433.8 MB, free: 5.906 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01036, allocations: 0 / 433.8 MB, free: 5.906 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001801/0.01054, allocations: 35.89 kB / 433.8 MB, free: 5.871 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 0.0001053/0.01064, allocations: 99.19 kB / 433.9 MB, free: 5.766 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.0108, allocations: 74.97 kB / 434 MB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.0108, allocations: 3.938 kB / 434 MB, free: 5.688 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.027e-05/0.01085, allocations: 39.66 kB / 434 MB, free: 5.645 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.01111, allocations: 35.31 kB / 434.1 MB, free: 5.613 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.01173, allocations: 360.7 kB / 434.4 MB, free: 5.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.23e-05/0.01179, allocations: 79.81 kB / 434.5 MB, free: 5.133 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.361e-05/0.01183, allocations: 13.61 kB / 434.5 MB, free: 5.121 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.01187, allocations: 16.5 kB / 434.5 MB, free: 5.105 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.01187, allocations: 0 / 434.5 MB, free: 5.105 MB / 410.7 MB Notification: Performance of Templates: time 0.003701/0.01558, allocations: 1.3 MB / 435.8 MB, free: 3.816 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.2281878939829767]