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.001334/0.001334, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001496/0.001496, allocations: 212.3 kB / 23.73 MB, free: 4.16 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.614/1.614, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2131/0.2131, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.00224/0.00224, allocations: 63.89 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3412, allocations: 62.46 MB / 0.5419 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005645/0.3468, allocations: 3.896 MB / 0.5457 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.3497, allocations: 1.723 MB / 0.5474 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.3499, allocations: 10.44 kB / 0.5474 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.3511, allocations: 365.4 kB / 0.5478 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009906/0.352, allocations: 408.9 kB / 0.5482 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.3525, allocations: 137 kB / 0.5483 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005643/0.353, allocations: 493 kB / 0.5488 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.3534, allocations: 171.2 kB / 0.5489 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.3537, allocations: 231.1 kB / 0.5491 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.3541, allocations: 243.4 kB / 0.5494 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.3541, allocations: 20.97 kB / 0.5494 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006214/0.3548, allocations: 377.8 kB / 0.5498 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.3549, allocations: 154.9 kB / 0.5499 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.3551, allocations: 131 kB / 0.55 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.3558, allocations: 0.4969 MB / 0.5505 GB, free: 9.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3558, allocations: 3.938 kB / 0.5505 GB, free: 9.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3558, allocations: 0 / 0.5505 GB, free: 9.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3558, allocations: 0 / 0.5505 GB, free: 9.922 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.0008787/0.3567, allocations: 0.5254 MB / 0.551 GB, free: 9.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3568, allocations: 13.73 kB / 0.551 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.793e-05/0.3568, allocations: 65.09 kB / 0.5511 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.358, allocations: 130.2 kB / 0.5512 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.3585, allocations: 244.8 kB / 0.5515 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.3585, allocations: 23.31 kB / 0.5515 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.3586, allocations: 29.14 kB / 0.5515 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007064/0.3593, allocations: 444 kB / 0.5519 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3593, allocations: 5.016 kB / 0.5519 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.3593, allocations: 15.23 kB / 0.552 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.365e-05/0.3594, allocations: 26.05 kB / 0.552 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006777/0.36, allocations: 427.1 kB / 0.5524 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.3623, allocations: 1.475 MB / 0.5538 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.3627, allocations: 190.1 kB / 0.554 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.3628, allocations: 118.9 kB / 0.5541 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.3629, allocations: 6.344 kB / 0.5541 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.3629, allocations: 33.94 kB / 0.5542 GB, free: 7.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.3629, allocations: 0 / 0.5542 GB, free: 7.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001816/0.3647, allocations: 0.7198 MB / 0.5549 GB, free: 6.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.3648, allocations: 84.39 kB / 0.555 GB, free: 6.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.365, allocations: 226.1 kB / 0.5552 GB, free: 6.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.365, allocations: 29.7 kB / 0.5552 GB, free: 6.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.3652, allocations: 188.3 kB / 0.5554 GB, free: 6.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.3652, allocations: 79.33 kB / 0.5554 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.3653, allocations: 65.92 kB / 0.5555 GB, free: 6.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3655, allocations: 326.8 kB / 0.5558 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.3657, allocations: 108.5 kB / 0.5559 GB, free: 5.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.3659, allocations: 209 kB / 0.5561 GB, free: 5.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.3664, allocations: 342.8 kB / 0.5565 GB, free: 5.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3664, allocations: 8 kB / 0.5565 GB, free: 5.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007837/0.3672, allocations: 425.7 kB / 0.5569 GB, free: 4.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3672, allocations: 8 kB / 0.5569 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.3672, allocations: 4.406 kB / 0.5569 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/0.3676, allocations: 92.78 kB / 0.557 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.3678, allocations: 51.91 kB / 0.557 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.37, allocations: 1.887 MB / 0.5589 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.3702, allocations: 15.98 kB / 0.5589 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.3702, allocations: 12 kB / 0.5589 GB, free: 2.414 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.000205/0.3704, allocations: 177.6 kB / 0.5591 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.3705, allocations: 23.83 kB / 0.5591 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007592/0.3712, allocations: 384.8 kB / 0.5594 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3712, allocations: 7.984 kB / 0.5595 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.3712, allocations: 0 / 0.5595 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.3712, allocations: 4 kB / 0.5595 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.3728, allocations: 0.8073 MB / 0.5602 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3728, allocations: 8 kB / 0.5603 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.3729, allocations: 35.92 kB / 0.5603 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002598/0.3732, allocations: 72.78 kB / 0.5604 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.3732, allocations: 4 kB / 0.5604 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.3752, allocations: 1.797 MB / 0.5621 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3752, allocations: 0 / 0.5621 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00076/0.376, allocations: 459.3 kB / 0.5626 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.376, allocations: 19.86 kB / 0.5626 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.3761, allocations: 12.06 kB / 0.5626 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.3762, allocations: 11.98 kB / 0.5626 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.3763, allocations: 35.64 kB / 0.5626 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.3763, allocations: 7.984 kB / 0.5626 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.3764, allocations: 147.2 kB / 0.5628 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3764, allocations: 0 / 0.5628 GB, free: 14.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005126/0.3769, allocations: 80 kB / 0.5629 GB, free: 14.12 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.001049/0.378, allocations: 0.9965 MB / 0.5638 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007718/0.3788, allocations: 418.8 kB / 0.5642 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3788, allocations: 0.8125 kB / 0.5642 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.3792, allocations: 266.6 kB / 0.5645 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.3796, allocations: 33.88 kB / 0.5645 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.384, allocations: 3.025 MB / 0.5675 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.3843, allocations: 201.6 kB / 0.5677 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.3845, allocations: 53.94 kB / 0.5677 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.3846, allocations: 91.39 kB / 0.5678 GB, free: 8.801 MB / 414.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3846, allocations: 0 / 0.5678 GB, free: 8.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04539/0.43, allocations: 6.389 MB / 0.574 GB, free: 2.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.23, allocations: 17.62 kB / 0.5741 GB, free: 2.539 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: 15.374078397639096]