Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.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.001676/0.001676, allocations: 75.77 kB / 20.53 MB, free: 1.105 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.001717/0.001717, allocations: 160.9 kB / 23.78 MB, free: 4.184 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.274/1.274, allocations: 158.6 MB / 185.5 MB, free: 6.129 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.5985/0.5985, allocations: 85.32 MB / 323.1 MB, free: 6.699 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.SimplifiedSFR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|simplifiedSFR.deltaFrequency",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR") translateModel(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|simplifiedSFR.deltaFrequency",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR") [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.002229/0.002229, allocations: 73.22 kB / 496.3 MB, free: 28.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1246, allocations: 78.79 MB / 0.5616 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003621/0.1283, allocations: 1.878 MB / 0.5635 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1295, allocations: 0.5778 MB / 0.564 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1296, allocations: 3.938 kB / 0.564 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.1299, allocations: 47.62 kB / 0.5641 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.1302, allocations: 91.59 kB / 0.5642 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1304, allocations: 75.89 kB / 0.5642 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000522/0.1309, allocations: 363.2 kB / 0.5646 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1311, allocations: 29.78 kB / 0.5646 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.1313, allocations: 123.7 kB / 0.5647 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.1315, allocations: 143.5 kB / 0.5649 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/0.1316, allocations: 20 kB / 0.5649 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.673e-05/0.1316, allocations: 28 kB / 0.5649 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1317, allocations: 67.8 kB / 0.565 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.1319, allocations: 71.53 kB / 0.5651 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.1322, allocations: 247 kB / 0.5653 GB, free: 14.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1322, allocations: 4 kB / 0.5653 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1322, allocations: 0 / 0.5653 GB, free: 14.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1322, allocations: 0 / 0.5653 GB, free: 14.65 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001353/0.1336, allocations: 493.2 kB / 0.5658 GB, free: 14.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1336, allocations: 8.031 kB / 0.5658 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.1337, allocations: 20.8 kB / 0.5658 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006499/0.1343, allocations: 282.9 kB / 0.5661 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1343, allocations: 8.375 kB / 0.5661 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.1344, allocations: 8.375 kB / 0.5661 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.1346, allocations: 113.9 kB / 0.5662 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1346, allocations: 0 / 0.5662 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1346, allocations: 7.938 kB / 0.5662 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1346, allocations: 0 / 0.5662 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.1349, allocations: 111.9 kB / 0.5663 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.1357, allocations: 420.2 kB / 0.5667 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004403/0.1361, allocations: 158.6 kB / 0.5669 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.1362, allocations: 52.84 kB / 0.5669 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.1362, allocations: 4 kB / 0.5669 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.1363, allocations: 34.55 kB / 0.5669 GB, free: 12.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.995e-06/0.1363, allocations: 4 kB / 0.5669 GB, free: 12.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008162/0.1371, allocations: 258.5 kB / 0.5672 GB, free: 12.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.1371, allocations: 51.41 kB / 0.5672 GB, free: 12.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/0.1378, allocations: 332 kB / 0.5676 GB, free: 12.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1378, allocations: 25.8 kB / 0.5676 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.1379, allocations: 132 kB / 0.5677 GB, free: 12.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.1379, allocations: 35.69 kB / 0.5677 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.138, allocations: 25.72 kB / 0.5678 GB, free: 11.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1381, allocations: 334.8 kB / 0.5681 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.1382, allocations: 43.97 kB / 0.5681 GB, free: 11.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.194e-05/0.1383, allocations: 43.98 kB / 0.5682 GB, free: 11.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008381/0.1392, allocations: 264.8 kB / 0.5684 GB, free: 11.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1392, allocations: 0 / 0.5684 GB, free: 11.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004117/0.1396, allocations: 214.1 kB / 0.5686 GB, free: 11.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1396, allocations: 4 kB / 0.5686 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.1396, allocations: 0 / 0.5686 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.1398, allocations: 52.8 kB / 0.5687 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.1399, allocations: 15.94 kB / 0.5687 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.1413, allocations: 1.414 MB / 0.5701 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.1415, allocations: 31.89 kB / 0.5701 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.1416, allocations: 11.92 kB / 0.5701 GB, free: 9.426 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: simplifiedSFR.inertia.x_scaled[1]:VARIABLE(start = simplifiedSFR.inertia.X0[1] * simplifiedSFR.inertia.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] simplifiedSFR.feedbackLoop.x_scaled[1]:VARIABLE(start = simplifiedSFR.feedbackLoop.X0[1] * simplifiedSFR.feedbackLoop.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002024/0.1418, allocations: 146.8 kB / 0.5703 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.1418, allocations: 19.89 kB / 0.5703 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.1419, allocations: 25.53 kB / 0.5703 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.1419, allocations: 4 kB / 0.5703 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1419, allocations: 4 kB / 0.5703 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1419, allocations: 0 / 0.5703 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.1421, allocations: 201.1 kB / 0.5705 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1421, allocations: 0 / 0.5705 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.1422, allocations: 16.12 kB / 0.5705 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001403/0.1424, allocations: 48.81 kB / 0.5706 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1424, allocations: 0 / 0.5706 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.1438, allocations: 1.428 MB / 0.572 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1438, allocations: 0 / 0.572 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/0.1443, allocations: 356 kB / 0.5723 GB, free: 7.027 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.613e-05/0.1444, allocations: 31.88 kB / 0.5723 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1444, allocations: 4 kB / 0.5723 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.1447, allocations: 32.08 kB / 0.5724 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.1447, allocations: 7.984 kB / 0.5724 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.1447, allocations: 4 kB / 0.5724 GB, free: 6.949 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005323/0.1453, allocations: 245.8 kB / 0.5726 GB, free: 6.707 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1453, allocations: 4 kB / 0.5726 GB, free: 6.703 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.1456, allocations: 32 kB / 0.5726 GB, free: 6.672 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (simplifiedSFR.inertia.x_scaled[1],simplifiedSFR.feedbackLoop.x_scaled[1]) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001138/0.1457, allocations: 99.25 kB / 0.5727 GB, free: 6.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005311/0.1462, allocations: 242.5 kB / 0.573 GB, free: 6.312 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1462, allocations: 0 / 0.573 GB, free: 6.312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.1465, allocations: 178.6 kB / 0.5731 GB, free: 6.125 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1468, allocations: 34.69 kB / 0.5732 GB, free: 6.094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008013/0.1476, allocations: 389.5 kB / 0.5735 GB, free: 5.691 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.1478, allocations: 136.1 kB / 0.5737 GB, free: 5.535 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.29e-05/0.1479, allocations: 25.14 kB / 0.5737 GB, free: 5.512 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.1479, allocations: 16.5 kB / 0.5737 GB, free: 5.492 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1479, allocations: 288 / 0.5737 GB, free: 5.492 MB / 494.1 MB Notification: Performance of Templates: time 0.006414/0.1544, allocations: 2.49 MB / 0.5761 GB, free: 3.031 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.sim & ./Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.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: 5.086327112047002]