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.001922/0.001922, allocations: 92.91 kB / 20.23 MB, free: 4.191 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.002073/0.002073, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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 1.392/1.392, allocations: 158.6 MB / 185.4 MB, free: 2.875 MB / 170.7 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.7305/0.7305, allocations: 90.61 MB / 328.3 MB, free: 14.6 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.453e-06/1.453e-06, allocations: 0 / 425 MB, free: 14.26 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.042e-05, allocations: 2.312 kB / 425 MB, free: 14.26 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003852/0.003883, allocations: 2.1 MB / 427.1 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.005251, allocations: 0.6009 MB / 427.7 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.005381, allocations: 7.938 kB / 427.7 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.005539, allocations: 27.66 kB / 427.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.005662, allocations: 35.67 kB / 427.8 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.005859, allocations: 79.84 kB / 427.8 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.00616, allocations: 215.8 kB / 428 MB, free: 11.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.006376, allocations: 83.97 kB / 428.1 MB, free: 11.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.00649, allocations: 75.7 kB / 428.2 MB, free: 11.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.006611, allocations: 67.72 kB / 428.3 MB, free: 10.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.006657, allocations: 20 kB / 428.3 MB, free: 10.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.769e-05/0.006695, allocations: 20 kB / 428.3 MB, free: 10.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.833e-05/0.006753, allocations: 51.78 kB / 428.4 MB, free: 10.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.23e-05/0.006845, allocations: 59.83 kB / 428.4 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.007215, allocations: 263.1 kB / 428.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.007225, allocations: 7.984 kB / 428.7 MB, free: 10.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.007226, allocations: 0 / 428.7 MB, free: 10.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.007231, allocations: 4 kB / 428.7 MB, free: 10.52 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.0009184/0.00815, allocations: 0.5463 MB / 429.2 MB, free: 9.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.008195, allocations: 12.03 kB / 429.2 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.008296, allocations: 44.75 kB / 429.3 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006338/0.00893, allocations: 210 kB / 429.5 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.008951, allocations: 16.7 kB / 429.5 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.009001, allocations: 16.38 kB / 429.5 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.009388, allocations: 203.1 kB / 429.7 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.0094, allocations: 192 / 429.7 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.009423, allocations: 12.12 kB / 429.7 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.009432, allocations: 4 kB / 429.7 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.009675, allocations: 111.9 kB / 429.8 MB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.0109, allocations: 0.8328 MB / 430.7 MB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.0113, allocations: 139.1 kB / 430.8 MB, free: 8.258 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.01141, allocations: 51.67 kB / 430.9 MB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.01143, allocations: 0 / 430.9 MB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.01147, allocations: 45.42 kB / 430.9 MB, free: 8.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 8.52e-07/0.01148, allocations: 0 / 430.9 MB, free: 8.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004528/0.01193, allocations: 173.8 kB / 431.1 MB, free: 7.973 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.01198, allocations: 63.33 kB / 431.1 MB, free: 7.898 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.01231, allocations: 297.6 kB / 431.4 MB, free: 7.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.01233, allocations: 29.7 kB / 431.5 MB, free: 7.555 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.0125, allocations: 203.1 kB / 431.7 MB, free: 7.352 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.01255, allocations: 51.58 kB / 431.7 MB, free: 7.301 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.01263, allocations: 43.36 kB / 431.8 MB, free: 7.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003037/0.01293, allocations: 0.504 MB / 432.3 MB, free: 6.734 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.841e-05/0.01303, allocations: 43.98 kB / 432.3 MB, free: 6.691 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.01317, allocations: 78.98 kB / 432.4 MB, free: 6.602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.01349, allocations: 174.9 kB / 432.5 MB, free: 6.422 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01349, allocations: 4 kB / 432.5 MB, free: 6.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003138/0.01381, allocations: 173.4 kB / 432.7 MB, free: 6.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.01382, allocations: 4 kB / 432.7 MB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.01383, allocations: 0 / 432.7 MB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.01385, allocations: 4 kB / 432.7 MB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.01398, allocations: 31.92 kB / 432.8 MB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.01399, allocations: 0 / 432.8 MB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.01407, allocations: 11.89 kB / 432.8 MB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.01408, allocations: 4 kB / 432.8 MB, free: 6.188 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.000233/0.01431, allocations: 192.5 kB / 433 MB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.01437, allocations: 23.89 kB / 433 MB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.825e-05/0.01442, allocations: 21.47 kB / 433 MB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01443, allocations: 0 / 433 MB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.01443, allocations: 0 / 433 MB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01443, allocations: 0 / 433 MB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.01477, allocations: 240.4 kB / 433.2 MB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.01478, allocations: 8 kB / 433.2 MB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.01492, allocations: 19.98 kB / 433.3 MB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01492, allocations: 0 / 433.3 MB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.01494, allocations: 8 kB / 433.3 MB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.01494, allocations: 4 kB / 433.3 MB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01494, allocations: 0 / 433.3 MB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.01548, allocations: 358.4 kB / 433.6 MB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.01552, allocations: 23.78 kB / 433.7 MB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.01555, allocations: 8 kB / 433.7 MB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.012e-05/0.01564, allocations: 0 / 433.7 MB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.01569, allocations: 11.92 kB / 433.7 MB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.0157, allocations: 4 kB / 433.7 MB, free: 5.227 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001968/0.0159, allocations: 200.5 kB / 433.9 MB, free: 5.031 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0159, allocations: 4.031 kB / 433.9 MB, free: 5.027 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.01616, allocations: 39.89 kB / 433.9 MB, free: 4.988 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.0001334/0.01629, allocations: 95.23 kB / 434 MB, free: 4.887 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.01658, allocations: 118.9 kB / 434.1 MB, free: 4.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01658, allocations: 0 / 434.1 MB, free: 4.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.01671, allocations: 67.61 kB / 434.2 MB, free: 4.699 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.01704, allocations: 27.86 kB / 434.2 MB, free: 4.672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/0.01795, allocations: 392.8 kB / 434.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.01809, allocations: 125.7 kB / 434.7 MB, free: 4.109 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.489e-05/0.01816, allocations: 21.47 kB / 434.7 MB, free: 4.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.01821, allocations: 20.44 kB / 434.8 MB, free: 4.07 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01821, allocations: 0 / 434.8 MB, free: 4.07 MB / 410.7 MB Notification: Performance of Templates: time 0.005108/0.02332, allocations: 1.302 MB / 436.1 MB, free: 2.785 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","/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: 5.283233745023608]