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.00129/0.00129, allocations: 114.3 kB / 19.72 MB, free: 2.168 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.001492/0.001492, allocations: 217 kB / 23.03 MB, free: 4.973 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.515/1.515, allocations: 207.6 MB / 233.8 MB, free: 9.984 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.6899/0.6899, allocations: 114.3 MB / 400.4 MB, free: 16.26 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: "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="me",version="2.0",platforms={"static"}) [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.002736/0.002736, allocations: 73.59 kB / 0.5594 GB, free: 47.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2936, allocations: 78.64 MB / 0.6362 GB, free: 6.004 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.005424/0.299, allocations: 2.061 MB / 0.6382 GB, free: 3.918 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006176/0.2997, allocations: 159.6 kB / 0.6384 GB, free: 3.762 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.2998, allocations: 3.938 kB / 0.6384 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.3, allocations: 19.73 kB / 0.6384 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.3002, allocations: 39.59 kB / 0.6384 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.3005, allocations: 63.94 kB / 0.6385 GB, free: 3.637 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.3008, allocations: 172 kB / 0.6387 GB, free: 3.469 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.3011, allocations: 79.33 kB / 0.6387 GB, free: 3.391 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3012, allocations: 59.73 kB / 0.6388 GB, free: 3.332 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.3016, allocations: 83.5 kB / 0.6389 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.3016, allocations: 16 kB / 0.6389 GB, free: 3.234 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.354e-05/0.3016, allocations: 20 kB / 0.6389 GB, free: 3.215 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.3017, allocations: 35.84 kB / 0.639 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.3018, allocations: 83.48 kB / 0.639 GB, free: 3.098 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.3023, allocations: 211 kB / 0.6392 GB, free: 2.891 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3023, allocations: 0 / 0.6392 GB, free: 2.891 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.3023, allocations: 7.938 kB / 0.6392 GB, free: 2.883 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3023, allocations: 0 / 0.6392 GB, free: 2.883 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001078/0.3034, allocations: 413.4 kB / 0.6396 GB, free: 2.449 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.691e-05/0.3035, allocations: 12.03 kB / 0.6396 GB, free: 2.438 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.894e-05/0.3035, allocations: 42.75 kB / 0.6397 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.3036, allocations: 20.8 kB / 0.6397 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/0.3041, allocations: 192.1 kB / 0.6399 GB, free: 2.156 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3041, allocations: 12.38 kB / 0.6399 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.3042, allocations: 12.38 kB / 0.6399 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.3046, allocations: 156.3 kB / 0.6401 GB, free: 1.965 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.3046, allocations: 3.984 kB / 0.6401 GB, free: 1.961 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.3047, allocations: 8 kB / 0.6401 GB, free: 1.953 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.3047, allocations: 7.938 kB / 0.6401 GB, free: 1.945 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.3049, allocations: 99.95 kB / 0.6402 GB, free: 1.848 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.3063, allocations: 0.6904 MB / 0.6409 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.3066, allocations: 110.6 kB / 0.641 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.3068, allocations: 44.84 kB / 0.641 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.3068, allocations: 224 / 0.641 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.3068, allocations: 38.44 kB / 0.641 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.3068, allocations: 0 / 0.641 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005322/0.3074, allocations: 161.6 kB / 0.6412 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.3074, allocations: 51.41 kB / 0.6412 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.3077, allocations: 202.1 kB / 0.6414 GB, free: 460 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.3078, allocations: 29.69 kB / 0.6415 GB, free: 424 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.3079, allocations: 135.9 kB / 0.6416 GB, free: 284 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.162e-05/0.308, allocations: 47.58 kB / 0.6416 GB, free: 236 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.3081, allocations: 29.7 kB / 0.6417 GB, free: 200 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002947/0.3084, allocations: 322.8 kB / 0.642 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.3085, allocations: 43.98 kB / 0.642 GB, free: 15.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.3086, allocations: 62.42 kB / 0.6421 GB, free: 15.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007142/0.3093, allocations: 198.4 kB / 0.6423 GB, free: 15.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3093, allocations: 0 / 0.6423 GB, free: 15.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003065/0.3096, allocations: 149.5 kB / 0.6424 GB, free: 15.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.3097, allocations: 4 kB / 0.6424 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3097, allocations: 0 / 0.6424 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.12e-05/0.3097, allocations: 4 kB / 0.6424 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.3098, allocations: 31.98 kB / 0.6424 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3098, allocations: 4 kB / 0.6424 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.034e-05/0.3099, allocations: 11.95 kB / 0.6425 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.3099, allocations: 4 kB / 0.6425 GB, free: 15.34 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 (15): * Single equations (assignments): 15 * 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.0003017/0.3102, allocations: 149.3 kB / 0.6426 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.3103, allocations: 15.91 kB / 0.6426 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.3103, allocations: 17.41 kB / 0.6426 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3103, allocations: 0 / 0.6426 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3103, allocations: 4 kB / 0.6426 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3103, allocations: 7.984 kB / 0.6427 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.3107, allocations: 236.6 kB / 0.6429 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3107, allocations: 0 / 0.6429 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.3109, allocations: 19.98 kB / 0.6429 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.3109, allocations: 0 / 0.6429 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3109, allocations: 0 / 0.6429 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.3109, allocations: 0 / 0.6429 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3109, allocations: 0 / 0.6429 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.3114, allocations: 287.7 kB / 0.6432 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.3115, allocations: 15.92 kB / 0.6432 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.3115, allocations: 8 kB / 0.6432 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.974e-05/0.3116, allocations: 0 / 0.6432 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.3117, allocations: 11.98 kB / 0.6432 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3117, allocations: 0 / 0.6432 GB, free: 14.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.3119, allocations: 153.5 kB / 0.6434 GB, free: 14.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3119, allocations: 0 / 0.6434 GB, free: 14.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.3121, allocations: 31.89 kB / 0.6434 GB, free: 14.34 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 (11): * Single equations (assignments): 11 * 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.00101/0.3132, allocations: 0.8177 MB / 0.6442 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003149/0.3135, allocations: 91.91 kB / 0.6443 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3135, allocations: 192 / 0.6443 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.3136, allocations: 47.92 kB / 0.6443 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.314, allocations: 19.98 kB / 0.6443 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/0.3176, allocations: 2.072 MB / 0.6464 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.3182, allocations: 0.7201 MB / 0.6471 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.276e-05/0.3183, allocations: 17.08 kB / 0.6471 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.3184, allocations: 51.42 kB / 0.6471 GB, free: 10.36 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3184, allocations: 0 / 0.6471 GB, free: 10.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05625/0.3747, allocations: 3.441 MB / 0.6505 GB, free: 6.996 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.45, allocations: 11.42 kB / 0.6505 GB, free: 6.992 MB / 494.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-06 Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR.fmu > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 52.5] 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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.060822596075013]