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.0008393/0.0008393, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0008705/0.0008705, allocations: 177.2 kB / 23.23 MB, free: 1.328 MB / 18.57 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 0.8794/0.8794, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 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.4364/0.4364, allocations: 90.27 MB / 327.5 MB, free: 15.03 MB / 314.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_SimplifiedSFR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.4923 GB, free: 21.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.328e-05, allocations: 5.797 kB / 0.4923 GB, free: 21.56 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.002447/0.002471, allocations: 1.876 MB / 0.4941 GB, free: 20.28 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008498/0.00332, allocations: 0.5835 MB / 0.4947 GB, free: 19.88 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.088e-05/0.003401, allocations: 5.438 kB / 0.4947 GB, free: 19.88 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.003715, allocations: 42.72 kB / 0.4947 GB, free: 19.86 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.003914, allocations: 95.72 kB / 0.4948 GB, free: 19.8 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.004153, allocations: 98.12 kB / 0.4949 GB, free: 19.76 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.004412, allocations: 243.3 kB / 0.4952 GB, free: 19.65 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.004534, allocations: 25.39 kB / 0.4952 GB, free: 19.64 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.004687, allocations: 100.9 kB / 0.4953 GB, free: 19.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.004865, allocations: 123 kB / 0.4954 GB, free: 19.55 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.004908, allocations: 21.25 kB / 0.4954 GB, free: 19.55 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.951e-05/0.004938, allocations: 22.06 kB / 0.4954 GB, free: 19.55 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.834e-05/0.005026, allocations: 72.33 kB / 0.4955 GB, free: 19.51 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/0.005083, allocations: 52.7 kB / 0.4956 GB, free: 19.48 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.005361, allocations: 252.6 kB / 0.4958 GB, free: 19.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.005364, allocations: 1.312 kB / 0.4958 GB, free: 19.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005365, allocations: 0 / 0.4958 GB, free: 19.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.00537, allocations: 0 / 0.4958 GB, free: 19.38 MB / 442.7 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.0008985/0.006269, allocations: 496 kB / 0.4963 GB, free: 19.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.00631, allocations: 10.73 kB / 0.4963 GB, free: 19.02 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.006344, allocations: 38.7 kB / 0.4963 GB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.006387, allocations: 26.36 kB / 0.4963 GB, free: 18.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.006813, allocations: 270.6 kB / 0.4966 GB, free: 18.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.006826, allocations: 10.72 kB / 0.4966 GB, free: 18.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.006849, allocations: 9.406 kB / 0.4966 GB, free: 18.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.007018, allocations: 111.4 kB / 0.4967 GB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.007027, allocations: 0.8438 kB / 0.4967 GB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.007039, allocations: 9.094 kB / 0.4967 GB, free: 18.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.007064, allocations: 1.812 kB / 0.4967 GB, free: 18.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.007293, allocations: 106.4 kB / 0.4968 GB, free: 18.65 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.007878, allocations: 444.7 kB / 0.4973 GB, free: 18.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.008187, allocations: 160.7 kB / 0.4974 GB, free: 18.26 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.68e-05/0.008264, allocations: 55.88 kB / 0.4975 GB, free: 18.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.008277, allocations: 5.375 kB / 0.4975 GB, free: 18.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.008293, allocations: 32.67 kB / 0.4975 GB, free: 18.19 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.008294, allocations: 3.938 kB / 0.4975 GB, free: 18.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005641/0.008859, allocations: 263.7 kB / 0.4978 GB, free: 18.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.008885, allocations: 57.53 kB / 0.4978 GB, free: 18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004203/0.009305, allocations: 324.7 kB / 0.4981 GB, free: 17.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.009316, allocations: 27.08 kB / 0.4981 GB, free: 17.81 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.00937, allocations: 126.2 kB / 0.4983 GB, free: 17.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.009416, allocations: 34.66 kB / 0.4983 GB, free: 17.67 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.009454, allocations: 23.06 kB / 0.4983 GB, free: 17.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.3e-05/0.009517, allocations: 329.9 kB / 0.4986 GB, free: 17.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.009591, allocations: 45.36 kB / 0.4987 GB, free: 17.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/0.009659, allocations: 54.28 kB / 0.4987 GB, free: 17.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005531/0.01021, allocations: 268.7 kB / 0.499 GB, free: 17.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01021, allocations: 0 / 0.499 GB, free: 17.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002591/0.01047, allocations: 211.6 kB / 0.4992 GB, free: 17.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.01049, allocations: 5.734 kB / 0.4992 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.01049, allocations: 0 / 0.4992 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001278/0.01062, allocations: 42.28 kB / 0.4992 GB, free: 17.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.14e-05/0.01067, allocations: 17.5 kB / 0.4993 GB, free: 17.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007466/0.01142, allocations: 1.442 MB / 0.5007 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.01154, allocations: 33.14 kB / 0.5007 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.01155, allocations: 2.594 kB / 0.5007 GB, free: 15.71 MB / 442.7 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.0001559/0.0117, allocations: 160 kB / 0.5008 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.01173, allocations: 20.38 kB / 0.5009 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.01176, allocations: 29.98 kB / 0.5009 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01176, allocations: 1.375 kB / 0.5009 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.01176, allocations: 1.734 kB / 0.5009 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.01177, allocations: 0.8438 kB / 0.5009 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.01195, allocations: 229.4 kB / 0.5011 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01196, allocations: 1.125 kB / 0.5011 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.352e-05/0.01201, allocations: 11.45 kB / 0.5011 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-05/0.0121, allocations: 49.11 kB / 0.5012 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.01211, allocations: 2.047 kB / 0.5012 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006185/0.01273, allocations: 1.437 MB / 0.5026 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01273, allocations: 1.125 kB / 0.5026 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.01306, allocations: 344.7 kB / 0.5029 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.01309, allocations: 36.12 kB / 0.5029 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.01311, allocations: 6.016 kB / 0.503 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.01323, allocations: 23.8 kB / 0.503 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.01327, allocations: 8.203 kB / 0.503 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.01328, allocations: 1.5 kB / 0.503 GB, free: 13.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003023/0.01358, allocations: 259.2 kB / 0.5032 GB, free: 13.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01358, allocations: 5.094 kB / 0.5032 GB, free: 13.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.0138, allocations: 37.94 kB / 0.5033 GB, free: 13.58 MB / 442.7 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.0004858/0.01429, allocations: 0.8808 MB / 0.5041 GB, free: 12.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004082/0.01469, allocations: 241.6 kB / 0.5044 GB, free: 12.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.0147, allocations: 4.062 kB / 0.5044 GB, free: 12.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.01504, allocations: 173.8 kB / 0.5045 GB, free: 12.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.01531, allocations: 31.95 kB / 0.5046 GB, free: 12.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.01799, allocations: 2.508 MB / 0.507 GB, free: 10.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.0181, allocations: 127.1 kB / 0.5071 GB, free: 10.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.423e-05/0.01817, allocations: 31.8 kB / 0.5072 GB, free: 10.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/0.01825, allocations: 51.12 kB / 0.5072 GB, free: 10.74 MB / 442.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01825, allocations: 0 / 0.5072 GB, free: 10.74 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.04046, allocations: 5.286 MB / 0.5124 GB, free: 9.043 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.284, allocations: 3.234 kB / 0.5124 GB, free: 9.043 MB / 442.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable simplifiedSFR.deltaFrequency in file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.csv. Warning: Get data of variable simplifiedSFR.deltaFrequency from file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.840156270191073]