Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001942/0.001951, allocations: 108.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.002279/0.002279, allocations: 191 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.177/3.177, 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.433/0.433, allocations: 38.05 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 63.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8663/0.8685, allocations: 58.06 MB / 0.5048 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.01032/0.8789, allocations: 3.47 MB / 0.5081 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004707/0.8837, allocations: 1.521 MB / 0.5096 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004415/0.8842, allocations: 9.531 kB / 0.5096 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.8858, allocations: 264.3 kB / 0.5099 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.8876, allocations: 281.1 kB / 0.5102 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008992/0.8885, allocations: 120 kB / 0.5103 GB, free: 3.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.89, allocations: 354.9 kB / 0.5106 GB, free: 3.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008296/0.8908, allocations: 143.3 kB / 0.5108 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007576/0.8916, allocations: 157 kB / 0.5109 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000703/0.8924, allocations: 149.1 kB / 0.511 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.69e-05/0.8925, allocations: 14.28 kB / 0.5111 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0179/0.9104, allocations: 325.8 kB / 0.5114 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000626/0.9111, allocations: 97.94 kB / 0.5115 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006498/0.9118, allocations: 116.7 kB / 0.5116 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.9141, allocations: 356.1 kB / 0.5119 GB, free: 3.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.9141, allocations: 0 / 0.5119 GB, free: 3.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.9141, allocations: 1.281 kB / 0.5119 GB, free: 3.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.966e-05/0.9142, allocations: 0 / 0.5119 GB, free: 3.227 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001738/0.9159, allocations: 0.5126 MB / 0.5124 GB, free: 2.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.947e-05/0.916, allocations: 10.56 kB / 0.5124 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.918, allocations: 102.1 kB / 0.5125 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007105/0.9188, allocations: 271.3 kB / 0.5128 GB, free: 2.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.9188, allocations: 12.47 kB / 0.5128 GB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.9189, allocations: 16.38 kB / 0.5128 GB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009627/0.9199, allocations: 336.2 kB / 0.5131 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.9199, allocations: 4.906 kB / 0.5131 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.92, allocations: 5.375 kB / 0.5131 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-05/0.9201, allocations: 20.86 kB / 0.5132 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009504/0.921, allocations: 317.1 kB / 0.5135 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002737/0.9238, allocations: 1.248 MB / 0.5147 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.9242, allocations: 169.4 kB / 0.5148 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.9245, allocations: 107.4 kB / 0.5149 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.341e-05/0.9246, allocations: 6.5 kB / 0.515 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.9246, allocations: 32.69 kB / 0.515 GB, free: 1.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 3.867e-06/0.9246, allocations: 3.938 kB / 0.515 GB, free: 1.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.004144/0.9288, allocations: 0.6609 MB / 0.5156 GB, free: 0.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.9289, allocations: 84.28 kB / 0.5157 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.9293, allocations: 194 kB / 0.5159 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.9293, allocations: 27.08 kB / 0.5159 GB, free: 500 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.9295, allocations: 156 kB / 0.5161 GB, free: 356 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.905e-05/0.9296, allocations: 61.17 kB / 0.5161 GB, free: 308 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.9298, allocations: 46.66 kB / 0.5162 GB, free: 276 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.93, allocations: 328.7 kB / 0.5165 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.9303, allocations: 78.86 kB / 0.5166 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.9306, allocations: 159.1 kB / 0.5167 GB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/0.9314, allocations: 261.8 kB / 0.517 GB, free: 15.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.9314, allocations: 1.438 kB / 0.517 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001379/0.9328, allocations: 346.5 kB / 0.5173 GB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.9328, allocations: 6.281 kB / 0.5173 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.9329, allocations: 3.281 kB / 0.5173 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006782/0.9335, allocations: 97.12 kB / 0.5174 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.9339, allocations: 36.64 kB / 0.5174 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004615/0.9385, allocations: 2.17 MB / 0.5196 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.9389, allocations: 12.78 kB / 0.5196 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.939, allocations: 16.7 kB / 0.5196 GB, free: 13.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003238/0.9393, allocations: 156.2 kB / 0.5197 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.692e-05/0.9394, allocations: 19.62 kB / 0.5197 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.9405, allocations: 325.8 kB / 0.5201 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.9405, allocations: 3.016 kB / 0.5201 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.9405, allocations: 3.938 kB / 0.5201 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.9405, allocations: 2.047 kB / 0.5201 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.9429, allocations: 0.7422 MB / 0.5208 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.943, allocations: 1.031 kB / 0.5208 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.9432, allocations: 32.47 kB / 0.5208 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005122/0.9437, allocations: 79.91 kB / 0.5209 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.9437, allocations: 6.188 kB / 0.5209 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00354/0.9473, allocations: 2.035 MB / 0.5229 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.9473, allocations: 1.062 kB / 0.5229 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.9488, allocations: 408.6 kB / 0.5233 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.9491, allocations: 103.8 kB / 0.5234 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.9492, allocations: 7.203 kB / 0.5234 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.9494, allocations: 13.86 kB / 0.5234 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.9496, allocations: 16.55 kB / 0.5234 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.9496, allocations: 9.234 kB / 0.5234 GB, free: 10.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002844/0.9499, allocations: 140 kB / 0.5236 GB, free: 10.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.61e-07/0.9499, allocations: 0 / 0.5236 GB, free: 10.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001019/0.951, allocations: 67.84 kB / 0.5236 GB, free: 10.63 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 (16): * Single equations (assignments): 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01748/0.9685, allocations: 94.83 kB / 0.5237 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002287/0.9709, allocations: 386 kB / 0.5241 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/0.971, allocations: 0 / 0.5241 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009282/0.9719, allocations: 270.8 kB / 0.5243 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008551/0.9728, allocations: 43.31 kB / 0.5244 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.9749, allocations: 0.5174 MB / 0.5249 GB, free: 9.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/0.9758, allocations: 0.7667 MB / 0.5256 GB, free: 9.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.9759, allocations: 20.55 kB / 0.5257 GB, free: 9.121 MB / 398.1 MB Notification: Performance of SimCode: time 1.913e-06/0.9759, allocations: 0 / 0.5257 GB, free: 9.121 MB / 398.1 MB Notification: Performance of Templates: time 0.01989/0.9958, allocations: 3.55 MB / 0.5291 GB, free: 8.613 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,line.i[1],line.i[2],line.p[1],line.p[2],line.v[1],line.v[2] Variables in the result:line.i[1],line.i[2],line.p[1],line.p[2],line.v[1],line.v[2],time