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.001277/0.001277, allocations: 105 kB / 20.5 MB, free: 1.473 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.001393/0.001393, allocations: 220.6 kB / 23.82 MB, free: 4.691 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.514/1.514, 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.6217/0.6217, allocations: 113.8 MB / 400.7 MB, free: 16.59 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.002235/0.002235, allocations: 72.56 kB / 0.5594 GB, free: 47.45 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1402, allocations: 78.52 MB / 0.6361 GB, free: 6.824 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003557/0.1437, allocations: 1.882 MB / 0.6379 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.145, allocations: 0.5815 MB / 0.6385 GB, free: 4.336 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1451, allocations: 4 kB / 0.6385 GB, free: 4.332 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.1454, allocations: 43.72 kB / 0.6386 GB, free: 4.289 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.1457, allocations: 55.75 kB / 0.6386 GB, free: 4.234 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.1459, allocations: 75.88 kB / 0.6387 GB, free: 4.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000433/0.1463, allocations: 319.3 kB / 0.639 GB, free: 3.848 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1464, allocations: 41.7 kB / 0.639 GB, free: 3.801 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.1467, allocations: 107.7 kB / 0.6391 GB, free: 3.695 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1468, allocations: 115.6 kB / 0.6392 GB, free: 3.582 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.1469, allocations: 16 kB / 0.6393 GB, free: 3.566 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.167e-05/0.1469, allocations: 16 kB / 0.6393 GB, free: 3.551 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.363e-05/0.147, allocations: 55.77 kB / 0.6393 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.352e-05/0.1471, allocations: 71.59 kB / 0.6394 GB, free: 3.426 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1473, allocations: 199.2 kB / 0.6396 GB, free: 3.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1473, allocations: 0 / 0.6396 GB, free: 3.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1473, allocations: 0 / 0.6396 GB, free: 3.23 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1473, allocations: 0 / 0.6396 GB, free: 3.23 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.001194/0.1485, allocations: 477.2 kB / 0.64 GB, free: 2.734 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1486, allocations: 12.03 kB / 0.64 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.675e-05/0.1486, allocations: 192 / 0.64 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.1487, allocations: 46.69 kB / 0.6401 GB, free: 2.668 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.1487, allocations: 16.84 kB / 0.6401 GB, free: 2.652 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.1493, allocations: 230.2 kB / 0.6403 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1493, allocations: 12.38 kB / 0.6403 GB, free: 2.391 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.1493, allocations: 8.359 kB / 0.6403 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.1496, allocations: 115 kB / 0.6405 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1496, allocations: 0 / 0.6405 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1496, allocations: 8 kB / 0.6405 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1496, allocations: 3.938 kB / 0.6405 GB, free: 2.254 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.1498, allocations: 103.9 kB / 0.6406 GB, free: 2.152 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007797/0.1506, allocations: 0.4912 MB / 0.641 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.151, allocations: 158.6 kB / 0.6412 GB, free: 1.441 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1511, allocations: 64.7 kB / 0.6413 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.1511, allocations: 0 / 0.6413 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.1512, allocations: 34.56 kB / 0.6413 GB, free: 1.332 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.1512, allocations: 0 / 0.6413 GB, free: 1.332 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008365/0.152, allocations: 262.1 kB / 0.6415 GB, free: 1.066 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.1521, allocations: 55.41 kB / 0.6416 GB, free: 1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005314/0.1526, allocations: 278.8 kB / 0.6419 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1526, allocations: 29.7 kB / 0.6419 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.1527, allocations: 124 kB / 0.642 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.1528, allocations: 35.69 kB / 0.642 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.1528, allocations: 21.72 kB / 0.6421 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.153, allocations: 330.8 kB / 0.6424 GB, free: 164 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.1531, allocations: 43.97 kB / 0.6424 GB, free: 120 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.557e-05/0.1532, allocations: 47.97 kB / 0.6425 GB, free: 72 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008753/0.154, allocations: 268.7 kB / 0.6427 GB, free: 15.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.154, allocations: 0 / 0.6427 GB, free: 15.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004234/0.1545, allocations: 214.2 kB / 0.6429 GB, free: 15.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1545, allocations: 4 kB / 0.6429 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1545, allocations: 0 / 0.6429 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001829/0.1547, allocations: 44.83 kB / 0.643 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.758e-05/0.1548, allocations: 19.98 kB / 0.643 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.1563, allocations: 1.453 MB / 0.6444 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.1565, allocations: 27.89 kB / 0.6444 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1565, allocations: 4 kB / 0.6444 GB, free: 13.91 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.0002268/0.1567, allocations: 151.2 kB / 0.6446 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.1568, allocations: 15.91 kB / 0.6446 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.76e-05/0.1569, allocations: 25.39 kB / 0.6446 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1569, allocations: 3.938 kB / 0.6446 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1569, allocations: 3.938 kB / 0.6446 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1569, allocations: 0 / 0.6446 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.1572, allocations: 240.5 kB / 0.6449 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.1572, allocations: 0 / 0.6449 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.643e-05/0.1573, allocations: 12 kB / 0.6449 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/0.1574, allocations: 48.75 kB / 0.6449 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.1574, allocations: 4 kB / 0.6449 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.1588, allocations: 1.452 MB / 0.6463 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1588, allocations: 0 / 0.6463 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/0.1594, allocations: 360.1 kB / 0.6467 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.1595, allocations: 19.84 kB / 0.6467 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.1595, allocations: 4 kB / 0.6467 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.1597, allocations: 23.95 kB / 0.6467 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.1598, allocations: 19.86 kB / 0.6468 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.1598, allocations: 0 / 0.6468 GB, free: 11.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004527/0.1602, allocations: 216.5 kB / 0.647 GB, free: 11.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1602, allocations: 0 / 0.647 GB, free: 11.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.1605, allocations: 32 kB / 0.647 GB, free: 11.12 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.0008871/0.1614, allocations: 0.881 MB / 0.6478 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005338/0.1619, allocations: 242.7 kB / 0.6481 GB, free: 9.961 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1619, allocations: 0 / 0.6481 GB, free: 9.961 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.1622, allocations: 178.7 kB / 0.6483 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.1625, allocations: 20 kB / 0.6483 GB, free: 9.754 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/0.1664, allocations: 2.332 MB / 0.6505 GB, free: 7.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.1668, allocations: 0.7358 MB / 0.6513 GB, free: 6.578 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.462e-05/0.1669, allocations: 16.97 kB / 0.6513 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.394e-05/0.167, allocations: 47.42 kB / 0.6513 GB, free: 6.512 MB / 494.1 MB Notification: Performance of SimCode: time 7.71e-07/0.167, allocations: 0 / 0.6513 GB, free: 6.512 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.1956, allocations: 3.984 MB / 0.6552 GB, free: 2.609 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.3, allocations: 10.7 kB / 0.6552 GB, free: 2.605 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.989764368976466]