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.001647/0.001647, allocations: 122.9 kB / 17.86 MB, free: 5.238 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.001994/0.001994, allocations: 205.2 kB / 20.81 MB, free: 2.297 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.448/1.448, allocations: 207.6 MB / 231.2 MB, free: 4.121 MB / 174.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.634/0.634, allocations: 113.9 MB / 397 MB, free: 3.887 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="cs",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.002181/0.002181, allocations: 67.89 kB / 0.5543 GB, free: 3.078 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.155, allocations: 78.47 MB / 0.6309 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003484/0.1585, allocations: 2.059 MB / 0.6329 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004414/0.1589, allocations: 151.7 kB / 0.6331 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.159, allocations: 4 kB / 0.6331 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.1592, allocations: 19.73 kB / 0.6331 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.1593, allocations: 43.66 kB / 0.6331 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.1595, allocations: 55.94 kB / 0.6332 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.1597, allocations: 179.9 kB / 0.6333 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.1599, allocations: 73.25 kB / 0.6334 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.677e-05/0.16, allocations: 67.66 kB / 0.6335 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.1602, allocations: 79.56 kB / 0.6336 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.1602, allocations: 16 kB / 0.6336 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.659e-05/0.1602, allocations: 16 kB / 0.6336 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.968e-05/0.1603, allocations: 27.92 kB / 0.6336 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.859e-05/0.1604, allocations: 95.41 kB / 0.6337 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.1606, allocations: 211.1 kB / 0.6339 GB, free: 1.395 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1607, allocations: 0 / 0.6339 GB, free: 1.395 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1607, allocations: 0 / 0.6339 GB, free: 1.395 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1607, allocations: 0 / 0.6339 GB, free: 1.395 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008218/0.1615, allocations: 490.5 kB / 0.6344 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1615, allocations: 15.89 kB / 0.6344 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.547e-05/0.1616, allocations: 8.125 kB / 0.6344 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.1616, allocations: 46.73 kB / 0.6344 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.1617, allocations: 24.8 kB / 0.6345 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.1621, allocations: 244.8 kB / 0.6347 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1621, allocations: 8.375 kB / 0.6347 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.1621, allocations: 12.38 kB / 0.6347 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.1624, allocations: 168.6 kB / 0.6349 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1624, allocations: 0 / 0.6349 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.1625, allocations: 8 kB / 0.6349 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1625, allocations: 4 kB / 0.6349 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.1627, allocations: 92.7 kB / 0.635 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4326/0.5953, allocations: 0.7225 MB / 0.6357 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.5956, allocations: 111.8 kB / 0.6358 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.387e-05/0.5957, allocations: 45.22 kB / 0.6358 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.5957, allocations: 1.188 kB / 0.6358 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.5957, allocations: 32.98 kB / 0.6359 GB, free: 11.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.5957, allocations: 1.875 kB / 0.6359 GB, free: 11.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003993/0.5961, allocations: 168.8 kB / 0.636 GB, free: 11.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.5961, allocations: 55.59 kB / 0.6361 GB, free: 11.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.5963, allocations: 203.5 kB / 0.6363 GB, free: 10.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.5963, allocations: 26.83 kB / 0.6363 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.5964, allocations: 130.7 kB / 0.6364 GB, free: 10.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.5964, allocations: 48.31 kB / 0.6365 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.5965, allocations: 28.84 kB / 0.6365 GB, free: 10.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.5965, allocations: 327.7 kB / 0.6368 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.971e-05/0.5966, allocations: 38.23 kB / 0.6369 GB, free: 10.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.04e-05/0.5967, allocations: 59.33 kB / 0.6369 GB, free: 10.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/0.5973, allocations: 198 kB / 0.6371 GB, free: 10.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5973, allocations: 1.031 kB / 0.6371 GB, free: 10.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002537/0.5976, allocations: 150.6 kB / 0.6372 GB, free: 10.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5976, allocations: 10.31 kB / 0.6372 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5976, allocations: 3.406 kB / 0.6373 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.5976, allocations: 2.688 kB / 0.6373 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.5977, allocations: 22.02 kB / 0.6373 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.5977, allocations: 1.688 kB / 0.6373 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/0.5978, allocations: 13.3 kB / 0.6373 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.5978, allocations: 7.656 kB / 0.6373 GB, free: 10.36 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.0001516/0.598, allocations: 133.1 kB / 0.6374 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.598, allocations: 24.05 kB / 0.6374 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.598, allocations: 22.31 kB / 0.6375 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.598, allocations: 3.906 kB / 0.6375 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.598, allocations: 0.8438 kB / 0.6375 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5981, allocations: 0.9688 kB / 0.6375 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.5983, allocations: 256.2 kB / 0.6377 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5983, allocations: 3.344 kB / 0.6377 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.5984, allocations: 18.7 kB / 0.6377 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.5984, allocations: 8.359 kB / 0.6377 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.5984, allocations: 0.9375 kB / 0.6377 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5985, allocations: 2.75 kB / 0.6378 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.5985, allocations: 1.703 kB / 0.6378 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.5988, allocations: 284 kB / 0.638 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.5989, allocations: 96.22 kB / 0.6381 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.5989, allocations: 8.922 kB / 0.6381 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.54e-05/0.599, allocations: 6.172 kB / 0.6381 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.599, allocations: 10.45 kB / 0.6381 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.599, allocations: 2.562 kB / 0.6381 GB, free: 9.781 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.5991, allocations: 148.9 kB / 0.6383 GB, free: 9.707 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5991, allocations: 1 kB / 0.6383 GB, free: 9.707 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.5994, allocations: 25.42 kB / 0.6383 GB, free: 9.707 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.0005208/0.5999, allocations: 0.8185 MB / 0.6391 GB, free: 9.031 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.6002, allocations: 90.92 kB / 0.6392 GB, free: 9.027 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6002, allocations: 0 / 0.6392 GB, free: 9.027 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.336e-05/0.6003, allocations: 49.25 kB / 0.6392 GB, free: 9.023 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.6007, allocations: 31.41 kB / 0.6393 GB, free: 9.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.6028, allocations: 2.057 MB / 0.6413 GB, free: 7.719 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.603, allocations: 0.7261 MB / 0.642 GB, free: 7.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.127e-05/0.6031, allocations: 11.45 kB / 0.642 GB, free: 7.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.6032, allocations: 50.55 kB / 0.642 GB, free: 7.012 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6032, allocations: 0 / 0.642 GB, free: 7.012 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.6276, allocations: 3.317 MB / 0.6453 GB, free: 6.441 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.808/9.436, allocations: 13.39 kB / 0.6453 GB, free: 6.438 MB / 494.1 MB " [Timeout remaining time 650] (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: 12.813929540978279]