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.001386/0.001386, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001521/0.001521, allocations: 167.8 kB / 24.86 MB, free: 9.297 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.8626/0.8626, allocations: 158.6 MB / 186.8 MB, free: 2.801 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.4588/0.4588, allocations: 90.57 MB / 329.7 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 2.245e-06/2.245e-06, allocations: 0 / 426.9 MB, free: 13.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.609e-05, allocations: 2.312 kB / 426.9 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003964/0.00399, allocations: 2.119 MB / 429 MB, free: 11.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.005223, allocations: 0.6124 MB / 429.6 MB, free: 11.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.005375, allocations: 4 kB / 429.6 MB, free: 11.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.00553, allocations: 27.66 kB / 429.7 MB, free: 11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.005674, allocations: 43.59 kB / 429.7 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.005881, allocations: 71.88 kB / 429.8 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.006169, allocations: 219.9 kB / 430 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.00637, allocations: 79.98 kB / 430.1 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.006486, allocations: 79.69 kB / 430.1 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.006601, allocations: 55.81 kB / 430.2 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.006641, allocations: 24 kB / 430.2 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.846e-05/0.00667, allocations: 20 kB / 430.2 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.006718, allocations: 51.77 kB / 430.3 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.006784, allocations: 63.77 kB / 430.4 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.007033, allocations: 151.3 kB / 430.5 MB, free: 10.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.007037, allocations: 0 / 430.5 MB, free: 10.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007038, allocations: 0 / 430.5 MB, free: 10.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.007044, allocations: 7.984 kB / 430.5 MB, free: 10.14 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.0007527/0.007796, allocations: 0.531 MB / 431 MB, free: 9.578 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.007839, allocations: 12.03 kB / 431.1 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.075e-05/0.00791, allocations: 40.75 kB / 431.1 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.008165, allocations: 214 kB / 431.3 MB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.008184, allocations: 16.7 kB / 431.3 MB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.008215, allocations: 12.38 kB / 431.3 MB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.008444, allocations: 163.8 kB / 431.5 MB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.008458, allocations: 192 / 431.5 MB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.008475, allocations: 12.12 kB / 431.5 MB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.008484, allocations: 8 kB / 431.5 MB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.265e-05/0.008577, allocations: 43.89 kB / 431.6 MB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008144/0.009391, allocations: 0.7277 MB / 432.3 MB, free: 8.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.009621, allocations: 87.08 kB / 432.4 MB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.009664, allocations: 19.69 kB / 432.4 MB, free: 8.137 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.009675, allocations: 4 kB / 432.4 MB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.009705, allocations: 41.38 kB / 432.4 MB, free: 8.082 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.009706, allocations: 0 / 432.4 MB, free: 8.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002429/0.009949, allocations: 105.5 kB / 432.5 MB, free: 7.973 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.009985, allocations: 55.66 kB / 432.6 MB, free: 7.906 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.01016, allocations: 241.6 kB / 432.8 MB, free: 7.652 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.01018, allocations: 29.7 kB / 432.9 MB, free: 7.617 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.01028, allocations: 206.9 kB / 433.1 MB, free: 7.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.01032, allocations: 43.62 kB / 433.1 MB, free: 7.367 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.01039, allocations: 43.34 kB / 433.1 MB, free: 7.316 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.01053, allocations: 0.4962 MB / 433.6 MB, free: 6.809 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.822e-05/0.01057, allocations: 11.98 kB / 433.6 MB, free: 6.797 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.952e-05/0.01063, allocations: 47.03 kB / 433.7 MB, free: 6.738 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.01078, allocations: 91.14 kB / 433.8 MB, free: 6.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01078, allocations: 0 / 433.8 MB, free: 6.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001827/0.01096, allocations: 125.4 kB / 433.9 MB, free: 6.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.01098, allocations: 4 kB / 433.9 MB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.01098, allocations: 0 / 433.9 MB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.01099, allocations: 0 / 433.9 MB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.0111, allocations: 28 kB / 433.9 MB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.01111, allocations: 3.984 kB / 433.9 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.01117, allocations: 15.89 kB / 434 MB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.01118, allocations: 4 kB / 434 MB, free: 6.453 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.0001595/0.01134, allocations: 171.8 kB / 434.1 MB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.01138, allocations: 27.91 kB / 434.2 MB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.543e-05/0.01143, allocations: 25.45 kB / 434.2 MB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01143, allocations: 0 / 434.2 MB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01143, allocations: 0 / 434.2 MB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01144, allocations: 0 / 434.2 MB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.01165, allocations: 165.1 kB / 434.3 MB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01166, allocations: 0 / 434.3 MB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.01177, allocations: 23.98 kB / 434.4 MB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.01177, allocations: 7.875 kB / 434.4 MB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.01178, allocations: 3.938 kB / 434.4 MB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.01179, allocations: 0 / 434.4 MB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01179, allocations: 4 kB / 434.4 MB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.01207, allocations: 267.5 kB / 434.6 MB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.0121, allocations: 23.86 kB / 434.7 MB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.01213, allocations: 3.938 kB / 434.7 MB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.0122, allocations: 8 kB / 434.7 MB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.01224, allocations: 11.97 kB / 434.7 MB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.01225, allocations: 0 / 434.7 MB, free: 5.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.01235, allocations: 176.5 kB / 434.9 MB, free: 5.508 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01235, allocations: 0 / 434.9 MB, free: 5.508 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.01262, allocations: 39.89 kB / 434.9 MB, free: 5.469 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.0001074/0.01273, allocations: 99.22 kB / 435 MB, free: 5.363 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.01288, allocations: 63.59 kB / 435.1 MB, free: 5.297 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01288, allocations: 0 / 435.1 MB, free: 5.297 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.01295, allocations: 31.67 kB / 435.1 MB, free: 5.262 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.01327, allocations: 19.98 kB / 435.1 MB, free: 5.242 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/0.01395, allocations: 376.7 kB / 435.5 MB, free: 4.844 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.442e-05/0.014, allocations: 79.83 kB / 435.6 MB, free: 4.746 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.949e-05/0.01406, allocations: 13.48 kB / 435.6 MB, free: 4.734 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.191e-05/0.01415, allocations: 86.19 kB / 435.7 MB, free: 4.648 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01415, allocations: 0 / 435.7 MB, free: 4.648 MB / 410.7 MB Notification: Performance of Templates: time 0.004492/0.01865, allocations: 1.445 MB / 437.1 MB, free: 3.219 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.1538421870209277]