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.001353/0.001353, 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.001648/0.001648, allocations: 212.4 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.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1844/0.1844, allocations: 38.56 MB / 352.5 MB, free: 12.29 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.002411/0.002411, allocations: 67.91 kB / 493 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3938, allocations: 62.47 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.00619/0.4, allocations: 3.892 MB / 0.5462 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003051/0.403, allocations: 1.715 MB / 0.5479 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.4032, allocations: 10.62 kB / 0.5479 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.4044, allocations: 366.1 kB / 0.5483 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.4054, allocations: 421.2 kB / 0.5487 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.4058, allocations: 135.6 kB / 0.5488 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006324/0.4065, allocations: 0.4901 MB / 0.5493 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.4068, allocations: 157 kB / 0.5494 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.4072, allocations: 235 kB / 0.5496 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004122/0.4077, allocations: 236.7 kB / 0.5499 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.4077, allocations: 20.44 kB / 0.5499 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007219/0.4084, allocations: 381.1 kB / 0.5502 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.4086, allocations: 159.6 kB / 0.5504 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.4088, allocations: 127 kB / 0.5505 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007361/0.4095, allocations: 0.4964 MB / 0.551 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4095, allocations: 0 / 0.551 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4095, allocations: 0 / 0.551 GB, free: 10.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.4095, allocations: 1.469 kB / 0.551 GB, free: 10.09 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.0009332/0.4104, allocations: 0.5283 MB / 0.5515 GB, free: 9.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4105, allocations: 13.36 kB / 0.5515 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.4118, allocations: 134 kB / 0.5517 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.4123, allocations: 242.2 kB / 0.5519 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.4123, allocations: 22.97 kB / 0.5519 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.49e-05/0.4124, allocations: 26.34 kB / 0.5519 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007312/0.4131, allocations: 439.4 kB / 0.5524 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.4131, allocations: 5.078 kB / 0.5524 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.4131, allocations: 19.11 kB / 0.5524 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.455e-05/0.4132, allocations: 22.75 kB / 0.5524 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006929/0.4139, allocations: 422.8 kB / 0.5528 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002711/0.4166, allocations: 1.429 MB / 0.5542 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.4171, allocations: 195.4 kB / 0.5544 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.4173, allocations: 123 kB / 0.5545 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.4173, allocations: 2.188 kB / 0.5545 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/0.4174, allocations: 46.14 kB / 0.5546 GB, free: 7.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.205e-06/0.4174, allocations: 0 / 0.5546 GB, free: 7.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.002193/0.4196, allocations: 0.7109 MB / 0.5552 GB, free: 6.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.4197, allocations: 81.11 kB / 0.5553 GB, free: 6.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.4199, allocations: 207.7 kB / 0.5555 GB, free: 6.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.42, allocations: 33.7 kB / 0.5556 GB, free: 6.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.4201, allocations: 184.5 kB / 0.5557 GB, free: 6.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.209e-05/0.4202, allocations: 87.27 kB / 0.5558 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.4203, allocations: 65.92 kB / 0.5559 GB, free: 6.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.4204, allocations: 326.8 kB / 0.5562 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.4206, allocations: 104.5 kB / 0.5563 GB, free: 5.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.4209, allocations: 209 kB / 0.5565 GB, free: 5.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.4214, allocations: 350.4 kB / 0.5568 GB, free: 5.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4214, allocations: 0 / 0.5568 GB, free: 5.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007929/0.4221, allocations: 429.8 kB / 0.5572 GB, free: 4.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4222, allocations: 7.938 kB / 0.5572 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.4222, allocations: 4 kB / 0.5572 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004067/0.4226, allocations: 85.2 kB / 0.5573 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.4228, allocations: 63.89 kB / 0.5574 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/0.4251, allocations: 1.852 MB / 0.5592 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.4253, allocations: 19.94 kB / 0.5592 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.4254, allocations: 19.98 kB / 0.5592 GB, free: 2.543 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.0002258/0.4256, allocations: 177.8 kB / 0.5594 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.4256, allocations: 23.83 kB / 0.5594 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007904/0.4264, allocations: 376.2 kB / 0.5598 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.4264, allocations: 4 kB / 0.5598 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4265, allocations: 3.938 kB / 0.5598 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4265, allocations: 4 kB / 0.5598 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.428, allocations: 0.7609 MB / 0.5605 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.428, allocations: 0 / 0.5605 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.4282, allocations: 35.92 kB / 0.5606 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003237/0.4285, allocations: 76.84 kB / 0.5606 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.4285, allocations: 4 kB / 0.5606 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/0.4308, allocations: 1.77 MB / 0.5624 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4308, allocations: 0 / 0.5624 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007546/0.4315, allocations: 475.2 kB / 0.5628 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.4316, allocations: 19.86 kB / 0.5628 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.4316, allocations: 4 kB / 0.5629 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.4318, allocations: 11.98 kB / 0.5629 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.4318, allocations: 19.83 kB / 0.5629 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.4318, allocations: 12 kB / 0.5629 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.432, allocations: 149.6 kB / 0.563 GB, free: 14.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.432, allocations: 0 / 0.563 GB, free: 14.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005638/0.4325, allocations: 80 kB / 0.5631 GB, free: 14.36 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.0001331/0.4327, allocations: 104.2 kB / 0.5632 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008286/0.4335, allocations: 425.6 kB / 0.5636 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.4335, allocations: 0 / 0.5636 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005186/0.434, allocations: 270.5 kB / 0.5639 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.4345, allocations: 37.83 kB / 0.5639 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.4356, allocations: 0.6284 MB / 0.5645 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.4359, allocations: 197.6 kB / 0.5647 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.4361, allocations: 49.94 kB / 0.5648 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.4361, allocations: 23.44 kB / 0.5648 GB, free: 12.57 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4361, allocations: 4 kB / 0.5648 GB, free: 12.57 MB / 414.1 MB Notification: Performance of Templates: time 0.008107/0.4442, allocations: 3.326 MB / 0.568 GB, free: 9.27 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: 5.44426254555583]