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.001507/0.001507, allocations: 109 kB / 20.5 MB, free: 1.457 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.001792/0.001792, allocations: 211.9 kB / 23.81 MB, free: 4.672 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.392/1.392, allocations: 207.6 MB / 234.6 MB, free: 9.996 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.6287/0.6287, allocations: 113.8 MB / 400.7 MB, free: 16.61 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.002173/0.002173, allocations: 67.28 kB / 0.5594 GB, free: 47.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1209, allocations: 78.53 MB / 0.6361 GB, free: 6.824 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003338/0.1243, allocations: 2.069 MB / 0.6381 GB, free: 4.73 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000385/0.1247, allocations: 147.7 kB / 0.6383 GB, free: 4.586 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1248, allocations: 7.938 kB / 0.6383 GB, free: 4.578 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.1249, allocations: 23.73 kB / 0.6383 GB, free: 4.555 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.125, allocations: 35.66 kB / 0.6383 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.1252, allocations: 59.94 kB / 0.6384 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.1254, allocations: 183.9 kB / 0.6386 GB, free: 4.277 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.1256, allocations: 69.62 kB / 0.6386 GB, free: 4.207 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.285e-05/0.1257, allocations: 59.73 kB / 0.6387 GB, free: 4.148 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1258, allocations: 79.56 kB / 0.6388 GB, free: 4.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.1258, allocations: 16 kB / 0.6388 GB, free: 4.055 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.713e-05/0.1258, allocations: 20 kB / 0.6388 GB, free: 4.035 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.1259, allocations: 43.78 kB / 0.6388 GB, free: 3.992 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.703e-05/0.126, allocations: 79.55 kB / 0.6389 GB, free: 3.914 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.1262, allocations: 211 kB / 0.6391 GB, free: 3.707 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1262, allocations: 8 kB / 0.6391 GB, free: 3.699 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1262, allocations: 0 / 0.6391 GB, free: 3.699 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1262, allocations: 0 / 0.6391 GB, free: 3.699 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.0006691/0.1269, allocations: 413.4 kB / 0.6395 GB, free: 3.266 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.127, allocations: 12.03 kB / 0.6395 GB, free: 3.254 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.484e-05/0.127, allocations: 192 / 0.6395 GB, free: 3.254 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.127, allocations: 54.67 kB / 0.6396 GB, free: 3.191 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.1271, allocations: 24.8 kB / 0.6396 GB, free: 3.168 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.1273, allocations: 180.2 kB / 0.6398 GB, free: 2.969 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1274, allocations: 12.38 kB / 0.6398 GB, free: 2.957 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.1274, allocations: 16.31 kB / 0.6398 GB, free: 2.941 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.1277, allocations: 160.1 kB / 0.64 GB, free: 2.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1277, allocations: 4 kB / 0.64 GB, free: 2.766 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1277, allocations: 4 kB / 0.64 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1277, allocations: 7.984 kB / 0.64 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.1279, allocations: 95.89 kB / 0.6401 GB, free: 2.66 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009206/0.1289, allocations: 0.6943 MB / 0.6407 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.1291, allocations: 114.6 kB / 0.6409 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1292, allocations: 40.84 kB / 0.6409 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.1292, allocations: 4 kB / 0.6409 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1293, allocations: 34.56 kB / 0.6409 GB, free: 1.691 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1293, allocations: 3.938 kB / 0.6409 GB, free: 1.688 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003815/0.1296, allocations: 169.6 kB / 0.6411 GB, free: 1.516 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1297, allocations: 51.41 kB / 0.6411 GB, free: 1.453 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.1299, allocations: 202.2 kB / 0.6413 GB, free: 1.246 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1299, allocations: 25.7 kB / 0.6414 GB, free: 1.215 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.186e-05/0.13, allocations: 131.9 kB / 0.6415 GB, free: 1.082 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.1301, allocations: 47.66 kB / 0.6415 GB, free: 1.035 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.1301, allocations: 33.7 kB / 0.6416 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1303, allocations: 330.8 kB / 0.6419 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.785e-05/0.1304, allocations: 35.98 kB / 0.6419 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1305, allocations: 58.55 kB / 0.642 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005734/0.131, allocations: 200.7 kB / 0.6422 GB, free: 368 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.131, allocations: 0 / 0.6422 GB, free: 368 kB / 478.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002734/0.1313, allocations: 153.5 kB / 0.6423 GB, free: 208 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1313, allocations: 6.188 kB / 0.6423 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1313, allocations: 4.062 kB / 0.6423 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1313, allocations: 4 kB / 0.6423 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1315, allocations: 23.92 kB / 0.6423 GB, free: 172 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.1315, allocations: 4 kB / 0.6424 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.171e-05/0.1315, allocations: 11.95 kB / 0.6424 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1315, allocations: 4 kB / 0.6424 GB, free: 152 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.0001903/0.1317, allocations: 145.7 kB / 0.6425 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.1318, allocations: 15.91 kB / 0.6425 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.1318, allocations: 21.41 kB / 0.6425 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1318, allocations: 0 / 0.6425 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1318, allocations: 3.984 kB / 0.6425 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1318, allocations: 0 / 0.6425 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.1321, allocations: 232.4 kB / 0.6428 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1321, allocations: 0 / 0.6428 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.1322, allocations: 27.92 kB / 0.6428 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.1323, allocations: 4 kB / 0.6428 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1323, allocations: 0 / 0.6428 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1323, allocations: 0 / 0.6428 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1323, allocations: 0 / 0.6428 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.1327, allocations: 279.3 kB / 0.6431 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.1327, allocations: 15.92 kB / 0.6431 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1327, allocations: 4 kB / 0.6431 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.176e-05/0.1328, allocations: 4 kB / 0.6431 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1328, allocations: 11.97 kB / 0.6431 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.1329, allocations: 0 / 0.6431 GB, free: 15.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.133, allocations: 157.5 kB / 0.6432 GB, free: 15.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.133, allocations: 0 / 0.6432 GB, free: 15.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1332, allocations: 35.83 kB / 0.6433 GB, free: 15.14 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.0006835/0.1339, allocations: 0.8094 MB / 0.6441 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.1342, allocations: 91.97 kB / 0.6442 GB, free: 14.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1342, allocations: 0 / 0.6442 GB, free: 14.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.377e-05/0.1343, allocations: 47.92 kB / 0.6442 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.1346, allocations: 24.86 kB / 0.6442 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.1371, allocations: 2.065 MB / 0.6462 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.1374, allocations: 0.7279 MB / 0.647 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.579e-05/0.1375, allocations: 9.078 kB / 0.647 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.1376, allocations: 51.42 kB / 0.647 GB, free: 11.18 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1376, allocations: 0 / 0.647 GB, free: 11.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.162, allocations: 3.479 MB / 0.6504 GB, free: 7.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.83, allocations: 15.61 kB / 0.6504 GB, free: 7.773 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.427647480042651]