Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.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.GeneratorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.p.1.|generator.p.2.|generator.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.p.1.|generator.p.2.|generator.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 106.3 kB / 17.74 MB, free: 5.359 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.001075/0.001075, allocations: 185.4 kB / 18.67 MB, free: 4.438 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.329/1.329, 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.1755/0.1755, allocations: 38.04 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 59.89 kB / 458.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3206, allocations: 58.05 MB / 0.5048 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.004702/0.3253, allocations: 3.307 MB / 0.508 GB, free: 5.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.327, allocations: 1.224 MB / 0.5092 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.3271, allocations: 14.19 kB / 0.5092 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.3277, allocations: 161 kB / 0.5094 GB, free: 4.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.3281, allocations: 176 kB / 0.5095 GB, free: 4.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.3284, allocations: 133.2 kB / 0.5096 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.3287, allocations: 290 kB / 0.5099 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.329, allocations: 128.5 kB / 0.51 GB, free: 4.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.3292, allocations: 127.1 kB / 0.5102 GB, free: 4.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.3294, allocations: 107 kB / 0.5103 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.3294, allocations: 13.38 kB / 0.5103 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.3297, allocations: 225 kB / 0.5105 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.883e-05/0.3298, allocations: 69.56 kB / 0.5106 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.792e-05/0.3299, allocations: 95.28 kB / 0.5107 GB, free: 3.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.3303, allocations: 292.8 kB / 0.5109 GB, free: 3.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3303, allocations: 0.6094 kB / 0.5109 GB, free: 3.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3303, allocations: 0 / 0.5109 GB, free: 3.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.3304, allocations: 0 / 0.5109 GB, free: 3.828 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000561/0.3309, allocations: 0.505 MB / 0.5114 GB, free: 3.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.331, allocations: 8.719 kB / 0.5114 GB, free: 3.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006655/0.3316, allocations: 79.95 kB / 0.5115 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.3319, allocations: 265 kB / 0.5118 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.3319, allocations: 11.45 kB / 0.5118 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.332, allocations: 16.73 kB / 0.5118 GB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.3324, allocations: 274.3 kB / 0.5121 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3324, allocations: 1.094 kB / 0.5121 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.3324, allocations: 14.52 kB / 0.5121 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.3325, allocations: 12.28 kB / 0.5121 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.3328, allocations: 224.2 kB / 0.5123 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.3342, allocations: 1.201 MB / 0.5135 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.3344, allocations: 135.5 kB / 0.5136 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.891e-05/0.3345, allocations: 50.58 kB / 0.5136 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.3345, allocations: 1.531 kB / 0.5136 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.3345, allocations: 40.64 kB / 0.5137 GB, free: 1.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.3345, allocations: 0 / 0.5137 GB, free: 1.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003248/0.3348, allocations: 167.1 kB / 0.5138 GB, free: 1.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.3349, allocations: 78.89 kB / 0.5139 GB, free: 1.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.335, allocations: 210.7 kB / 0.5141 GB, free: 1.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.3351, allocations: 25.7 kB / 0.5141 GB, free: 1.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.3351, allocations: 155 kB / 0.5143 GB, free: 1.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.3352, allocations: 46.14 kB / 0.5143 GB, free: 1.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.3352, allocations: 42.7 kB / 0.5144 GB, free: 1.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.635e-05/0.3353, allocations: 329.5 kB / 0.5147 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.3354, allocations: 45.69 kB / 0.5147 GB, free: 0.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.3355, allocations: 118 kB / 0.5148 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.3357, allocations: 181.5 kB / 0.515 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3357, allocations: 1.281 kB / 0.515 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002872/0.336, allocations: 211.9 kB / 0.5152 GB, free: 476 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.336, allocations: 14.47 kB / 0.5152 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.336, allocations: 3.312 kB / 0.5152 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3361, allocations: 4.281 kB / 0.5152 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.3363, allocations: 53.56 kB / 0.5153 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000949/0.3373, allocations: 1.421 MB / 0.5167 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.3374, allocations: 14.64 kB / 0.5167 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.3374, allocations: 12.39 kB / 0.5167 GB, free: 14.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.3376, allocations: 141.7 kB / 0.5168 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.3376, allocations: 24.94 kB / 0.5169 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.3378, allocations: 143.7 kB / 0.517 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3379, allocations: 5.688 kB / 0.517 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3379, allocations: 0 / 0.517 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.3379, allocations: 91.92 kB / 0.5171 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.338, allocations: 6.344 kB / 0.5171 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.3381, allocations: 0.9688 kB / 0.5171 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.3381, allocations: 11.89 kB / 0.5171 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000498/0.3386, allocations: 332 kB / 0.5174 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000389/0.339, allocations: 435.2 kB / 0.5179 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.535e-05/0.3391, allocations: 42.22 kB / 0.5179 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.3393, allocations: 151.1 kB / 0.518 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Backend: time 3.31e-07/0.3393, allocations: 0 / 0.518 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009034/0.3402, allocations: 296.7 kB / 0.5183 GB, free: 13.83 MB / 398.1 MB Notification: Performance of SimCode: time 0.001223/0.3414, allocations: 0.9433 MB / 0.5192 GB, free: 13.03 MB / 398.1 MB Notification: Performance of Templates: time 0.007182/0.3486, allocations: 2.519 MB / 0.5217 GB, free: 12.75 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.GeneratorTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches