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.001328/0.001328, allocations: 112.9 kB / 17.15 MB, free: 5.949 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.001476/0.001476, allocations: 212 kB / 20.11 MB, free: 2.992 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.451/1.451, allocations: 207.6 MB / 230.5 MB, free: 4.043 MB / 174.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.6223/0.6223, allocations: 114.3 MB / 396.7 MB, free: 3.496 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="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: 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.002228/0.002228, allocations: 63.91 kB / 0.5542 GB, free: 2.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1405, allocations: 78.56 MB / 0.6309 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.SimplifiedSFR): time 0.003408/0.1439, allocations: 1.927 MB / 0.6328 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1451, allocations: 0.6166 MB / 0.6334 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.618e-05/0.1451, allocations: 0 / 0.6334 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.1455, allocations: 51.7 kB / 0.6334 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.1457, allocations: 83.64 kB / 0.6335 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.1459, allocations: 59.94 kB / 0.6336 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.1463, allocations: 323.3 kB / 0.6339 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.1464, allocations: 37.66 kB / 0.6339 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.1466, allocations: 127.6 kB / 0.634 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.1468, allocations: 143.5 kB / 0.6342 GB, free: 488 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.1469, allocations: 24 kB / 0.6342 GB, free: 464 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.483e-05/0.1469, allocations: 20 kB / 0.6342 GB, free: 444 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.147, allocations: 63.77 kB / 0.6343 GB, free: 380 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1471, allocations: 91.5 kB / 0.6343 GB, free: 288 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.1474, allocations: 243 kB / 0.6346 GB, free: 44 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1474, allocations: 4 kB / 0.6346 GB, free: 40 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1474, allocations: 0 / 0.6346 GB, free: 40 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.1474, allocations: 4 kB / 0.6346 GB, free: 36 kB / 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.2593/0.4067, allocations: 0.5484 MB / 0.6351 GB, free: 11.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4068, allocations: 12.98 kB / 0.6351 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.4068, allocations: 43.77 kB / 0.6352 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.4069, allocations: 22.23 kB / 0.6352 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005863/0.4075, allocations: 335.7 kB / 0.6355 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.4075, allocations: 4 kB / 0.6355 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.4075, allocations: 8.906 kB / 0.6355 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.4077, allocations: 111.6 kB / 0.6356 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4077, allocations: 4.469 kB / 0.6356 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.4077, allocations: 5.219 kB / 0.6356 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.4078, allocations: 3.781 kB / 0.6356 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.408, allocations: 103.3 kB / 0.6357 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008061/0.4088, allocations: 0.5603 MB / 0.6363 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.4092, allocations: 162.1 kB / 0.6364 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.4093, allocations: 49.95 kB / 0.6365 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.4093, allocations: 4.344 kB / 0.6365 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.4093, allocations: 36.83 kB / 0.6365 GB, free: 10.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.4093, allocations: 1.938 kB / 0.6365 GB, free: 10.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008168/0.4101, allocations: 345 kB / 0.6369 GB, free: 10.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.4102, allocations: 53.27 kB / 0.6369 GB, free: 10.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/0.4108, allocations: 324.3 kB / 0.6372 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.4108, allocations: 31.14 kB / 0.6373 GB, free: 10.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.4108, allocations: 125 kB / 0.6374 GB, free: 10.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.4109, allocations: 34.38 kB / 0.6374 GB, free: 10 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.4109, allocations: 23.94 kB / 0.6374 GB, free: 9.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.411, allocations: 331.9 kB / 0.6377 GB, free: 9.676 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.4111, allocations: 50.02 kB / 0.6378 GB, free: 9.676 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.4112, allocations: 47.11 kB / 0.6378 GB, free: 9.676 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007621/0.4119, allocations: 264.1 kB / 0.6381 GB, free: 9.668 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4119, allocations: 0 / 0.6381 GB, free: 9.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003693/0.4123, allocations: 209.1 kB / 0.6383 GB, free: 9.613 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4123, allocations: 4.688 kB / 0.6383 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4123, allocations: 1.469 kB / 0.6383 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.4125, allocations: 46.48 kB / 0.6383 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.4126, allocations: 25.38 kB / 0.6384 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000971/0.4135, allocations: 1.551 MB / 0.6399 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.4138, allocations: 33.52 kB / 0.6399 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.4138, allocations: 2.594 kB / 0.6399 GB, free: 8.234 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.0001726/0.414, allocations: 156.7 kB / 0.6401 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.414, allocations: 15.78 kB / 0.6401 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.4141, allocations: 22.81 kB / 0.6401 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4141, allocations: 1.562 kB / 0.6401 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4141, allocations: 4.906 kB / 0.6401 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.4141, allocations: 6.438 kB / 0.6401 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.4143, allocations: 286.4 kB / 0.6404 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4143, allocations: 0 / 0.6404 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.23e-05/0.4144, allocations: 13.12 kB / 0.6404 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/0.4145, allocations: 50.67 kB / 0.6404 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.4145, allocations: 5.125 kB / 0.6404 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008945/0.4154, allocations: 1.55 MB / 0.642 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4154, allocations: 3.938 kB / 0.642 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.4159, allocations: 358.8 kB / 0.6423 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.416, allocations: 108.3 kB / 0.6424 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.416, allocations: 5.781 kB / 0.6424 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.4162, allocations: 25.33 kB / 0.6424 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.4163, allocations: 10.41 kB / 0.6425 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.4163, allocations: 1.375 kB / 0.6425 GB, free: 6.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000454/0.4167, allocations: 257.8 kB / 0.6427 GB, free: 5.938 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4167, allocations: 0 / 0.6427 GB, free: 5.938 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.417, allocations: 42.25 kB / 0.6427 GB, free: 5.926 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.0006067/0.4176, allocations: 0.8775 MB / 0.6436 GB, free: 5.172 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004352/0.4181, allocations: 239.5 kB / 0.6438 GB, free: 5.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4181, allocations: 0 / 0.6438 GB, free: 5.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.4183, allocations: 177.9 kB / 0.644 GB, free: 4.887 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.4186, allocations: 34.73 kB / 0.644 GB, free: 4.867 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.4218, allocations: 2.494 MB / 0.6465 GB, free: 3.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.4222, allocations: 0.738 MB / 0.6472 GB, free: 18.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.559e-05/0.4223, allocations: 25.16 kB / 0.6472 GB, free: 18.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.387e-05/0.4223, allocations: 53.55 kB / 0.6473 GB, free: 18.48 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.4223, allocations: 0 / 0.6473 GB, free: 18.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.4527, allocations: 4.478 MB / 0.6516 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.943/10.4, allocations: 11.31 kB / 0.6516 GB, free: 17.85 MB / 0.4981 GB " [Timeout remaining time 650] (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/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] "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: 13.821523227030411]