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.000853/0.000853, allocations: 84.44 kB / 20.71 MB, free: 3.855 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.0008072/0.0008072, allocations: 169.2 kB / 23.98 MB, free: 0.5781 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.8799/0.8799, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.4202/0.4202, allocations: 90.26 MB / 328.3 MB, free: 15 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.963e-06/1.963e-06, allocations: 3.938 kB / 0.4935 GB, free: 21.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.587e-05, allocations: 3.047 kB / 0.4935 GB, free: 21.34 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.002431/0.002456, allocations: 2.066 MB / 0.4955 GB, free: 19.93 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.00326, allocations: 0.597 MB / 0.4961 GB, free: 19.52 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.00337, allocations: 7.781 kB / 0.4961 GB, free: 19.52 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.003501, allocations: 20.81 kB / 0.4961 GB, free: 19.5 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.176e-05/0.003593, allocations: 44.38 kB / 0.4962 GB, free: 19.46 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.003763, allocations: 71.78 kB / 0.4963 GB, free: 19.42 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.004018, allocations: 224.8 kB / 0.4965 GB, free: 19.3 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.004211, allocations: 84.12 kB / 0.4965 GB, free: 19.25 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.047e-05/0.004281, allocations: 74.17 kB / 0.4966 GB, free: 19.21 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.004388, allocations: 60.02 kB / 0.4967 GB, free: 19.18 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.004441, allocations: 21.16 kB / 0.4967 GB, free: 19.18 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.111e-05/0.004472, allocations: 21.09 kB / 0.4967 GB, free: 19.18 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.004522, allocations: 50 kB / 0.4968 GB, free: 19.15 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.83e-05/0.00458, allocations: 61.86 kB / 0.4968 GB, free: 19.11 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.004898, allocations: 259.9 kB / 0.4971 GB, free: 19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.0049, allocations: 0 / 0.4971 GB, free: 19 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.004902, allocations: 4 kB / 0.4971 GB, free: 19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.004907, allocations: 0 / 0.4971 GB, free: 19 MB / 442.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.0005832/0.00549, allocations: 453.8 kB / 0.4975 GB, free: 18.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.005533, allocations: 14.67 kB / 0.4975 GB, free: 18.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.005582, allocations: 24.89 kB / 0.4975 GB, free: 18.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.005835, allocations: 202 kB / 0.4977 GB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.005851, allocations: 11.14 kB / 0.4977 GB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.005881, allocations: 19.44 kB / 0.4978 GB, free: 18.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.006156, allocations: 192.5 kB / 0.498 GB, free: 18.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.006166, allocations: 192 / 0.498 GB, free: 18.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.006184, allocations: 14.81 kB / 0.498 GB, free: 18.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.006193, allocations: 3.969 kB / 0.498 GB, free: 18.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.006368, allocations: 116.3 kB / 0.4981 GB, free: 18.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007204/0.007089, allocations: 0.6299 MB / 0.4987 GB, free: 17.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.00742, allocations: 136.5 kB / 0.4988 GB, free: 17.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.023e-05/0.0075, allocations: 52.16 kB / 0.4989 GB, free: 17.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.007514, allocations: 2.625 kB / 0.4989 GB, free: 17.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.007532, allocations: 32.67 kB / 0.4989 GB, free: 17.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.007534, allocations: 0 / 0.4989 GB, free: 17.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003713/0.007905, allocations: 188.6 kB / 0.4991 GB, free: 17.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.007943, allocations: 52.72 kB / 0.4991 GB, free: 17.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.008126, allocations: 205.7 kB / 0.4993 GB, free: 17.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.008136, allocations: 25.7 kB / 0.4994 GB, free: 17.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.883e-05/0.008225, allocations: 153.1 kB / 0.4995 GB, free: 17.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.008259, allocations: 45.02 kB / 0.4995 GB, free: 17.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.008305, allocations: 37.17 kB / 0.4996 GB, free: 17.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.336e-05/0.008369, allocations: 330.2 kB / 0.4999 GB, free: 16.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.008444, allocations: 46.39 kB / 0.4999 GB, free: 16.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-05/0.008527, allocations: 63.19 kB / 0.5 GB, free: 16.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004977/0.009025, allocations: 234 kB / 0.5002 GB, free: 16.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.009028, allocations: 1.125 kB / 0.5002 GB, free: 16.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002162/0.009244, allocations: 164.5 kB / 0.5004 GB, free: 16.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.009263, allocations: 9.984 kB / 0.5004 GB, free: 16.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.00927, allocations: 5.234 kB / 0.5004 GB, free: 16.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.009286, allocations: 1.062 kB / 0.5004 GB, free: 16.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.009374, allocations: 29.17 kB / 0.5004 GB, free: 16.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.009383, allocations: 3.328 kB / 0.5004 GB, free: 16.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.009426, allocations: 15.88 kB / 0.5004 GB, free: 16.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.009436, allocations: 11.53 kB / 0.5005 GB, free: 16.48 MB / 442.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.0001336/0.00957, allocations: 138.5 kB / 0.5006 GB, free: 16.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.009595, allocations: 16.22 kB / 0.5006 GB, free: 16.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.009632, allocations: 28.89 kB / 0.5006 GB, free: 16.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.009636, allocations: 1.844 kB / 0.5006 GB, free: 16.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.009642, allocations: 1.094 kB / 0.5006 GB, free: 16.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.009648, allocations: 0.5625 kB / 0.5006 GB, free: 16.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.009839, allocations: 197.7 kB / 0.5008 GB, free: 16.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.009841, allocations: 1.344 kB / 0.5008 GB, free: 16.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.536e-05/0.009936, allocations: 24.06 kB / 0.5008 GB, free: 16.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.009939, allocations: 1.578 kB / 0.5009 GB, free: 16.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.009952, allocations: 4.906 kB / 0.5009 GB, free: 16.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.009954, allocations: 0.875 kB / 0.5009 GB, free: 16.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.009956, allocations: 5.562 kB / 0.5009 GB, free: 16.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.01023, allocations: 298.6 kB / 0.5011 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.01025, allocations: 23.27 kB / 0.5012 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.01027, allocations: 9 kB / 0.5012 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.01032, allocations: 4.484 kB / 0.5012 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.01036, allocations: 11.19 kB / 0.5012 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.01036, allocations: 5.5 kB / 0.5012 GB, free: 15.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.01047, allocations: 147 kB / 0.5013 GB, free: 15.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01047, allocations: 0 / 0.5013 GB, free: 15.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001835/0.01065, allocations: 36.92 kB / 0.5014 GB, free: 15.81 MB / 442.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 8.291e-05/0.01074, allocations: 103.5 kB / 0.5015 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.01094, allocations: 107.5 kB / 0.5016 GB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.01094, allocations: 0 / 0.5016 GB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.942e-05/0.01102, allocations: 56.44 kB / 0.5016 GB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.01124, allocations: 24.14 kB / 0.5017 GB, free: 15.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000604/0.01184, allocations: 403.4 kB / 0.502 GB, free: 15.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.01196, allocations: 124.2 kB / 0.5022 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.012, allocations: 16.94 kB / 0.5022 GB, free: 15.29 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/0.012, allocations: 1.125 kB / 0.5022 GB, free: 15.29 MB / 442.7 MB Notification: Performance of Templates: time 0.003627/0.01563, allocations: 2.219 MB / 0.5043 GB, free: 15.04 MB / 442.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=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.diff",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: 4.956801313906908]