Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001724/0.001724, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002101/0.002101, allocations: 213.9 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.198/0.198, allocations: 38.53 MB / 352.5 MB, free: 12.57 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 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.002292/0.002292, allocations: 71.03 kB / 492.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3571, allocations: 62.47 MB / 0.542 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.006845/0.3639, allocations: 3.567 MB / 0.5455 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.3669, allocations: 1.507 MB / 0.547 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.3671, allocations: 12 kB / 0.547 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.3682, allocations: 255.4 kB / 0.5472 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008966/0.369, allocations: 279.1 kB / 0.5475 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.3695, allocations: 118.2 kB / 0.5476 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006193/0.3701, allocations: 336.3 kB / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.3705, allocations: 114.5 kB / 0.548 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004151/0.3709, allocations: 163.5 kB / 0.5482 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.3713, allocations: 161.5 kB / 0.5483 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.3713, allocations: 13.62 kB / 0.5483 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007727/0.3721, allocations: 326.1 kB / 0.5487 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.3722, allocations: 98.23 kB / 0.5487 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.3723, allocations: 109.6 kB / 0.5489 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005116/0.3728, allocations: 343.6 kB / 0.5492 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3728, allocations: 0 / 0.5492 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3728, allocations: 0 / 0.5492 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3728, allocations: 1.438 kB / 0.5492 GB, free: 11 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007114/0.3736, allocations: 449.3 kB / 0.5496 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3736, allocations: 13.95 kB / 0.5496 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.971e-05/0.3737, allocations: 57.39 kB / 0.5497 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008568/0.3745, allocations: 92.12 kB / 0.5498 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.3749, allocations: 205.9 kB / 0.55 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3749, allocations: 12.34 kB / 0.55 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.375, allocations: 27.48 kB / 0.55 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.3756, allocations: 328.2 kB / 0.5503 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.3756, allocations: 3.984 kB / 0.5503 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.3756, allocations: 6.594 kB / 0.5503 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/0.3756, allocations: 16.58 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004885/0.3761, allocations: 287.4 kB / 0.5506 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.3779, allocations: 1.251 MB / 0.5518 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/0.3785, allocations: 198.8 kB / 0.552 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.566e-05/0.3786, allocations: 60.25 kB / 0.5521 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.3787, allocations: 6.062 kB / 0.5521 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3787, allocations: 36.19 kB / 0.5521 GB, free: 8.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.3787, allocations: 0 / 0.5521 GB, free: 8.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009574/0.3796, allocations: 363.4 kB / 0.5525 GB, free: 8.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.3798, allocations: 82.45 kB / 0.5525 GB, free: 8.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.38, allocations: 195.4 kB / 0.5527 GB, free: 8.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.38, allocations: 26.92 kB / 0.5528 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3801, allocations: 176.4 kB / 0.5529 GB, free: 7.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.3802, allocations: 46.08 kB / 0.553 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.3802, allocations: 49.84 kB / 0.553 GB, free: 7.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3804, allocations: 331.3 kB / 0.5533 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/0.3805, allocations: 52.52 kB / 0.5534 GB, free: 7.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.3807, allocations: 142.4 kB / 0.5535 GB, free: 7.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.381, allocations: 239.2 kB / 0.5537 GB, free: 7.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.381, allocations: 1 kB / 0.5537 GB, free: 7.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004835/0.3814, allocations: 265 kB / 0.554 GB, free: 7.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3815, allocations: 7.219 kB / 0.554 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3815, allocations: 2.844 kB / 0.554 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/0.3817, allocations: 37.67 kB / 0.554 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.3819, allocations: 40.67 kB / 0.5541 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.3832, allocations: 1.34 MB / 0.5554 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.3833, allocations: 8.266 kB / 0.5554 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.3834, allocations: 20.97 kB / 0.5554 GB, free: 5.633 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.3835, allocations: 160.6 kB / 0.5556 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.3836, allocations: 19.94 kB / 0.5556 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.384, allocations: 188.1 kB / 0.5558 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3841, allocations: 2.781 kB / 0.5558 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.3841, allocations: 0 / 0.5558 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3841, allocations: 1.156 kB / 0.5558 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008871/0.3849, allocations: 0.5372 MB / 0.5563 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3849, allocations: 1.156 kB / 0.5563 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.385, allocations: 21.45 kB / 0.5563 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001508/0.3852, allocations: 43.08 kB / 0.5564 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3852, allocations: 2.281 kB / 0.5564 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.3865, allocations: 1.313 MB / 0.5576 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3865, allocations: 5.062 kB / 0.5577 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.3869, allocations: 305.1 kB / 0.5579 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.3869, allocations: 17.97 kB / 0.558 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.387, allocations: 6.188 kB / 0.558 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3871, allocations: 6.094 kB / 0.558 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.3871, allocations: 21.53 kB / 0.558 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.3871, allocations: 4.688 kB / 0.558 GB, free: 3.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.3873, allocations: 148.5 kB / 0.5581 GB, free: 3.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3873, allocations: 0 / 0.5581 GB, free: 3.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004016/0.3877, allocations: 53.53 kB / 0.5582 GB, free: 3.129 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000768/0.3884, allocations: 0.8335 MB / 0.559 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005553/0.389, allocations: 256.9 kB / 0.5593 GB, free: 2.078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.389, allocations: 4.062 kB / 0.5593 GB, free: 2.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.3893, allocations: 170.6 kB / 0.5594 GB, free: 1.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.3897, allocations: 31.98 kB / 0.5594 GB, free: 1.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/0.3929, allocations: 2.378 MB / 0.5618 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.3933, allocations: 0.7632 MB / 0.5625 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.3934, allocations: 45.59 kB / 0.5626 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.3935, allocations: 55.41 kB / 0.5626 GB, free: 14.39 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3935, allocations: 3.938 kB / 0.5626 GB, free: 14.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.4297, allocations: 4.115 MB / 0.5666 GB, free: 10.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.62, allocations: 10.55 kB / 0.5666 GB, free: 10.38 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.p[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.p[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.p[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.p[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.v[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.v[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.v[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.v[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.633156115996826]