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.001817/0.001817, allocations: 96.36 kB / 20.46 MB, free: 1.367 MB / 14.72 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.002956/0.002956, allocations: 216.8 kB / 23.77 MB, free: 4.52 MB / 14.72 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.763/1.763, allocations: 207.7 MB / 234.6 MB, free: 9.797 MB / 190.1 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.7101/0.7101, allocations: 115.8 MB / 402.6 MB, free: 16.55 MB / 318.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 70.7 kB / 0.5628 GB, free: 45.65 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1967, allocations: 79.01 MB / 0.6399 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.005202/0.202, allocations: 2.06 MB / 0.6419 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.2036, allocations: 0.597 MB / 0.6425 GB, free: 264 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.204, allocations: 4 kB / 0.6425 GB, free: 260 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.2042, allocations: 23.67 kB / 0.6425 GB, free: 236 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003218/0.2046, allocations: 47.58 kB / 0.6426 GB, free: 188 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.2049, allocations: 67.94 kB / 0.6426 GB, free: 120 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.2054, allocations: 223.9 kB / 0.6429 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.2056, allocations: 71.92 kB / 0.6429 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.2057, allocations: 79.66 kB / 0.643 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.2059, allocations: 87.42 kB / 0.6431 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.206, allocations: 20 kB / 0.6431 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.527e-05/0.206, allocations: 24 kB / 0.6431 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.414e-05/0.2061, allocations: 47.83 kB / 0.6432 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.2062, allocations: 83.47 kB / 0.6433 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.2066, allocations: 262.8 kB / 0.6435 GB, free: 15.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.2067, allocations: 4 kB / 0.6435 GB, free: 15.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2067, allocations: 0 / 0.6435 GB, free: 15.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.2067, allocations: 0 / 0.6435 GB, free: 15.22 MB / 494.1 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.0009158/0.2076, allocations: 456.7 kB / 0.6439 GB, free: 14.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.2076, allocations: 12.92 kB / 0.644 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.172e-05/0.2077, allocations: 24.8 kB / 0.644 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.2081, allocations: 203 kB / 0.6442 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.645e-05/0.2082, allocations: 12.7 kB / 0.6442 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.2083, allocations: 16.38 kB / 0.6442 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.2087, allocations: 196.5 kB / 0.6444 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.2087, allocations: 8 kB / 0.6444 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.2087, allocations: 4 kB / 0.6444 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.2087, allocations: 4 kB / 0.6444 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.209, allocations: 119.7 kB / 0.6445 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.2102, allocations: 0.6252 MB / 0.6451 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.2106, allocations: 134.6 kB / 0.6453 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2107, allocations: 48.84 kB / 0.6453 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.2107, allocations: 0 / 0.6453 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.2108, allocations: 42.55 kB / 0.6453 GB, free: 13.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.2108, allocations: 0 / 0.6453 GB, free: 13.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004871/0.2113, allocations: 185.5 kB / 0.6455 GB, free: 13.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.2113, allocations: 63.34 kB / 0.6456 GB, free: 12.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.2116, allocations: 203.6 kB / 0.6458 GB, free: 12.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.2116, allocations: 33.7 kB / 0.6458 GB, free: 12.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.2117, allocations: 144.3 kB / 0.6459 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.2118, allocations: 51.53 kB / 0.646 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.2118, allocations: 25.72 kB / 0.646 GB, free: 12.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.212, allocations: 338.8 kB / 0.6463 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.2121, allocations: 39.98 kB / 0.6464 GB, free: 12.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.2123, allocations: 74.55 kB / 0.6465 GB, free: 12.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.2129, allocations: 226.6 kB / 0.6467 GB, free: 11.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2129, allocations: 0 / 0.6467 GB, free: 11.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003097/0.2132, allocations: 165 kB / 0.6468 GB, free: 11.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.2133, allocations: 8 kB / 0.6468 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2133, allocations: 0 / 0.6468 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2133, allocations: 0 / 0.6468 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.2134, allocations: 31.92 kB / 0.6469 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2134, allocations: 0 / 0.6469 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.406e-05/0.2135, allocations: 15.89 kB / 0.6469 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.2135, allocations: 4 kB / 0.6469 GB, free: 11.58 MB / 494.1 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.0002146/0.2137, allocations: 137.8 kB / 0.647 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.2138, allocations: 27.86 kB / 0.647 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.2138, allocations: 21.47 kB / 0.6471 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2139, allocations: 4 kB / 0.6471 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2139, allocations: 0 / 0.6471 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2139, allocations: 3.984 kB / 0.6471 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.2141, allocations: 193.1 kB / 0.6473 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2141, allocations: 0 / 0.6473 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.2143, allocations: 27.98 kB / 0.6473 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2143, allocations: 0 / 0.6473 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.2143, allocations: 0 / 0.6473 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.2143, allocations: 4 kB / 0.6473 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2143, allocations: 8 kB / 0.6473 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.2148, allocations: 311.2 kB / 0.6476 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/0.2148, allocations: 15.88 kB / 0.6476 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.2149, allocations: 7.984 kB / 0.6476 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.215, allocations: 4 kB / 0.6476 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.215, allocations: 11.92 kB / 0.6476 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.505e-06/0.215, allocations: 4 kB / 0.6476 GB, free: 10.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.2152, allocations: 148.6 kB / 0.6478 GB, free: 10.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2152, allocations: 0 / 0.6478 GB, free: 10.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.2154, allocations: 39.95 kB / 0.6478 GB, free: 10.57 MB / 494.1 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.0001375/0.2156, allocations: 99.19 kB / 0.6479 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.2159, allocations: 115.8 kB / 0.648 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2159, allocations: 0 / 0.648 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.216, allocations: 51.92 kB / 0.6481 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.2163, allocations: 23.98 kB / 0.6481 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009136/0.2172, allocations: 417 kB / 0.6485 GB, free: 9.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.2174, allocations: 125.6 kB / 0.6486 GB, free: 9.695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.2175, allocations: 15.44 kB / 0.6486 GB, free: 9.68 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2175, allocations: 4 kB / 0.6486 GB, free: 9.676 MB / 494.1 MB Notification: Performance of Templates: time 0.004933/0.2224, allocations: 2.211 MB / 0.6508 GB, free: 7.469 MB / 494.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv","/var/lib/jenkins1/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: 8.993048118893057]