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.00128/0.00128, allocations: 92.41 kB / 20.5 MB, free: 1.344 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.001941/0.001941, allocations: 214.8 kB / 23.8 MB, free: 4.496 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.672/1.672, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.6518/0.6518, allocations: 113.7 MB / 400.6 MB, free: 17.43 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.002132/0.002132, allocations: 73.25 kB / 0.5593 GB, free: 47.62 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1344, allocations: 78.52 MB / 0.636 GB, free: 6.648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003338/0.1377, allocations: 1.975 MB / 0.6379 GB, free: 4.652 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000373/0.1381, allocations: 159.7 kB / 0.6381 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.389e-05/0.1382, allocations: 4 kB / 0.6381 GB, free: 4.492 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.1383, allocations: 23.67 kB / 0.6381 GB, free: 4.469 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.1384, allocations: 31.67 kB / 0.6381 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.1385, allocations: 59.94 kB / 0.6382 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.1388, allocations: 180 kB / 0.6384 GB, free: 4.199 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.139, allocations: 69.64 kB / 0.6384 GB, free: 4.129 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.296e-05/0.139, allocations: 67.61 kB / 0.6385 GB, free: 4.062 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1391, allocations: 79.62 kB / 0.6386 GB, free: 3.984 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.1392, allocations: 16 kB / 0.6386 GB, free: 3.969 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.093e-05/0.1392, allocations: 16 kB / 0.6386 GB, free: 3.953 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.1392, allocations: 39.83 kB / 0.6386 GB, free: 3.914 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.1393, allocations: 63.61 kB / 0.6387 GB, free: 3.852 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.1396, allocations: 215 kB / 0.6389 GB, free: 3.641 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1396, allocations: 0 / 0.6389 GB, free: 3.641 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1396, allocations: 0 / 0.6389 GB, free: 3.641 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.1396, allocations: 4 kB / 0.6389 GB, free: 3.637 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.0006754/0.1403, allocations: 417.4 kB / 0.6393 GB, free: 3.199 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1403, allocations: 12.03 kB / 0.6393 GB, free: 3.188 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.535e-05/0.1403, allocations: 4.188 kB / 0.6393 GB, free: 3.184 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.564e-05/0.1404, allocations: 46.73 kB / 0.6394 GB, free: 3.129 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.1404, allocations: 20.8 kB / 0.6394 GB, free: 3.109 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.1407, allocations: 192.1 kB / 0.6396 GB, free: 2.898 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1407, allocations: 8.375 kB / 0.6396 GB, free: 2.891 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.1408, allocations: 16.33 kB / 0.6396 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.1411, allocations: 172.1 kB / 0.6398 GB, free: 2.691 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.1411, allocations: 0 / 0.6398 GB, free: 2.691 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1411, allocations: 4 kB / 0.6398 GB, free: 2.688 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1411, allocations: 4 kB / 0.6398 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.1413, allocations: 87.95 kB / 0.6398 GB, free: 2.598 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008533/0.1421, allocations: 0.6128 MB / 0.6404 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.1424, allocations: 114.6 kB / 0.6406 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.415e-05/0.1425, allocations: 44.84 kB / 0.6406 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.1425, allocations: 0 / 0.6406 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1426, allocations: 34.56 kB / 0.6406 GB, free: 1.723 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.1426, allocations: 0 / 0.6406 GB, free: 1.723 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003806/0.1429, allocations: 153.9 kB / 0.6408 GB, free: 1.566 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.143, allocations: 55.62 kB / 0.6408 GB, free: 1.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1432, allocations: 210 kB / 0.641 GB, free: 1.285 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1432, allocations: 25.7 kB / 0.6411 GB, free: 1.254 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.662e-05/0.1433, allocations: 136 kB / 0.6412 GB, free: 1.117 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.1433, allocations: 47.66 kB / 0.6412 GB, free: 1.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.1434, allocations: 29.7 kB / 0.6413 GB, free: 1.035 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1435, allocations: 334.7 kB / 0.6416 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.568e-05/0.1436, allocations: 35.98 kB / 0.6416 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.584e-05/0.1437, allocations: 58.55 kB / 0.6417 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005826/0.1443, allocations: 198.5 kB / 0.6419 GB, free: 404 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.1443, allocations: 4 kB / 0.6419 GB, free: 400 kB / 478.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002613/0.1446, allocations: 149.5 kB / 0.642 GB, free: 244 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1446, allocations: 6.188 kB / 0.642 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1446, allocations: 0 / 0.642 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1446, allocations: 4 kB / 0.642 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1447, allocations: 28.05 kB / 0.642 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1447, allocations: 0 / 0.642 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.847e-05/0.1448, allocations: 19.94 kB / 0.6421 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1448, allocations: 4 kB / 0.6421 GB, free: 184 kB / 478.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.0001769/0.145, allocations: 144.9 kB / 0.6422 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.145, allocations: 15.91 kB / 0.6422 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.1451, allocations: 21.47 kB / 0.6422 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1451, allocations: 4 kB / 0.6422 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1451, allocations: 3.984 kB / 0.6422 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1451, allocations: 0 / 0.6422 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.1454, allocations: 220.5 kB / 0.6425 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1454, allocations: 0 / 0.6425 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.1455, allocations: 16 kB / 0.6425 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1455, allocations: 0 / 0.6425 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1455, allocations: 0 / 0.6425 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1455, allocations: 3.984 kB / 0.6425 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1455, allocations: 0 / 0.6425 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.1459, allocations: 279.3 kB / 0.6427 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.1459, allocations: 19.84 kB / 0.6428 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.1459, allocations: 4.062 kB / 0.6428 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/0.146, allocations: 7.984 kB / 0.6428 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.1461, allocations: 11.92 kB / 0.6428 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.1461, allocations: 4 kB / 0.6428 GB, free: 15.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1462, allocations: 149.5 kB / 0.6429 GB, free: 15.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1462, allocations: 0 / 0.6429 GB, free: 15.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1465, allocations: 31.89 kB / 0.643 GB, free: 15.2 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.0006848/0.1472, allocations: 0.8022 MB / 0.6437 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.1474, allocations: 107.3 kB / 0.6438 GB, free: 14.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1474, allocations: 0 / 0.6438 GB, free: 14.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.827e-05/0.1475, allocations: 39.98 kB / 0.6439 GB, free: 14.22 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.1478, allocations: 19.98 kB / 0.6439 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.1502, allocations: 2.072 MB / 0.6459 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.1504, allocations: 112 kB / 0.646 GB, free: 11.92 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.97e-05/0.1504, allocations: 17.08 kB / 0.646 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.443e-05/0.1505, allocations: 51.42 kB / 0.6461 GB, free: 11.85 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1505, allocations: 0 / 0.6461 GB, free: 11.85 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.1745, allocations: 3.506 MB / 0.6495 GB, free: 8.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.47, allocations: 4.062 kB / 0.6495 GB, free: 8.426 MB / 494.1 MB " [Timeout remaining time 648] (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: 15.403606288018636]