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.001765/0.001765, allocations: 96.41 kB / 20.5 MB, free: 1.348 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.00219/0.00219, allocations: 223.5 kB / 23.81 MB, free: 4.508 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.528/1.528, allocations: 207.7 MB / 234.7 MB, free: 9.793 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.6195/0.6195, allocations: 113.7 MB / 400.6 MB, free: 17.46 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.SimplifiedSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",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.002113/0.002113, allocations: 77.12 kB / 0.5593 GB, free: 47.39 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1322, allocations: 78.51 MB / 0.636 GB, free: 6.637 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003456/0.1356, allocations: 1.827 MB / 0.6378 GB, free: 4.789 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1368, allocations: 0.5466 MB / 0.6383 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.137, allocations: 0 / 0.6383 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.1374, allocations: 43.72 kB / 0.6383 GB, free: 4.195 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.1376, allocations: 63.67 kB / 0.6384 GB, free: 4.133 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.1379, allocations: 79.89 kB / 0.6385 GB, free: 4.055 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005208/0.1384, allocations: 315.3 kB / 0.6388 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.1386, allocations: 33.7 kB / 0.6388 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.1388, allocations: 111.7 kB / 0.6389 GB, free: 3.598 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.1391, allocations: 111.6 kB / 0.639 GB, free: 3.488 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.1392, allocations: 16 kB / 0.639 GB, free: 3.473 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.266e-05/0.1392, allocations: 20 kB / 0.6391 GB, free: 3.453 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.131e-05/0.1393, allocations: 51.83 kB / 0.6391 GB, free: 3.402 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.064e-05/0.1394, allocations: 59.66 kB / 0.6392 GB, free: 3.344 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.1397, allocations: 211.2 kB / 0.6394 GB, free: 3.137 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1397, allocations: 0 / 0.6394 GB, free: 3.137 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1397, allocations: 0 / 0.6394 GB, free: 3.137 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1397, allocations: 0 / 0.6394 GB, free: 3.137 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001355/0.141, allocations: 473.3 kB / 0.6398 GB, free: 2.645 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1411, allocations: 8.031 kB / 0.6398 GB, free: 2.637 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.52e-05/0.1411, allocations: 4.188 kB / 0.6398 GB, free: 2.633 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.1411, allocations: 42.69 kB / 0.6399 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.1412, allocations: 16.84 kB / 0.6399 GB, free: 2.566 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006189/0.1418, allocations: 234.2 kB / 0.6401 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1418, allocations: 8.375 kB / 0.6401 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.1418, allocations: 4.375 kB / 0.6401 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.1421, allocations: 117.5 kB / 0.6402 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.1421, allocations: 0 / 0.6402 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1421, allocations: 4 kB / 0.6402 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1421, allocations: 3.984 kB / 0.6402 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.1423, allocations: 105.3 kB / 0.6403 GB, free: 2.07 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008798/0.1432, allocations: 423.6 kB / 0.6408 GB, free: 1.613 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.1437, allocations: 162.5 kB / 0.6409 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1438, allocations: 52.92 kB / 0.641 GB, free: 1.391 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.1438, allocations: 0 / 0.641 GB, free: 1.391 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1438, allocations: 34.56 kB / 0.641 GB, free: 1.348 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 9.41e-07/0.1438, allocations: 0 / 0.641 GB, free: 1.348 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008389/0.1447, allocations: 270.2 kB / 0.6412 GB, free: 1.074 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.1447, allocations: 51.41 kB / 0.6413 GB, free: 1.012 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.1452, allocations: 270.9 kB / 0.6416 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.1453, allocations: 33.7 kB / 0.6416 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.1454, allocations: 120 kB / 0.6417 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.1454, allocations: 43.62 kB / 0.6417 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.1455, allocations: 21.72 kB / 0.6418 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1456, allocations: 330.8 kB / 0.6421 GB, free: 176 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.513e-05/0.1457, allocations: 39.98 kB / 0.6421 GB, free: 136 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.028e-05/0.1458, allocations: 51.91 kB / 0.6422 GB, free: 84 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008654/0.1467, allocations: 268.7 kB / 0.6424 GB, free: 15.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1467, allocations: 0 / 0.6424 GB, free: 15.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004127/0.1471, allocations: 202.2 kB / 0.6426 GB, free: 15.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1471, allocations: 12 kB / 0.6426 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1471, allocations: 0 / 0.6426 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.1473, allocations: 44.83 kB / 0.6427 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.1474, allocations: 19.92 kB / 0.6427 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.1488, allocations: 1.434 MB / 0.6441 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.149, allocations: 39.95 kB / 0.6441 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1491, allocations: 4.594 kB / 0.6441 GB, free: 13.94 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: simplifiedSFR.inertia.x_scaled[1]:VARIABLE(start = simplifiedSFR.inertia.a_end * simplifiedSFR.inertia.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] simplifiedSFR.feedbackLoop.x_scaled[1]:VARIABLE(start = simplifiedSFR.feedbackLoop.a_end * simplifiedSFR.feedbackLoop.x_start[1] 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.0002298/0.1493, allocations: 162.2 kB / 0.6443 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.1493, allocations: 15.84 kB / 0.6443 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.1494, allocations: 25.39 kB / 0.6443 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1494, allocations: 3.938 kB / 0.6443 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1494, allocations: 4 kB / 0.6443 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1494, allocations: 0 / 0.6443 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.1497, allocations: 212.6 kB / 0.6445 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1497, allocations: 0 / 0.6445 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.385e-05/0.1498, allocations: 12 kB / 0.6445 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/0.1499, allocations: 44.83 kB / 0.6446 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1499, allocations: 3.984 kB / 0.6446 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.1512, allocations: 1.444 MB / 0.646 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1512, allocations: 0 / 0.646 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.1517, allocations: 348.2 kB / 0.6463 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.1518, allocations: 27.86 kB / 0.6464 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.1518, allocations: 7.984 kB / 0.6464 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.1521, allocations: 27.91 kB / 0.6464 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.1521, allocations: 16.05 kB / 0.6464 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1521, allocations: 0 / 0.6464 GB, free: 11.42 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004298/0.1525, allocations: 220.4 kB / 0.6466 GB, free: 11.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1525, allocations: 0 / 0.6466 GB, free: 11.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1528, allocations: 32 kB / 0.6467 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 (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.0008531/0.1537, allocations: 0.8771 MB / 0.6475 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005/0.1542, allocations: 242.5 kB / 0.6477 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1542, allocations: 0 / 0.6477 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.1545, allocations: 178.5 kB / 0.6479 GB, free: 9.832 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.1547, allocations: 19.98 kB / 0.6479 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.1584, allocations: 2.336 MB / 0.6502 GB, free: 7.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.1586, allocations: 123.3 kB / 0.6503 GB, free: 7.258 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.125e-05/0.1587, allocations: 24.95 kB / 0.6504 GB, free: 7.227 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.495e-05/0.1587, allocations: 43.42 kB / 0.6504 GB, free: 7.184 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1587, allocations: 0 / 0.6504 GB, free: 7.184 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.1884, allocations: 4.103 MB / 0.6544 GB, free: 3.168 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/11.89, allocations: 12 kB / 0.6544 GB, free: 3.156 MB / 494.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-06 Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR.fmu > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.pipe 2>&1) [Timeout 52.5] 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: 15.711817504023202]