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.001166/0.001166, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.001161/0.001161, allocations: 187 kB / 18.68 MB, free: 4.406 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.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1706/0.1706, allocations: 38.04 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3084, allocations: 58.06 MB / 0.5048 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004112/0.3126, allocations: 3.947 MB / 0.5086 GB, free: 5.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3145, allocations: 1.825 MB / 0.5104 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.3146, allocations: 6.938 kB / 0.5104 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008723/0.3155, allocations: 362.2 kB / 0.5108 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006547/0.3162, allocations: 404.7 kB / 0.5111 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.3165, allocations: 140.7 kB / 0.5113 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004689/0.3169, allocations: 0.4918 MB / 0.5118 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.3173, allocations: 206.2 kB / 0.512 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.3176, allocations: 219.1 kB / 0.5122 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.3178, allocations: 227.5 kB / 0.5124 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.3179, allocations: 24.22 kB / 0.5124 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006325/0.3185, allocations: 446 kB / 0.5128 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.3187, allocations: 160.9 kB / 0.513 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.3188, allocations: 148.2 kB / 0.5131 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006105/0.3195, allocations: 0.4903 MB / 0.5136 GB, free: 2.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3195, allocations: 1.094 kB / 0.5136 GB, free: 2.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3195, allocations: 0 / 0.5136 GB, free: 2.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3195, allocations: 0 / 0.5136 GB, free: 2.328 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.0007013/0.3202, allocations: 0.5976 MB / 0.5142 GB, free: 1.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3202, allocations: 13.91 kB / 0.5142 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.3214, allocations: 130.6 kB / 0.5143 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.3217, allocations: 299.1 kB / 0.5146 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3218, allocations: 19.88 kB / 0.5146 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.3218, allocations: 33.34 kB / 0.5147 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.3224, allocations: 440.8 kB / 0.5151 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3224, allocations: 1.344 kB / 0.5151 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.3225, allocations: 10.41 kB / 0.5151 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.3225, allocations: 30.41 kB / 0.5151 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005921/0.3231, allocations: 424.8 kB / 0.5155 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.3251, allocations: 1.712 MB / 0.5172 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.3255, allocations: 289.9 kB / 0.5175 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.3258, allocations: 134.2 kB / 0.5176 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.3258, allocations: 3.172 kB / 0.5176 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.3258, allocations: 40.75 kB / 0.5176 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.654e-06/0.3258, allocations: 0 / 0.5176 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001922/0.3278, allocations: 0.7858 MB / 0.5184 GB, free: 15.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.3278, allocations: 79.05 kB / 0.5185 GB, free: 15.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.328, allocations: 208.6 kB / 0.5187 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.328, allocations: 30.58 kB / 0.5187 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.3282, allocations: 193.1 kB / 0.5189 GB, free: 14.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.577e-05/0.3282, allocations: 76.42 kB / 0.519 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/0.3283, allocations: 59.83 kB / 0.519 GB, free: 14.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3285, allocations: 331.2 kB / 0.5193 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.3286, allocations: 112.1 kB / 0.5195 GB, free: 14.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.3289, allocations: 208.7 kB / 0.5197 GB, free: 14.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.3293, allocations: 340.4 kB / 0.52 GB, free: 13.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3293, allocations: 1.062 kB / 0.52 GB, free: 13.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007543/0.3301, allocations: 427.5 kB / 0.5204 GB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3301, allocations: 14.78 kB / 0.5204 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3301, allocations: 6.625 kB / 0.5204 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003713/0.3305, allocations: 80 kB / 0.5205 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.3307, allocations: 61.66 kB / 0.5205 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.3328, allocations: 1.999 MB / 0.5225 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.333, allocations: 19.97 kB / 0.5225 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.333, allocations: 11.77 kB / 0.5225 GB, free: 11.99 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.0001718/0.3332, allocations: 176.6 kB / 0.5227 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.3332, allocations: 30.09 kB / 0.5227 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006968/0.3339, allocations: 381.8 kB / 0.5231 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.334, allocations: 0.8906 kB / 0.5231 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.334, allocations: 5 kB / 0.5231 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.334, allocations: 97.03 kB / 0.5232 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.3341, allocations: 7.047 kB / 0.5232 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.3342, allocations: 13.16 kB / 0.5232 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.3343, allocations: 22.44 kB / 0.5232 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007905/0.3351, allocations: 0.5128 MB / 0.5237 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006006/0.3357, allocations: 0.6171 MB / 0.5243 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000153/0.3359, allocations: 109.7 kB / 0.5244 GB, free: 10.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.336, allocations: 147.7 kB / 0.5246 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Backend: time 4.41e-07/0.336, allocations: 0 / 0.5246 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.3375, allocations: 0.6037 MB / 0.5252 GB, free: 10.45 MB / 398.1 MB Notification: Performance of SimCode: time 0.001069/0.3386, allocations: 1.009 MB / 0.5261 GB, free: 9.66 MB / 398.1 MB Notification: Performance of Templates: time 0.00864/0.3473, allocations: 4.794 MB / 0.5308 GB, free: 8.227 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