Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 110.9 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.001133/0.001133, allocations: 190.6 kB / 18.68 MB, free: 4.41 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.324/1.324, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1769/0.1769, allocations: 38.03 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2915, allocations: 58.05 MB / 0.5048 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.006396/0.2979, allocations: 7.554 MB / 0.5122 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004601/0.3025, allocations: 4.16 MB / 0.5162 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/0.3029, allocations: 13 kB / 0.5162 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002482/0.3054, allocations: 1.035 MB / 0.5172 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002459/0.3079, allocations: 1.112 MB / 0.5183 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008667/0.3087, allocations: 296.6 kB / 0.5186 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.3104, allocations: 1.374 MB / 0.52 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008318/0.3113, allocations: 468.2 kB / 0.5204 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008991/0.3122, allocations: 0.5692 MB / 0.521 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008219/0.313, allocations: 0.5796 MB / 0.5215 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.438e-05/0.3131, allocations: 35.62 kB / 0.5216 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.3151, allocations: 0.9822 MB / 0.5225 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003961/0.3155, allocations: 277.4 kB / 0.5228 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003158/0.3158, allocations: 247.3 kB / 0.523 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.317, allocations: 0.8172 MB / 0.5238 GB, free: 11.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.317, allocations: 0 / 0.5238 GB, free: 11.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3171, allocations: 0 / 0.5238 GB, free: 11.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3171, allocations: 1.344 kB / 0.5238 GB, free: 11.96 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001165/0.3182, allocations: 0.7978 MB / 0.5246 GB, free: 11.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3183, allocations: 9.484 kB / 0.5246 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.3199, allocations: 136.3 kB / 0.5247 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.3204, allocations: 335 kB / 0.5251 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.3204, allocations: 28.98 kB / 0.5251 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.3205, allocations: 38.27 kB / 0.5251 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008474/0.3213, allocations: 0.5898 MB / 0.5257 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.3213, allocations: 5.312 kB / 0.5257 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.3214, allocations: 22.23 kB / 0.5257 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.288e-05/0.3215, allocations: 36.62 kB / 0.5258 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005882/0.3221, allocations: 380.1 kB / 0.5261 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.3245, allocations: 2.589 MB / 0.5286 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007241/0.3252, allocations: 437.1 kB / 0.5291 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.3255, allocations: 204.2 kB / 0.5293 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.3256, allocations: 11.89 kB / 0.5293 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.3256, allocations: 42.5 kB / 0.5293 GB, free: 8.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/0.3256, allocations: 0 / 0.5293 GB, free: 8.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001769/0.3274, allocations: 0.7626 MB / 0.5301 GB, free: 7.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.3275, allocations: 106.5 kB / 0.5302 GB, free: 7.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.3278, allocations: 320.9 kB / 0.5305 GB, free: 7.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.3278, allocations: 34.8 kB / 0.5305 GB, free: 7.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.328, allocations: 255.6 kB / 0.5307 GB, free: 7.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.3281, allocations: 118.8 kB / 0.5309 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3283, allocations: 80.34 kB / 0.5309 GB, free: 6.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.3284, allocations: 351.3 kB / 0.5313 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.3286, allocations: 129.3 kB / 0.5314 GB, free: 6.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.3289, allocations: 274.4 kB / 0.5316 GB, free: 6.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.3294, allocations: 460.5 kB / 0.5321 GB, free: 6.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3294, allocations: 1 kB / 0.5321 GB, free: 6.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008621/0.3303, allocations: 0.5553 MB / 0.5326 GB, free: 5.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3303, allocations: 7.703 kB / 0.5326 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3304, allocations: 12.97 kB / 0.5327 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003225/0.3307, allocations: 123.9 kB / 0.5328 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.3309, allocations: 80 kB / 0.5328 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/0.3335, allocations: 2.552 MB / 0.5353 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.3338, allocations: 48.5 kB / 0.5354 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.3338, allocations: 19.16 kB / 0.5354 GB, free: 3.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002065/0.334, allocations: 199.2 kB / 0.5356 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.962e-05/0.3341, allocations: 36.97 kB / 0.5356 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.3342, allocations: 49.89 kB / 0.5357 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3342, allocations: 4.984 kB / 0.5357 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3342, allocations: 5.125 kB / 0.5357 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.27e-05/0.3343, allocations: 113 kB / 0.5358 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.3344, allocations: 10.23 kB / 0.5358 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.3346, allocations: 6.406 kB / 0.5358 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.3346, allocations: 28.73 kB / 0.5358 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009589/0.3356, allocations: 0.7093 MB / 0.5365 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007549/0.3364, allocations: 0.8118 MB / 0.5373 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001836/0.3366, allocations: 137.7 kB / 0.5375 GB, free: 2.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002248/0.3368, allocations: 224.2 kB / 0.5377 GB, free: 2.047 MB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.3368, allocations: 0 / 0.5377 GB, free: 2.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.3388, allocations: 0.8099 MB / 0.5385 GB, free: 1.551 MB / 398.1 MB Notification: Performance of SimCode: time 0.001397/0.3402, allocations: 1.279 MB / 0.5397 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of Templates: time 0.01245/0.3526, allocations: 7.069 MB / 0.5466 GB, free: 12.93 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches