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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 113 kB / 19.04 MB, free: 3.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 201.9 kB / 22.22 MB, free: 52 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1832/0.1832, allocations: 38.52 MB / 344.5 MB, free: 2.566 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 68.12 kB / 482.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3572, allocations: 61.25 MB / 0.5306 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004849/0.362, allocations: 4.058 MB / 0.5345 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.3645, allocations: 1.848 MB / 0.5363 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.3647, allocations: 5.5 kB / 0.5363 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.3659, allocations: 373.1 kB / 0.5367 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009314/0.3668, allocations: 412 kB / 0.5371 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.3673, allocations: 144.6 kB / 0.5372 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005723/0.3678, allocations: 498.4 kB / 0.5377 GB, free: 404 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.3682, allocations: 138.1 kB / 0.5378 GB, free: 320 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003777/0.3686, allocations: 223 kB / 0.538 GB, free: 188 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.3689, allocations: 244.9 kB / 0.5383 GB, free: 44 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.369, allocations: 19.44 kB / 0.5383 GB, free: 44 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009524/0.3699, allocations: 467.4 kB / 0.5387 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.3702, allocations: 159.5 kB / 0.5389 GB, free: 15.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.3704, allocations: 150.1 kB / 0.539 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008605/0.3712, allocations: 0.4942 MB / 0.5395 GB, free: 15.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3712, allocations: 0 / 0.5395 GB, free: 15.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.3712, allocations: 0 / 0.5395 GB, free: 15.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.3712, allocations: 0 / 0.5395 GB, free: 15.3 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.001068/0.3723, allocations: 0.6069 MB / 0.5401 GB, free: 14.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.3724, allocations: 10.41 kB / 0.5401 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/0.3737, allocations: 136.9 kB / 0.5403 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.3742, allocations: 295.2 kB / 0.5405 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.3742, allocations: 27.42 kB / 0.5406 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.688e-05/0.3743, allocations: 25.75 kB / 0.5406 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007726/0.3751, allocations: 445.3 kB / 0.541 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.3751, allocations: 1.156 kB / 0.541 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.3751, allocations: 10.66 kB / 0.541 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.3752, allocations: 30.89 kB / 0.541 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006932/0.3759, allocations: 425.3 kB / 0.5415 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.3784, allocations: 1.716 MB / 0.5431 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.3788, allocations: 275.2 kB / 0.5434 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.379, allocations: 118 kB / 0.5435 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.379, allocations: 6.422 kB / 0.5435 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.3791, allocations: 36.91 kB / 0.5435 GB, free: 12.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.525e-06/0.3791, allocations: 4 kB / 0.5435 GB, free: 12.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.00197/0.381, allocations: 0.7881 MB / 0.5443 GB, free: 11.56 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.3811, allocations: 79.27 kB / 0.5444 GB, free: 11.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.3813, allocations: 211.4 kB / 0.5446 GB, free: 11.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.3814, allocations: 29.7 kB / 0.5446 GB, free: 11.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.3815, allocations: 184.8 kB / 0.5448 GB, free: 11.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.381e-05/0.3816, allocations: 89.62 kB / 0.5449 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.3817, allocations: 59.41 kB / 0.5449 GB, free: 10.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3819, allocations: 332.4 kB / 0.5453 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.3821, allocations: 108.1 kB / 0.5454 GB, free: 10.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.3823, allocations: 207.4 kB / 0.5456 GB, free: 10.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.3828, allocations: 342.6 kB / 0.5459 GB, free: 10.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3828, allocations: 5.125 kB / 0.5459 GB, free: 10.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008784/0.3837, allocations: 433.3 kB / 0.5463 GB, free: 9.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3837, allocations: 7.094 kB / 0.5463 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3837, allocations: 3.375 kB / 0.5463 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000437/0.3842, allocations: 83.89 kB / 0.5464 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.3844, allocations: 57.53 kB / 0.5465 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/0.3871, allocations: 1.999 MB / 0.5484 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.3873, allocations: 19.33 kB / 0.5484 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.3873, allocations: 14.72 kB / 0.5484 GB, free: 8.023 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.0002589/0.3876, allocations: 172.5 kB / 0.5486 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.3876, allocations: 22.81 kB / 0.5486 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008198/0.3885, allocations: 390.9 kB / 0.549 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3885, allocations: 7.25 kB / 0.549 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.3885, allocations: 6.188 kB / 0.549 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3885, allocations: 0 / 0.549 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.3901, allocations: 0.9093 MB / 0.5499 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3901, allocations: 1.281 kB / 0.5499 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.3903, allocations: 36.02 kB / 0.5499 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002849/0.3905, allocations: 74.94 kB / 0.55 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.3906, allocations: 6.438 kB / 0.55 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/0.3931, allocations: 1.912 MB / 0.5519 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3931, allocations: 1.094 kB / 0.5519 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.3941, allocations: 467 kB / 0.5523 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.3943, allocations: 100.1 kB / 0.5524 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.3944, allocations: 7.125 kB / 0.5524 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.3946, allocations: 16.27 kB / 0.5524 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.3946, allocations: 21.25 kB / 0.5525 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.3947, allocations: 13.41 kB / 0.5525 GB, free: 4.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002598/0.3949, allocations: 145.2 kB / 0.5526 GB, free: 4.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3949, allocations: 1.219 kB / 0.5526 GB, free: 4.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007658/0.3957, allocations: 87.03 kB / 0.5527 GB, free: 4.469 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 (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.0001503/0.3958, allocations: 107.3 kB / 0.5528 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009568/0.3968, allocations: 419.4 kB / 0.5532 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3968, allocations: 0 / 0.5532 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004833/0.3973, allocations: 269.7 kB / 0.5535 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.3977, allocations: 41.77 kB / 0.5535 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.399, allocations: 0.6216 MB / 0.5541 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.3995, allocations: 0.8048 MB / 0.5549 GB, free: 2.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.3997, allocations: 49.92 kB / 0.5549 GB, free: 2.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/0.3998, allocations: 23.42 kB / 0.555 GB, free: 2.656 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3998, allocations: 0 / 0.555 GB, free: 2.656 MB / 398.1 MB Notification: Performance of Templates: time 0.008072/0.4078, allocations: 3.223 MB / 0.5581 GB, free: 15.44 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.990585646592081]