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.001862/0.001862, allocations: 88.22 kB / 20.23 MB, free: 4.207 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.002283/0.002283, allocations: 157.7 kB / 23.53 MB, free: 0.9023 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.423/1.423, allocations: 158.6 MB / 185.3 MB, free: 2.887 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.7415/0.7415, allocations: 90.63 MB / 328.3 MB, free: 14.58 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.314e-06/2.314e-06, allocations: 0 / 425 MB, free: 14.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001235/0.0001258, allocations: 6.25 kB / 425 MB, free: 14.26 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.004108/0.004234, allocations: 2.069 MB / 427.1 MB, free: 12.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.005621, allocations: 0.5969 MB / 427.7 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.005797, allocations: 4 kB / 427.7 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.005976, allocations: 23.67 kB / 427.7 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.006162, allocations: 43.66 kB / 427.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.006405, allocations: 75.8 kB / 427.8 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.006768, allocations: 219.9 kB / 428 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.007003, allocations: 79.97 kB / 428.1 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.007147, allocations: 75.7 kB / 428.2 MB, free: 11.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.007277, allocations: 63.72 kB / 428.2 MB, free: 10.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.202e-05/0.007329, allocations: 24 kB / 428.3 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.646e-05/0.007366, allocations: 20 kB / 428.3 MB, free: 10.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.007426, allocations: 51.77 kB / 428.3 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.627e-05/0.007522, allocations: 67.83 kB / 428.4 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.007928, allocations: 259.1 kB / 428.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.007932, allocations: 0 / 428.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.007933, allocations: 0 / 428.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.007943, allocations: 4 kB / 428.7 MB, free: 10.57 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.0009421/0.008886, allocations: 441.5 kB / 429.1 MB, free: 10.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.008929, allocations: 8.031 kB / 429.1 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.009044, allocations: 48.73 kB / 429.1 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.009483, allocations: 211.2 kB / 429.3 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.009502, allocations: 8.703 kB / 429.4 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.009546, allocations: 16.38 kB / 429.4 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.01, allocations: 194.6 kB / 429.6 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.01001, allocations: 192 / 429.6 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.01004, allocations: 12.11 kB / 429.6 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.629e-06/0.01005, allocations: 4 kB / 429.6 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.01035, allocations: 127.6 kB / 429.7 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.01152, allocations: 0.6211 MB / 430.3 MB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.01194, allocations: 130.6 kB / 430.4 MB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.01207, allocations: 52.72 kB / 430.5 MB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.01209, allocations: 4 kB / 430.5 MB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.01213, allocations: 34.59 kB / 430.5 MB, free: 8.559 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.01213, allocations: 8 kB / 430.5 MB, free: 8.551 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005195/0.01265, allocations: 185.5 kB / 430.7 MB, free: 8.363 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.0127, allocations: 55.64 kB / 430.8 MB, free: 8.297 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.01299, allocations: 207 kB / 431 MB, free: 8.086 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.01301, allocations: 25.7 kB / 431 MB, free: 8.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.01315, allocations: 156.3 kB / 431.2 MB, free: 7.898 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.01321, allocations: 47.56 kB / 431.2 MB, free: 7.852 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/0.01328, allocations: 33.72 kB / 431.2 MB, free: 7.812 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.01347, allocations: 326.8 kB / 431.6 MB, free: 7.484 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.01359, allocations: 43.98 kB / 431.6 MB, free: 7.441 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.01373, allocations: 70.5 kB / 431.7 MB, free: 7.363 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/0.01449, allocations: 226.2 kB / 431.9 MB, free: 7.137 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01449, allocations: 4 kB / 431.9 MB, free: 7.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003927/0.01488, allocations: 185.4 kB / 432.1 MB, free: 6.945 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.0149, allocations: 4 kB / 432.1 MB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.01491, allocations: 0 / 432.1 MB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.01494, allocations: 4 kB / 432.1 MB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.01508, allocations: 27.92 kB / 432.1 MB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.01509, allocations: 0 / 432.1 MB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.01527, allocations: 11.89 kB / 432.1 MB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.01529, allocations: 8 kB / 432.1 MB, free: 6.891 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.0002314/0.01552, allocations: 141.8 kB / 432.3 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.01558, allocations: 19.91 kB / 432.3 MB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.396e-05/0.01565, allocations: 25.45 kB / 432.3 MB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01565, allocations: 0 / 432.3 MB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.01566, allocations: 4 kB / 432.3 MB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01566, allocations: 0 / 432.3 MB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.016, allocations: 201.1 kB / 432.5 MB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01601, allocations: 0 / 432.5 MB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.01618, allocations: 23.98 kB / 432.5 MB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.01618, allocations: 0 / 432.5 MB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.01619, allocations: 4 kB / 432.5 MB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.0162, allocations: 0 / 432.5 MB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.0162, allocations: 0 / 432.5 MB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/0.01678, allocations: 315.3 kB / 432.9 MB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.01683, allocations: 19.88 kB / 432.9 MB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.01686, allocations: 4 kB / 432.9 MB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.01698, allocations: 3.938 kB / 432.9 MB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.01703, allocations: 11.97 kB / 432.9 MB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.01705, allocations: 8 kB / 432.9 MB, free: 6.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001798/0.01723, allocations: 148.7 kB / 433 MB, free: 5.926 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01723, allocations: 0 / 433 MB, free: 5.926 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000311/0.01754, allocations: 43.84 kB / 433.1 MB, free: 5.883 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.0001406/0.01768, allocations: 95.25 kB / 433.2 MB, free: 5.781 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.01799, allocations: 99.91 kB / 433.3 MB, free: 5.684 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01799, allocations: 0 / 433.3 MB, free: 5.684 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.01812, allocations: 63.53 kB / 433.3 MB, free: 5.625 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.01852, allocations: 31.2 kB / 433.4 MB, free: 5.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.01952, allocations: 387.2 kB / 433.7 MB, free: 5.191 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.01968, allocations: 125.7 kB / 433.9 MB, free: 5.047 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.939e-05/0.01976, allocations: 13.48 kB / 433.9 MB, free: 5.035 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.01982, allocations: 16.5 kB / 433.9 MB, free: 5.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.01982, allocations: 3.938 kB / 433.9 MB, free: 5.016 MB / 410.7 MB Notification: Performance of Templates: time 0.005086/0.0249, allocations: 1.295 MB / 435.2 MB, free: 3.734 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=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: 5.2710459580412135]