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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 114.8 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 184.5 kB / 18.67 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1942/0.1942, allocations: 38.04 MB / 330.6 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.91 kB / 458.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3514, allocations: 58.05 MB / 0.5048 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005604/0.3571, allocations: 3.954 MB / 0.5086 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.3596, allocations: 1.825 MB / 0.5104 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003271/0.36, allocations: 5.781 kB / 0.5104 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.3612, allocations: 363.1 kB / 0.5108 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.3624, allocations: 402.8 kB / 0.5111 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.3629, allocations: 141.3 kB / 0.5113 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007915/0.3637, allocations: 496.2 kB / 0.5117 GB, free: 3.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004373/0.3642, allocations: 210.7 kB / 0.5119 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005172/0.3647, allocations: 227.2 kB / 0.5122 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004939/0.3652, allocations: 225.8 kB / 0.5124 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.3653, allocations: 25.33 kB / 0.5124 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009707/0.3663, allocations: 433.6 kB / 0.5128 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.3665, allocations: 161.2 kB / 0.513 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.3668, allocations: 156.3 kB / 0.5131 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.3681, allocations: 0.4911 MB / 0.5136 GB, free: 2.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3681, allocations: 0 / 0.5136 GB, free: 2.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3681, allocations: 0 / 0.5136 GB, free: 2.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.3681, allocations: 1.156 kB / 0.5136 GB, free: 2.312 MB / 382.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.00119/0.3693, allocations: 0.5934 MB / 0.5142 GB, free: 1.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3694, allocations: 9.906 kB / 0.5142 GB, free: 1.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.3708, allocations: 131 kB / 0.5143 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/0.3713, allocations: 307.3 kB / 0.5146 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.3713, allocations: 15.83 kB / 0.5146 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-05/0.3714, allocations: 29.05 kB / 0.5146 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007572/0.3722, allocations: 444.3 kB / 0.5151 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3722, allocations: 1.688 kB / 0.5151 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.3723, allocations: 14.11 kB / 0.5151 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/0.3723, allocations: 23.14 kB / 0.5151 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000745/0.3731, allocations: 432.1 kB / 0.5155 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002737/0.3758, allocations: 1.708 MB / 0.5172 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.3763, allocations: 294.1 kB / 0.5175 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.3766, allocations: 138.1 kB / 0.5176 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.3766, allocations: 7.562 kB / 0.5176 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.3767, allocations: 32.77 kB / 0.5176 GB, free: 15.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.314e-06/0.3767, allocations: 0 / 0.5176 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.002133/0.3788, allocations: 0.793 MB / 0.5184 GB, free: 15.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.3789, allocations: 80.86 kB / 0.5185 GB, free: 15.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.3792, allocations: 207.7 kB / 0.5187 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.3792, allocations: 31.38 kB / 0.5187 GB, free: 14.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.3793, allocations: 191.6 kB / 0.5189 GB, free: 14.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.417e-05/0.3794, allocations: 68.39 kB / 0.519 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.3796, allocations: 64.97 kB / 0.519 GB, free: 14.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3797, allocations: 335.6 kB / 0.5194 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.3799, allocations: 103 kB / 0.5194 GB, free: 14.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.3802, allocations: 208.1 kB / 0.5196 GB, free: 14.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.3806, allocations: 342.3 kB / 0.52 GB, free: 13.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3807, allocations: 1.281 kB / 0.52 GB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008571/0.3815, allocations: 425.5 kB / 0.5204 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3816, allocations: 7.953 kB / 0.5204 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3816, allocations: 3.25 kB / 0.5204 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004161/0.382, allocations: 90.53 kB / 0.5205 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.3823, allocations: 59.09 kB / 0.5205 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.3845, allocations: 2.002 MB / 0.5225 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.3847, allocations: 14.44 kB / 0.5225 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.3848, allocations: 14.09 kB / 0.5225 GB, free: 11.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.0002451/0.385, allocations: 180.1 kB / 0.5227 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.3851, allocations: 30.25 kB / 0.5227 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007954/0.3859, allocations: 378 kB / 0.5231 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3859, allocations: 2.75 kB / 0.5231 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3859, allocations: 1.375 kB / 0.5231 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3859, allocations: 2.781 kB / 0.5231 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.3875, allocations: 0.9104 MB / 0.524 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.3876, allocations: 1.406 kB / 0.524 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.3877, allocations: 45.73 kB / 0.524 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002737/0.388, allocations: 69.69 kB / 0.5241 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.3881, allocations: 3.25 kB / 0.5241 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.3901, allocations: 1.914 MB / 0.526 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.3901, allocations: 5.312 kB / 0.526 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007468/0.3909, allocations: 458.2 kB / 0.5264 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.391, allocations: 106.3 kB / 0.5265 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.391, allocations: 3.203 kB / 0.5265 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.3912, allocations: 10.19 kB / 0.5265 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.3913, allocations: 24.11 kB / 0.5265 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.3913, allocations: 6.188 kB / 0.5265 GB, free: 8.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.3915, allocations: 149.7 kB / 0.5267 GB, free: 8.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3915, allocations: 0 / 0.5267 GB, free: 8.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006043/0.3921, allocations: 86.78 kB / 0.5268 GB, free: 8.84 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.0001407/0.3923, allocations: 106.5 kB / 0.5269 GB, free: 8.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008764/0.3932, allocations: 428.6 kB / 0.5273 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3932, allocations: 5.438 kB / 0.5273 GB, free: 8.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004637/0.3936, allocations: 283.4 kB / 0.5276 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.3941, allocations: 42.52 kB / 0.5276 GB, free: 8.344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3954, allocations: 0.6493 MB / 0.5282 GB, free: 7.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.3959, allocations: 0.8015 MB / 0.529 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/0.396, allocations: 23.84 kB / 0.529 GB, free: 7.25 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.396, allocations: 0 / 0.529 GB, free: 7.25 MB / 398.1 MB Notification: Performance of Templates: time 0.009283/0.4053, allocations: 4.388 MB / 0.5333 GB, free: 5.855 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (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) 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) Reference file matches