Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.001436/0.001436, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00144/0.00144, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2023/0.2023, allocations: 38.53 MB / 352.5 MB, free: 12.56 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.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.002001/0.002001, allocations: 63.91 kB / 492.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3125, allocations: 62.48 MB / 0.542 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005561/0.3181, allocations: 4.092 MB / 0.546 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002914/0.321, allocations: 1.884 MB / 0.5478 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.3212, allocations: 9.938 kB / 0.5478 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.3223, allocations: 376.8 kB / 0.5482 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009513/0.3233, allocations: 416.2 kB / 0.5486 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.3237, allocations: 141.3 kB / 0.5487 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006088/0.3243, allocations: 494 kB / 0.5492 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.3246, allocations: 165.9 kB / 0.5494 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003777/0.325, allocations: 227.9 kB / 0.5496 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003584/0.3254, allocations: 247.4 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.3254, allocations: 25.34 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000789/0.3262, allocations: 467.2 kB / 0.5503 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.3264, allocations: 151.2 kB / 0.5504 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.3265, allocations: 155 kB / 0.5506 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007841/0.3273, allocations: 0.501 MB / 0.5511 GB, free: 9.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3273, allocations: 0 / 0.5511 GB, free: 9.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3273, allocations: 0 / 0.5511 GB, free: 9.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3273, allocations: 0 / 0.5511 GB, free: 9.613 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009946/0.3283, allocations: 0.5267 MB / 0.5516 GB, free: 9.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3284, allocations: 18.45 kB / 0.5516 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.138e-05/0.3285, allocations: 61.2 kB / 0.5517 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.3297, allocations: 138.2 kB / 0.5518 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000502/0.3302, allocations: 233.7 kB / 0.552 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.3302, allocations: 23.05 kB / 0.552 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.197e-05/0.3303, allocations: 25.66 kB / 0.5521 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000772/0.3311, allocations: 446 kB / 0.5525 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.3311, allocations: 1.062 kB / 0.5525 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.3311, allocations: 10.38 kB / 0.5525 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/0.3312, allocations: 22.23 kB / 0.5525 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006638/0.3318, allocations: 427.8 kB / 0.5529 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.3343, allocations: 1.654 MB / 0.5545 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.3347, allocations: 190.3 kB / 0.5547 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.3349, allocations: 118.7 kB / 0.5548 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.3349, allocations: 14.61 kB / 0.5549 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.335, allocations: 37.5 kB / 0.5549 GB, free: 6.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.335, allocations: 0 / 0.5549 GB, free: 6.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001881/0.3369, allocations: 0.716 MB / 0.5556 GB, free: 6.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.3369, allocations: 79.39 kB / 0.5557 GB, free: 6.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.3372, allocations: 215 kB / 0.5559 GB, free: 6.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.3372, allocations: 30.95 kB / 0.5559 GB, free: 5.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.3373, allocations: 190.8 kB / 0.5561 GB, free: 5.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.908e-05/0.3374, allocations: 86.39 kB / 0.5562 GB, free: 5.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3375, allocations: 56.45 kB / 0.5562 GB, free: 5.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3377, allocations: 338.8 kB / 0.5565 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.3378, allocations: 100.5 kB / 0.5566 GB, free: 5.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.3381, allocations: 216.9 kB / 0.5568 GB, free: 4.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.3386, allocations: 346.5 kB / 0.5572 GB, free: 4.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3386, allocations: 0 / 0.5572 GB, free: 4.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007999/0.3394, allocations: 426.1 kB / 0.5576 GB, free: 4.172 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3394, allocations: 8 kB / 0.5576 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.3394, allocations: 3.938 kB / 0.5576 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003931/0.3398, allocations: 88.78 kB / 0.5577 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.34, allocations: 59.97 kB / 0.5577 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.3423, allocations: 1.894 MB / 0.5596 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3424, allocations: 15.98 kB / 0.5596 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.3425, allocations: 12 kB / 0.5596 GB, free: 1.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002189/0.3427, allocations: 177.7 kB / 0.5598 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.3427, allocations: 19.86 kB / 0.5598 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008509/0.3436, allocations: 388.1 kB / 0.5602 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.3436, allocations: 4 kB / 0.5602 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3436, allocations: 0 / 0.5602 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3436, allocations: 0 / 0.5602 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.3452, allocations: 0.8781 MB / 0.561 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3452, allocations: 11.88 kB / 0.561 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.3454, allocations: 39.97 kB / 0.5611 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002632/0.3456, allocations: 68.98 kB / 0.5611 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.3456, allocations: 8.062 kB / 0.5611 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.3477, allocations: 1.801 MB / 0.5629 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.3477, allocations: 7.922 kB / 0.5629 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.3484, allocations: 467.4 kB / 0.5634 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.3485, allocations: 23.86 kB / 0.5634 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.3485, allocations: 0 / 0.5634 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.3486, allocations: 11.98 kB / 0.5634 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.3487, allocations: 31.77 kB / 0.5634 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.3487, allocations: 8 kB / 0.5634 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.3489, allocations: 147.2 kB / 0.5636 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3489, allocations: 0 / 0.5636 GB, free: 13.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005183/0.3494, allocations: 84 kB / 0.5637 GB, free: 13.59 MB / 414.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 (22): * Single equations (assignments): 20 * 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 {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/0.3505, allocations: 0.9888 MB / 0.5646 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008357/0.3513, allocations: 415.2 kB / 0.565 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.3513, allocations: 0 / 0.565 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004612/0.3518, allocations: 273.2 kB / 0.5653 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.3522, allocations: 50.62 kB / 0.5653 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/0.3563, allocations: 3.019 MB / 0.5683 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.3568, allocations: 0.7984 MB / 0.5691 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000145/0.3569, allocations: 58.03 kB / 0.5691 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.357, allocations: 83.41 kB / 0.5692 GB, free: 7.656 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.357, allocations: 0 / 0.5692 GB, free: 7.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/0.3931, allocations: 6.061 MB / 0.5751 GB, free: 1.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.76, allocations: 10.94 kB / 0.5751 GB, free: 1.719 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_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_InductiveLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv failed! Error: Could not read variable load.p[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv. Warning: Get data of variable load.p[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv failed! Error: Could not read variable load.p[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv. Warning: Get data of variable load.p[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv failed! Error: Could not read variable load.v[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv. Warning: Get data of variable load.v[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv failed! Error: Could not read variable load.v[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv. Warning: Get data of variable load.v[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.760601448004309]