Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.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.001794/0.001794, allocations: 109.1 kB / 17.14 MB, free: 5.93 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.002152/0.002152, allocations: 204 kB / 20.11 MB, free: 2.977 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.436/1.436, allocations: 207.6 MB / 230.5 MB, free: 4.047 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.5981/0.5981, allocations: 114.3 MB / 396.7 MB, free: 3.508 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.ReducedOrderSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SystemFrequencyResponse_ReducedOrderSFR",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.00218/0.00218, allocations: 81.92 kB / 0.5542 GB, free: 2.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1465, allocations: 78.55 MB / 0.6309 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR): time 0.003502/0.15, allocations: 2.064 MB / 0.6329 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004441/0.1505, allocations: 151.6 kB / 0.633 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.861e-05/0.1506, allocations: 0 / 0.633 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.1507, allocations: 23.72 kB / 0.6331 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.1508, allocations: 39.66 kB / 0.6331 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.151, allocations: 59.94 kB / 0.6332 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.1512, allocations: 179.9 kB / 0.6333 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.1514, allocations: 69.25 kB / 0.6334 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.925e-05/0.1515, allocations: 67.72 kB / 0.6335 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1516, allocations: 75.5 kB / 0.6335 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.1517, allocations: 16 kB / 0.6335 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.679e-05/0.1517, allocations: 20 kB / 0.6336 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.1517, allocations: 39.84 kB / 0.6336 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.698e-05/0.1518, allocations: 79.55 kB / 0.6337 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.1521, allocations: 215 kB / 0.6339 GB, free: 0.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.1521, allocations: 7.938 kB / 0.6339 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1521, allocations: 0 / 0.6339 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1521, allocations: 3.938 kB / 0.6339 GB, free: 0.7383 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007273/0.1528, allocations: 486.4 kB / 0.6344 GB, free: 220 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1529, allocations: 19.89 kB / 0.6344 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.332e-05/0.1529, allocations: 46.73 kB / 0.6344 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.153, allocations: 20.8 kB / 0.6344 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2551/0.4081, allocations: 241.8 kB / 0.6347 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.4081, allocations: 10.06 kB / 0.6347 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.4081, allocations: 16.5 kB / 0.6347 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.4085, allocations: 153.9 kB / 0.6348 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4085, allocations: 2.094 kB / 0.6348 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.4085, allocations: 8.438 kB / 0.6349 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4085, allocations: 3.625 kB / 0.6349 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.4087, allocations: 98.98 kB / 0.635 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008085/0.4095, allocations: 0.7207 MB / 0.6357 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.4098, allocations: 114.1 kB / 0.6358 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.994e-05/0.4099, allocations: 44.06 kB / 0.6358 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.4099, allocations: 2 kB / 0.6358 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.4099, allocations: 33.66 kB / 0.6358 GB, free: 10.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 2.324e-06/0.4099, allocations: 0.6562 kB / 0.6358 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003693/0.4103, allocations: 162.3 kB / 0.636 GB, free: 10.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.4103, allocations: 54.42 kB / 0.636 GB, free: 10.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.4105, allocations: 204.5 kB / 0.6362 GB, free: 10.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.4105, allocations: 27.02 kB / 0.6363 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.4106, allocations: 136.7 kB / 0.6364 GB, free: 10.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.4106, allocations: 46.17 kB / 0.6364 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.4107, allocations: 33.7 kB / 0.6365 GB, free: 10 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.917e-05/0.4107, allocations: 325.4 kB / 0.6368 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.598e-05/0.4108, allocations: 35.05 kB / 0.6368 GB, free: 9.691 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.209e-05/0.4109, allocations: 61.97 kB / 0.6369 GB, free: 9.668 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.4115, allocations: 198.5 kB / 0.6371 GB, free: 9.641 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4115, allocations: 0 / 0.6371 GB, free: 9.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002514/0.4117, allocations: 150.4 kB / 0.6372 GB, free: 9.598 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4118, allocations: 9.031 kB / 0.6372 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4118, allocations: 1.469 kB / 0.6372 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4118, allocations: 4.25 kB / 0.6372 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4119, allocations: 22.27 kB / 0.6372 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4119, allocations: 1.531 kB / 0.6372 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.409e-05/0.412, allocations: 17.75 kB / 0.6373 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.412, allocations: 4.922 kB / 0.6373 GB, free: 9.586 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: reducedOrderSFR.firstOrder.y:VARIABLE(flow=false start = reducedOrderSFR.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (reducedOrderSFR.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.4121, allocations: 136.6 kB / 0.6374 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.4122, allocations: 23 kB / 0.6374 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.4122, allocations: 23.17 kB / 0.6374 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4122, allocations: 5.375 kB / 0.6374 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4122, allocations: 1.031 kB / 0.6374 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4122, allocations: 1 kB / 0.6375 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.4125, allocations: 257.1 kB / 0.6377 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4125, allocations: 3.172 kB / 0.6377 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.4126, allocations: 17.97 kB / 0.6377 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.4126, allocations: 4.5 kB / 0.6377 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.4126, allocations: 4.781 kB / 0.6377 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4126, allocations: 2.547 kB / 0.6377 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4126, allocations: 4.469 kB / 0.6377 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.413, allocations: 282.8 kB / 0.638 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.4131, allocations: 94.95 kB / 0.6381 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.4131, allocations: 9.141 kB / 0.6381 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.632e-05/0.4132, allocations: 2.547 kB / 0.6381 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.4132, allocations: 9.656 kB / 0.6381 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.4132, allocations: 2.156 kB / 0.6381 GB, free: 9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.4133, allocations: 149 kB / 0.6383 GB, free: 8.926 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4133, allocations: 1 kB / 0.6383 GB, free: 8.926 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.4136, allocations: 27.95 kB / 0.6383 GB, free: 8.922 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (reducedOrderSFR.integrator.y,reducedOrderSFR.firstOrder.y) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004979/0.4141, allocations: 0.8158 MB / 0.6391 GB, free: 8.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.4143, allocations: 97.33 kB / 0.6392 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4143, allocations: 0 / 0.6392 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.4144, allocations: 39.55 kB / 0.6392 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.4147, allocations: 24.52 kB / 0.6392 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.4168, allocations: 2.059 MB / 0.6412 GB, free: 6.844 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.4169, allocations: 0.7278 MB / 0.642 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.905e-05/0.417, allocations: 10.8 kB / 0.642 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.516e-05/0.417, allocations: 49.52 kB / 0.642 GB, free: 6.109 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.417, allocations: 0 / 0.642 GB, free: 6.109 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.4437, allocations: 3.275 MB / 0.6452 GB, free: 5.555 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.151/8.595, allocations: 14.73 kB / 0.6452 GB, free: 5.543 MB / 494.1 MB " [Timeout remaining time 651] (rm -f Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_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_ReducedOrderSFR.fmu > Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable reducedOrderSFR.deltaFrequency in file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv. Warning: Get data of variable reducedOrderSFR.deltaFrequency from file Dynawo_dev_Dynawo.Examples.SystemFrequencyResponse.ReducedOrderSFR_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.954611988039687]