Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.001691/0.001691, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002103/0.002103, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1836/0.1836, allocations: 38.55 MB / 352.5 MB, free: 12.34 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.FixedLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest",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.002102/0.002102, allocations: 63.91 kB / 492.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3435, allocations: 62.47 MB / 0.5419 GB, free: 132 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005239/0.3487, allocations: 3.453 MB / 0.5453 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.351, allocations: 1.446 MB / 0.5467 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.3512, allocations: 9.344 kB / 0.5467 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008814/0.352, allocations: 251.5 kB / 0.547 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000641/0.3527, allocations: 279.6 kB / 0.5472 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.353, allocations: 131.5 kB / 0.5474 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.3535, allocations: 348.3 kB / 0.5477 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.3538, allocations: 118.8 kB / 0.5478 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.3541, allocations: 163.9 kB / 0.548 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.3544, allocations: 159.3 kB / 0.5481 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.3544, allocations: 18.69 kB / 0.5481 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004851/0.3549, allocations: 282.6 kB / 0.5484 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.355, allocations: 102 kB / 0.5485 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.3551, allocations: 94.89 kB / 0.5486 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005082/0.3556, allocations: 353.1 kB / 0.5489 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.3556, allocations: 0 / 0.5489 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3556, allocations: 1.031 kB / 0.5489 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3556, allocations: 0 / 0.5489 GB, free: 10.92 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.0007627/0.3564, allocations: 456 kB / 0.5494 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.3565, allocations: 22.58 kB / 0.5494 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.761e-05/0.3565, allocations: 53.14 kB / 0.5494 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.3578, allocations: 111.1 kB / 0.5495 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.3583, allocations: 213.8 kB / 0.5497 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.3583, allocations: 11.69 kB / 0.5498 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/0.3584, allocations: 16.16 kB / 0.5498 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/0.359, allocations: 334.5 kB / 0.5501 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.359, allocations: 9.125 kB / 0.5501 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.3591, allocations: 6.531 kB / 0.5501 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.771e-05/0.3591, allocations: 16.39 kB / 0.5501 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005594/0.3597, allocations: 306.9 kB / 0.5504 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.3617, allocations: 1.174 MB / 0.5516 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.362, allocations: 152.4 kB / 0.5517 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.3621, allocations: 97.27 kB / 0.5518 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.3621, allocations: 2.375 kB / 0.5518 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.3622, allocations: 36.88 kB / 0.5518 GB, free: 8.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.973e-06/0.3622, allocations: 1.188 kB / 0.5518 GB, free: 8.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001543/0.3637, allocations: 0.5868 MB / 0.5524 GB, free: 8.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/0.3638, allocations: 87.05 kB / 0.5525 GB, free: 8.176 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.364, allocations: 198 kB / 0.5527 GB, free: 8.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.3641, allocations: 31.05 kB / 0.5527 GB, free: 7.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.3642, allocations: 147.1 kB / 0.5528 GB, free: 7.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/0.3643, allocations: 71.48 kB / 0.5529 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-05/0.3643, allocations: 47.28 kB / 0.553 GB, free: 7.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3645, allocations: 332.3 kB / 0.5533 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3647, allocations: 77.73 kB / 0.5534 GB, free: 7.391 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.3649, allocations: 152.9 kB / 0.5535 GB, free: 7.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.3652, allocations: 258.8 kB / 0.5537 GB, free: 7.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3653, allocations: 1.094 kB / 0.5537 GB, free: 7.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006804/0.3659, allocations: 347 kB / 0.5541 GB, free: 6.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.366, allocations: 9.094 kB / 0.5541 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.366, allocations: 2.625 kB / 0.5541 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/0.3663, allocations: 100.5 kB / 0.5542 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.3665, allocations: 37.3 kB / 0.5542 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.3693, allocations: 2.051 MB / 0.5562 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.3695, allocations: 13.55 kB / 0.5562 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.3695, allocations: 8.906 kB / 0.5562 GB, free: 5.016 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.3697, allocations: 162.3 kB / 0.5564 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.3698, allocations: 18.91 kB / 0.5564 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000635/0.3704, allocations: 318.1 kB / 0.5567 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3704, allocations: 4 kB / 0.5567 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.3704, allocations: 4 kB / 0.5567 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3704, allocations: 0 / 0.5567 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.3716, allocations: 0.6948 MB / 0.5574 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.3717, allocations: 4 kB / 0.5574 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.3718, allocations: 27.92 kB / 0.5574 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003018/0.3721, allocations: 80.84 kB / 0.5575 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.3721, allocations: 8 kB / 0.5575 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.3742, allocations: 1.918 MB / 0.5594 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3742, allocations: 0 / 0.5594 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000636/0.3748, allocations: 410.5 kB / 0.5598 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.3749, allocations: 23.83 kB / 0.5598 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.3749, allocations: 8 kB / 0.5598 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.3751, allocations: 7.984 kB / 0.5598 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.3751, allocations: 11.98 kB / 0.5598 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.3752, allocations: 11.98 kB / 0.5598 GB, free: 1.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.3753, allocations: 147.2 kB / 0.56 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3753, allocations: 0 / 0.56 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004989/0.3758, allocations: 64 kB / 0.56 GB, free: 0.9219 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009915/0.3768, allocations: 0.9411 MB / 0.561 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000772/0.3776, allocations: 377.4 kB / 0.5613 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3776, allocations: 0 / 0.5613 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.378, allocations: 250.5 kB / 0.5616 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.3784, allocations: 39.92 kB / 0.5616 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.3819, allocations: 2.638 MB / 0.5642 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.3821, allocations: 156.4 kB / 0.5643 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.3822, allocations: 45.64 kB / 0.5644 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.3823, allocations: 59.42 kB / 0.5644 GB, free: 12.2 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3823, allocations: 0 / 0.5644 GB, free: 12.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/0.4177, allocations: 5.783 MB / 0.5701 GB, free: 6.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.38, allocations: 7.922 kB / 0.5701 GB, free: 6.539 MB / 414.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_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_FixedLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv failed! Error: Could not read variable line.p[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv. Warning: Get data of variable line.p[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv failed! Error: Could not read variable line.p[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv. Warning: Get data of variable line.p[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv failed! Error: Could not read variable line.v[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv. Warning: Get data of variable line.v[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.493791613727808]