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.001445/0.001445, allocations: 112.5 kB / 21.19 MB, free: 0.7773 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.001596/0.001596, allocations: 206.3 kB / 24.49 MB, free: 4.164 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.356/1.356, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.1752/0.1752, allocations: 38.52 MB / 353.2 MB, free: 12.53 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: 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: 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.001958/0.001958, allocations: 71.03 kB / 493.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3347, allocations: 62.46 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005448/0.3402, allocations: 4.103 MB / 0.5472 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002821/0.343, allocations: 1.884 MB / 0.5491 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.3432, allocations: 9.594 kB / 0.5491 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.3443, allocations: 382.1 kB / 0.5494 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009498/0.3452, allocations: 403.2 kB / 0.5498 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.3456, allocations: 141.3 kB / 0.55 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006219/0.3462, allocations: 497.2 kB / 0.5504 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003406/0.3466, allocations: 169.8 kB / 0.5506 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003897/0.347, allocations: 231.3 kB / 0.5508 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003631/0.3473, allocations: 248.4 kB / 0.5511 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.3474, allocations: 20.44 kB / 0.5511 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007916/0.3482, allocations: 455 kB / 0.5515 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.3483, allocations: 164.1 kB / 0.5517 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.3485, allocations: 154.3 kB / 0.5518 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007276/0.3492, allocations: 496.6 kB / 0.5523 GB, free: 9.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3493, allocations: 3.938 kB / 0.5523 GB, free: 9.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3493, allocations: 0 / 0.5523 GB, free: 9.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.3493, allocations: 5.406 kB / 0.5523 GB, free: 9.773 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.000846/0.3501, allocations: 0.5286 MB / 0.5528 GB, free: 9.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3501, allocations: 11.94 kB / 0.5528 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.3513, allocations: 134.8 kB / 0.5529 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.3518, allocations: 237.5 kB / 0.5532 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.3518, allocations: 26.84 kB / 0.5532 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.3519, allocations: 25.36 kB / 0.5532 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007866/0.3526, allocations: 438.9 kB / 0.5536 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.3527, allocations: 5.125 kB / 0.5536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.3527, allocations: 14.14 kB / 0.5537 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-05/0.3527, allocations: 26.45 kB / 0.5537 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.3534, allocations: 430.4 kB / 0.5541 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.3557, allocations: 1.644 MB / 0.5557 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.356, allocations: 194.3 kB / 0.5559 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.3562, allocations: 118.4 kB / 0.556 GB, free: 6.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.3563, allocations: 7.406 kB / 0.556 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/0.3563, allocations: 39.73 kB / 0.556 GB, free: 6.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.3563, allocations: 1.062 kB / 0.556 GB, free: 6.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001847/0.3582, allocations: 0.7174 MB / 0.5567 GB, free: 6.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.3582, allocations: 85.22 kB / 0.5568 GB, free: 6.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.3584, allocations: 212 kB / 0.557 GB, free: 6.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.3585, allocations: 33.64 kB / 0.5571 GB, free: 5.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3586, allocations: 188.4 kB / 0.5572 GB, free: 5.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.3587, allocations: 79.27 kB / 0.5573 GB, free: 5.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.3588, allocations: 61.92 kB / 0.5574 GB, free: 5.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3589, allocations: 330.8 kB / 0.5577 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.3591, allocations: 108.5 kB / 0.5578 GB, free: 5.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.3594, allocations: 209 kB / 0.558 GB, free: 4.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/0.3598, allocations: 342.5 kB / 0.5583 GB, free: 4.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3598, allocations: 0 / 0.5583 GB, free: 4.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007839/0.3606, allocations: 433.8 kB / 0.5587 GB, free: 4.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.3606, allocations: 4 kB / 0.5587 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3606, allocations: 4 kB / 0.5587 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003937/0.361, allocations: 88.78 kB / 0.5588 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.3613, allocations: 52.25 kB / 0.5589 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.3634, allocations: 1.906 MB / 0.5607 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.3636, allocations: 15.98 kB / 0.5608 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.3637, allocations: 16 kB / 0.5608 GB, free: 1.961 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.000221/0.3639, allocations: 173.7 kB / 0.5609 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.3639, allocations: 27.86 kB / 0.561 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007561/0.3647, allocations: 384 kB / 0.5613 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.3647, allocations: 4 kB / 0.5613 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.3647, allocations: 0 / 0.5613 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3647, allocations: 3.984 kB / 0.5613 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.3663, allocations: 0.878 MB / 0.5622 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3663, allocations: 3.938 kB / 0.5622 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.3664, allocations: 39.86 kB / 0.5622 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002633/0.3667, allocations: 76.84 kB / 0.5623 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.3667, allocations: 8 kB / 0.5623 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/0.3687, allocations: 1.805 MB / 0.5641 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3687, allocations: 0 / 0.5641 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000717/0.3694, allocations: 463.4 kB / 0.5645 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.3695, allocations: 19.86 kB / 0.5645 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.3695, allocations: 8 kB / 0.5645 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.3696, allocations: 15.98 kB / 0.5646 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.3697, allocations: 27.7 kB / 0.5646 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.3697, allocations: 8 kB / 0.5646 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.3699, allocations: 159.3 kB / 0.5647 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3699, allocations: 0 / 0.5647 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005228/0.3704, allocations: 84 kB / 0.5648 GB, free: 13.56 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.0001168/0.3705, allocations: 99.25 kB / 0.5649 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007693/0.3713, allocations: 412.7 kB / 0.5653 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3713, allocations: 0 / 0.5653 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.3717, allocations: 275.3 kB / 0.5656 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.3721, allocations: 35.98 kB / 0.5656 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.3733, allocations: 0.6635 MB / 0.5663 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.3737, allocations: 0.8023 MB / 0.567 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.3738, allocations: 23.47 kB / 0.5671 GB, free: 11.17 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3738, allocations: 4 kB / 0.5671 GB, free: 11.17 MB / 414.1 MB Notification: Performance of Templates: time 0.007223/0.381, allocations: 4.467 MB / 0.5714 GB, free: 6.695 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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.558656360954046]