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.002244/0.002244, allocations: 82.64 kB / 19.96 MB, free: 1.754 MB / 14.72 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.001637/0.001637, allocations: 163.2 kB / 23.23 MB, free: 4.883 MB / 14.72 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 1.551/1.551, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] 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.7105/0.7105, allocations: 90.26 MB / 327.5 MB, free: 56 kB / 302.1 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.114e-06/2.114e-06, allocations: 0 / 0.4928 GB, free: 1.027 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.017e-05/5.229e-05, allocations: 9.938 kB / 0.4928 GB, free: 1.02 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.3605/0.3606, allocations: 2.051 MB / 0.4948 GB, free: 51.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.3616, allocations: 0.5949 MB / 0.4954 GB, free: 51.16 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.3618, allocations: 3.5 kB / 0.4954 GB, free: 51.16 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.3619, allocations: 25.59 kB / 0.4954 GB, free: 51.14 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.362, allocations: 48.52 kB / 0.4955 GB, free: 51.11 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.3622, allocations: 73.47 kB / 0.4955 GB, free: 51.07 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.3624, allocations: 220.8 kB / 0.4957 GB, free: 50.95 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.3626, allocations: 71.81 kB / 0.4958 GB, free: 50.91 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.733e-05/0.3627, allocations: 73 kB / 0.4959 GB, free: 50.88 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.65e-05/0.3628, allocations: 69.42 kB / 0.496 GB, free: 50.84 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.3628, allocations: 21.28 kB / 0.496 GB, free: 50.84 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.997e-05/0.3629, allocations: 20.06 kB / 0.496 GB, free: 50.84 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.3629, allocations: 48.58 kB / 0.496 GB, free: 50.81 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.862e-05/0.363, allocations: 64.56 kB / 0.4961 GB, free: 50.77 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.3632, allocations: 254.4 kB / 0.4963 GB, free: 50.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3632, allocations: 6.812 kB / 0.4963 GB, free: 50.67 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3632, allocations: 1.156 kB / 0.4963 GB, free: 50.67 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3633, allocations: 0 / 0.4963 GB, free: 50.67 MB / 478.1 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.0006859/0.3639, allocations: 456.3 kB / 0.4968 GB, free: 50.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.364, allocations: 8.406 kB / 0.4968 GB, free: 50.3 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.364, allocations: 26.73 kB / 0.4968 GB, free: 50.29 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.3643, allocations: 202.8 kB / 0.497 GB, free: 50.11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3644, allocations: 12.77 kB / 0.497 GB, free: 50.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.3644, allocations: 19.69 kB / 0.497 GB, free: 50.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.3647, allocations: 190.3 kB / 0.4972 GB, free: 49.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3647, allocations: 2.172 kB / 0.4972 GB, free: 49.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.3647, allocations: 10.72 kB / 0.4972 GB, free: 49.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3647, allocations: 3.375 kB / 0.4972 GB, free: 49.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.3649, allocations: 118.4 kB / 0.4974 GB, free: 49.93 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007564/0.3657, allocations: 0.6267 MB / 0.498 GB, free: 49.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.366, allocations: 137.3 kB / 0.4981 GB, free: 49.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.3661, allocations: 47.78 kB / 0.4981 GB, free: 49.35 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.3661, allocations: 2.75 kB / 0.4981 GB, free: 49.35 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.3661, allocations: 34.56 kB / 0.4982 GB, free: 49.31 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3661, allocations: 0 / 0.4982 GB, free: 49.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003867/0.3665, allocations: 185.7 kB / 0.4984 GB, free: 49.22 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.3666, allocations: 57.06 kB / 0.4984 GB, free: 49.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.3667, allocations: 212.2 kB / 0.4986 GB, free: 49.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.3667, allocations: 25.7 kB / 0.4986 GB, free: 48.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.3668, allocations: 159.3 kB / 0.4988 GB, free: 48.85 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.3668, allocations: 40.38 kB / 0.4988 GB, free: 48.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.3669, allocations: 39.45 kB / 0.4989 GB, free: 48.79 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.367, allocations: 324.8 kB / 0.4992 GB, free: 48.46 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.367, allocations: 45.86 kB / 0.4992 GB, free: 48.45 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.741e-05/0.3671, allocations: 67.48 kB / 0.4993 GB, free: 48.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.3677, allocations: 231.9 kB / 0.4995 GB, free: 48.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3677, allocations: 3.094 kB / 0.4995 GB, free: 48.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002365/0.368, allocations: 163.6 kB / 0.4997 GB, free: 48.22 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.368, allocations: 5.5 kB / 0.4997 GB, free: 48.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.368, allocations: 2.562 kB / 0.4997 GB, free: 48.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.368, allocations: 6.5 kB / 0.4997 GB, free: 48.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.3681, allocations: 24.81 kB / 0.4997 GB, free: 48.22 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3681, allocations: 6.984 kB / 0.4997 GB, free: 48.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/0.3682, allocations: 17.55 kB / 0.4997 GB, free: 48.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3682, allocations: 2.531 kB / 0.4997 GB, free: 48.2 MB / 478.1 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.0001517/0.3684, allocations: 147 kB / 0.4999 GB, free: 48.07 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.3684, allocations: 19.69 kB / 0.4999 GB, free: 48.06 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.3685, allocations: 19.5 kB / 0.4999 GB, free: 48.05 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3685, allocations: 2.969 kB / 0.4999 GB, free: 48.05 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3685, allocations: 0 / 0.4999 GB, free: 48.05 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3685, allocations: 2.953 kB / 0.4999 GB, free: 48.05 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.3687, allocations: 206.7 kB / 0.5001 GB, free: 47.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3687, allocations: 0 / 0.5001 GB, free: 47.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.3688, allocations: 19.8 kB / 0.5001 GB, free: 47.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3688, allocations: 3.5 kB / 0.5001 GB, free: 47.88 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3688, allocations: 4.062 kB / 0.5001 GB, free: 47.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3688, allocations: 3.938 kB / 0.5001 GB, free: 47.87 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3688, allocations: 0 / 0.5001 GB, free: 47.87 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.3692, allocations: 299.6 kB / 0.5004 GB, free: 47.67 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.3692, allocations: 24.77 kB / 0.5004 GB, free: 47.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.3693, allocations: 0 / 0.5004 GB, free: 47.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.771e-05/0.3694, allocations: 6.625 kB / 0.5004 GB, free: 47.65 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.3694, allocations: 6.219 kB / 0.5005 GB, free: 47.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.3694, allocations: 5.984 kB / 0.5005 GB, free: 47.65 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.3695, allocations: 150.3 kB / 0.5006 GB, free: 47.55 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3695, allocations: 4.062 kB / 0.5006 GB, free: 47.55 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.3698, allocations: 37.05 kB / 0.5006 GB, free: 47.54 MB / 478.1 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.0001129/0.3699, allocations: 99.55 kB / 0.5007 GB, free: 47.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.3701, allocations: 111.7 kB / 0.5008 GB, free: 47.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3702, allocations: 0 / 0.5008 GB, free: 47.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.3702, allocations: 47 kB / 0.5009 GB, free: 47.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.3706, allocations: 29.88 kB / 0.5009 GB, free: 47.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.3713, allocations: 375.7 kB / 0.5013 GB, free: 47.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.3714, allocations: 125 kB / 0.5014 GB, free: 47.06 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.6e-05/0.3715, allocations: 13.41 kB / 0.5014 GB, free: 47.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.3715, allocations: 22.31 kB / 0.5014 GB, free: 47.04 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3715, allocations: 0 / 0.5014 GB, free: 47.04 MB / 478.1 MB Notification: Performance of Templates: time 0.004619/0.3762, allocations: 1.282 MB / 0.5027 GB, free: 46.89 MB / 478.1 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: 6.0015750005841255]