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.001194/0.001194, 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.001405/0.001405, 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.8106/0.8106, allocations: 158.6 MB / 186 MB, free: 2.773 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.4501/0.4501, allocations: 90.87 MB / 329.2 MB, free: 14.27 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.353e-06/1.353e-06, allocations: 0 / 377.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.417e-05, allocations: 2.312 kB / 377.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.002601/0.002625, allocations: 2.113 MB / 379.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008113/0.003436, allocations: 0.6311 MB / 380.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.31e-05/0.003529, allocations: 4 kB / 380.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.003647, allocations: 31.66 kB / 380.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.765e-05/0.003735, allocations: 43.55 kB / 380.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.003871, allocations: 75.92 kB / 380.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.004054, allocations: 223.8 kB / 380.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.004187, allocations: 77.53 kB / 380.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.004254, allocations: 71.77 kB / 380.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.004332, allocations: 67.73 kB / 380.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.004362, allocations: 20 kB / 380.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.104e-05/0.004383, allocations: 24 kB / 380.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.004416, allocations: 47.78 kB / 380.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.004463, allocations: 63.83 kB / 380.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.004623, allocations: 155.3 kB / 381.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.004625, allocations: 0 / 381.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004626, allocations: 0 / 381.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.004631, allocations: 0 / 381.1 MB, free: 10.84 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.0004374/0.005068, allocations: 425.3 kB / 381.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.005099, allocations: 8.031 kB / 381.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.005139, allocations: 32.91 kB / 381.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.005305, allocations: 179.2 kB / 381.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.005318, allocations: 12.7 kB / 381.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.005342, allocations: 16.38 kB / 381.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.005497, allocations: 159.3 kB / 381.9 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.005504, allocations: 192 / 381.9 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.005515, allocations: 8.125 kB / 381.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.00552, allocations: 12 kB / 381.9 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.276e-05/0.005573, allocations: 35.92 kB / 382 MB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.006035, allocations: 0.4999 MB / 382.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.006177, allocations: 74.41 kB / 382.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.006203, allocations: 20.8 kB / 382.5 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.006213, allocations: 7.984 kB / 382.6 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.006232, allocations: 38.56 kB / 382.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 9.32e-07/0.006233, allocations: 0 / 382.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000139/0.006372, allocations: 89.67 kB / 382.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.0064, allocations: 55.39 kB / 382.7 MB, free: 9.066 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.006502, allocations: 190.4 kB / 382.9 MB, free: 8.867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.006515, allocations: 29.7 kB / 382.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.006568, allocations: 132.3 kB / 383.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.006593, allocations: 51.56 kB / 383.1 MB, free: 8.648 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.006632, allocations: 33.69 kB / 383.2 MB, free: 8.609 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.006715, allocations: 326.8 kB / 383.5 MB, free: 8.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.006734, allocations: 15.92 kB / 383.5 MB, free: 8.266 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.33e-05/0.006767, allocations: 45.64 kB / 383.5 MB, free: 8.215 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.588e-05/0.006853, allocations: 78.64 kB / 383.6 MB, free: 8.129 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.006856, allocations: 4 kB / 383.6 MB, free: 8.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 9.41e-05/0.00695, allocations: 89.53 kB / 383.7 MB, free: 8.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.006962, allocations: 8 kB / 383.7 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.006966, allocations: 0 / 383.7 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.006976, allocations: 0 / 383.7 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.007049, allocations: 27.98 kB / 383.7 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.007052, allocations: 8.062 kB / 383.8 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.474e-05/0.007087, allocations: 11.89 kB / 383.8 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.007092, allocations: 0 / 383.8 MB, free: 7.977 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 0.0001006/0.007192, allocations: 121.8 kB / 383.9 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.007214, allocations: 27.91 kB / 383.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.007246, allocations: 25.45 kB / 383.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.007248, allocations: 0 / 383.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.007249, allocations: 0 / 383.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.007253, allocations: 4 kB / 383.9 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.007376, allocations: 129.8 kB / 384.1 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.007377, allocations: 0 / 384.1 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.618e-05/0.007443, allocations: 19.98 kB / 384.1 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.007444, allocations: 0 / 384.1 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.007457, allocations: 11.94 kB / 384.1 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.007457, allocations: 3.938 kB / 384.1 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007458, allocations: 0 / 384.1 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.007609, allocations: 195.4 kB / 384.3 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.007628, allocations: 19.91 kB / 384.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.007643, allocations: 11.92 kB / 384.3 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.262e-05/0.007685, allocations: 4 kB / 384.3 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.007708, allocations: 12.02 kB / 384.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.007713, allocations: 4 kB / 384.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.932e-05/0.007752, allocations: 50.19 kB / 384.4 MB, free: 7.301 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007752, allocations: 4 kB / 384.4 MB, free: 7.297 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001317/0.007884, allocations: 35.84 kB / 384.4 MB, free: 7.262 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 6.828e-05/0.007952, allocations: 84.34 kB / 384.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.44e-05/0.008036, allocations: 60.14 kB / 384.6 MB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.00804, allocations: 3.938 kB / 384.6 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.008072, allocations: 36.97 kB / 384.6 MB, free: 7.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.008226, allocations: 29.86 kB / 384.6 MB, free: 7.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.00876, allocations: 372.5 kB / 385 MB, free: 6.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.433e-05/0.008814, allocations: 75.83 kB / 385.1 MB, free: 6.562 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.099e-05/0.008855, allocations: 13.48 kB / 385.1 MB, free: 6.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.00892, allocations: 63.38 kB / 385.2 MB, free: 6.484 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.00892, allocations: 4 kB / 385.2 MB, free: 6.48 MB / 362.7 MB Notification: Performance of Templates: time 0.002963/0.01188, allocations: 1.38 MB / 386.5 MB, free: 5.117 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 -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.9560785279609263]