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.001323/0.001323, allocations: 79.05 kB / 20.53 MB, free: 1.262 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.001438/0.001438, allocations: 165.8 kB / 23.78 MB, free: 4.445 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.3/1.3, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.1 MB " [Timeout remaining time 179] 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.592/0.592, allocations: 85.31 MB / 323.1 MB, free: 6.684 MB / 302.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.002249/0.002249, allocations: 83.91 kB / 496.3 MB, free: 28.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1219, allocations: 78.79 MB / 0.5616 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003628/0.1256, allocations: 1.971 MB / 0.5636 GB, free: 452 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005291/0.1261, allocations: 151.7 kB / 0.5637 GB, free: 300 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.1263, allocations: 7.938 kB / 0.5637 GB, free: 292 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.1264, allocations: 19.73 kB / 0.5637 GB, free: 272 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.1266, allocations: 31.67 kB / 0.5638 GB, free: 240 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.1268, allocations: 75.86 kB / 0.5638 GB, free: 164 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.1271, allocations: 176 kB / 0.564 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.1274, allocations: 61.7 kB / 0.5641 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1275, allocations: 67.66 kB / 0.5641 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.1276, allocations: 67.56 kB / 0.5642 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.1276, allocations: 16 kB / 0.5642 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.329e-05/0.1277, allocations: 16 kB / 0.5642 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.481e-05/0.1277, allocations: 43.78 kB / 0.5643 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.052e-05/0.1278, allocations: 59.67 kB / 0.5643 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.1282, allocations: 219 kB / 0.5645 GB, free: 15.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1282, allocations: 4 kB / 0.5645 GB, free: 15.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1282, allocations: 0 / 0.5645 GB, free: 15.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.1282, allocations: 4 kB / 0.5645 GB, free: 15.43 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.0008619/0.129, allocations: 409.4 kB / 0.5649 GB, free: 15 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1291, allocations: 12.03 kB / 0.5649 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.207e-05/0.1292, allocations: 20.8 kB / 0.565 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.1296, allocations: 191.8 kB / 0.5652 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1296, allocations: 8.375 kB / 0.5652 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.1297, allocations: 20.33 kB / 0.5652 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.13, allocations: 156.5 kB / 0.5653 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.13, allocations: 4 kB / 0.5653 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.13, allocations: 4 kB / 0.5653 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.13, allocations: 4 kB / 0.5653 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.1302, allocations: 103.9 kB / 0.5654 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009015/0.1311, allocations: 0.5707 MB / 0.566 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.1314, allocations: 106.6 kB / 0.5661 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1315, allocations: 44.78 kB / 0.5661 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.1315, allocations: 4 kB / 0.5661 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.1316, allocations: 38.77 kB / 0.5662 GB, free: 13.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.1316, allocations: 3.938 kB / 0.5662 GB, free: 13.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.000403/0.132, allocations: 149.6 kB / 0.5663 GB, free: 13.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.132, allocations: 67.33 kB / 0.5664 GB, free: 13.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.1323, allocations: 191.1 kB / 0.5666 GB, free: 13.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1323, allocations: 29.7 kB / 0.5666 GB, free: 13.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1324, allocations: 131.9 kB / 0.5667 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.1324, allocations: 47.59 kB / 0.5668 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.1325, allocations: 29.7 kB / 0.5668 GB, free: 12.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1326, allocations: 322.8 kB / 0.5671 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.121e-05/0.1327, allocations: 35.98 kB / 0.5671 GB, free: 12.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1328, allocations: 62.48 kB / 0.5672 GB, free: 12.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006211/0.1335, allocations: 202.4 kB / 0.5674 GB, free: 12.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1335, allocations: 0 / 0.5674 GB, free: 12.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002797/0.1337, allocations: 153.5 kB / 0.5675 GB, free: 12.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1338, allocations: 6.406 kB / 0.5675 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1338, allocations: 4 kB / 0.5676 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1338, allocations: 4 kB / 0.5676 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1339, allocations: 27.98 kB / 0.5676 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1339, allocations: 0 / 0.5676 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/0.134, allocations: 15.88 kB / 0.5676 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.134, allocations: 4 kB / 0.5676 GB, free: 12.1 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.0001743/0.1342, allocations: 131 kB / 0.5677 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.1342, allocations: 19.84 kB / 0.5677 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.1343, allocations: 25.44 kB / 0.5678 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1343, allocations: 4 kB / 0.5678 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1343, allocations: 0 / 0.5678 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1343, allocations: 0 / 0.5678 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.1346, allocations: 181.3 kB / 0.5679 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1346, allocations: 0 / 0.5679 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.1347, allocations: 23.92 kB / 0.568 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.1347, allocations: 0 / 0.568 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1347, allocations: 4 kB / 0.568 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.1347, allocations: 7.984 kB / 0.568 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1347, allocations: 4 kB / 0.568 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/0.1352, allocations: 282.7 kB / 0.5683 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.1352, allocations: 15.88 kB / 0.5683 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.1352, allocations: 3.984 kB / 0.5683 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1353, allocations: 8 kB / 0.5683 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.1354, allocations: 3.984 kB / 0.5683 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1354, allocations: 4 kB / 0.5683 GB, free: 11.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.1355, allocations: 140.4 kB / 0.5684 GB, free: 11.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1355, allocations: 0 / 0.5684 GB, free: 11.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.1358, allocations: 35.89 kB / 0.5685 GB, free: 11.18 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.0001242/0.1359, allocations: 99.25 kB / 0.5686 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.1362, allocations: 92.45 kB / 0.5686 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1362, allocations: 0 / 0.5686 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1363, allocations: 47.92 kB / 0.5687 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1367, allocations: 28.08 kB / 0.5687 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008175/0.1375, allocations: 341.7 kB / 0.569 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.1376, allocations: 116.2 kB / 0.5691 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.598e-05/0.1377, allocations: 13.14 kB / 0.5692 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.1377, allocations: 12.5 kB / 0.5692 GB, free: 10.38 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1377, allocations: 11.94 kB / 0.5692 GB, free: 10.37 MB / 494.1 MB Notification: Performance of Templates: time 0.004415/0.1421, allocations: 1.164 MB / 0.5703 GB, free: 9.215 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 -s ida -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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.977204215945676]