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.001292/0.001292, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001421/0.001421, allocations: 173 kB / 24.16 MB, free: 336 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.7641/0.7641, allocations: 158.6 MB / 186 MB, free: 2.762 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.422/0.422, allocations: 90.85 MB / 329.2 MB, free: 14.27 MB / 314.7 MB " [Timeout remaining time 180] Using package Dynawo with version 2.0.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.103e-06/1.103e-06, allocations: 0 / 377.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.22e-05, allocations: 2.312 kB / 377.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.002252/0.002265, allocations: 2.165 MB / 379.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007058/0.00297, allocations: 0.6388 MB / 380.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/0.003053, allocations: 0 / 380.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.003157, allocations: 31.67 kB / 380.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.789e-05/0.003235, allocations: 39.59 kB / 380.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.003351, allocations: 71.91 kB / 380.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.003518, allocations: 219.9 kB / 380.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.003644, allocations: 77.53 kB / 380.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.549e-05/0.00371, allocations: 83.64 kB / 380.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.003785, allocations: 63.78 kB / 380.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.00381, allocations: 20 kB / 380.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.04e-05/0.00383, allocations: 24 kB / 380.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.003861, allocations: 47.77 kB / 380.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.003904, allocations: 63.77 kB / 381 MB, free: 10.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.004049, allocations: 147.3 kB / 381.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.004051, allocations: 4 kB / 381.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004052, allocations: 0 / 381.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.004055, allocations: 0 / 381.1 MB, free: 10.75 MB / 362.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.0003879/0.004443, allocations: 421.5 kB / 381.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.652e-05/0.004469, allocations: 8.031 kB / 381.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.004508, allocations: 32.91 kB / 381.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.00467, allocations: 179.2 kB / 381.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.004681, allocations: 12.7 kB / 381.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.004703, allocations: 28.36 kB / 381.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.004848, allocations: 159.2 kB / 382 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.004855, allocations: 192 / 382 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.004865, allocations: 12.12 kB / 382 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.004872, allocations: 4 kB / 382 MB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.358e-05/0.004925, allocations: 39.91 kB / 382 MB, free: 9.812 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.005362, allocations: 0.5 MB / 382.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.005494, allocations: 66.55 kB / 382.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.005524, allocations: 28.72 kB / 382.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.005532, allocations: 0 / 382.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.005551, allocations: 38.56 kB / 382.6 MB, free: 9.137 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 9.01e-07/0.005552, allocations: 0 / 382.6 MB, free: 9.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001344/0.005686, allocations: 89.84 kB / 382.7 MB, free: 9.043 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.005708, allocations: 51.41 kB / 382.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/0.005807, allocations: 201.4 kB / 383 MB, free: 8.773 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.005817, allocations: 25.7 kB / 383 MB, free: 8.742 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.005864, allocations: 136.3 kB / 383.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.005887, allocations: 47.62 kB / 383.2 MB, free: 8.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.005921, allocations: 29.7 kB / 383.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.005991, allocations: 334.8 kB / 383.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.006009, allocations: 12 kB / 383.6 MB, free: 8.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.846e-05/0.006038, allocations: 30.56 kB / 383.6 MB, free: 8.137 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.582e-05/0.006124, allocations: 85.86 kB / 383.7 MB, free: 8.047 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006126, allocations: 4 kB / 383.7 MB, free: 8.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 8.827e-05/0.006214, allocations: 89.53 kB / 383.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.006224, allocations: 8 kB / 383.8 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.006228, allocations: 4 kB / 383.8 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.006239, allocations: 0 / 383.8 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.006314, allocations: 35.92 kB / 383.8 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.006316, allocations: 0 / 383.8 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.322e-05/0.006349, allocations: 11.89 kB / 383.8 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.006355, allocations: 4 kB / 383.8 MB, free: 7.887 MB / 362.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 8.939e-05/0.006444, allocations: 117.8 kB / 383.9 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.006472, allocations: 23.98 kB / 384 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.006501, allocations: 25.47 kB / 384 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.006503, allocations: 0 / 384 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.006505, allocations: 0 / 384 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.006509, allocations: 7.922 kB / 384 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.006629, allocations: 133.7 kB / 384.1 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.006629, allocations: 0 / 384.1 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/0.006695, allocations: 20 kB / 384.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.006697, allocations: 0 / 384.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.006709, allocations: 11.92 kB / 384.2 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006709, allocations: 4 kB / 384.2 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.00671, allocations: 7.938 kB / 384.2 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.006851, allocations: 199.1 kB / 384.4 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.006869, allocations: 19.91 kB / 384.4 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.006882, allocations: 7.938 kB / 384.4 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.3e-05/0.006925, allocations: 0 / 384.4 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.006947, allocations: 11.98 kB / 384.4 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.006952, allocations: 4 kB / 384.4 MB, free: 7.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.989e-05/0.006992, allocations: 54.16 kB / 384.5 MB, free: 7.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006992, allocations: 0 / 384.5 MB, free: 7.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001316/0.007123, allocations: 43.84 kB / 384.5 MB, free: 7.164 MB / 362.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 5.907e-05/0.007183, allocations: 80.45 kB / 384.6 MB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.16e-05/0.007264, allocations: 52.78 kB / 384.6 MB, free: 7.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.007267, allocations: 0 / 384.6 MB, free: 7.023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/0.007299, allocations: 40.77 kB / 384.7 MB, free: 6.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.007458, allocations: 29.86 kB / 384.7 MB, free: 6.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.007875, allocations: 368.8 kB / 385.1 MB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.692e-05/0.007912, allocations: 79.95 kB / 385.1 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.736e-05/0.007949, allocations: 9.484 kB / 385.1 MB, free: 6.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.008008, allocations: 71.36 kB / 385.2 MB, free: 6.391 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.008008, allocations: 0 / 385.2 MB, free: 6.391 MB / 362.7 MB Notification: Performance of Templates: time 0.002973/0.01098, allocations: 1.383 MB / 386.6 MB, free: 5.031 MB / 362.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 -s gbode -gbm=radauIIA3 -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: 2.726808112114668]