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.001885/0.001885, allocations: 111.3 kB / 17.28 MB, free: 6.199 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.002261/0.00226, allocations: 193.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.551/2.551, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.4026/0.4026, allocations: 38.03 MB / 330.1 MB, free: 9.039 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 67.52 kB / 399 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1643, allocations: 58.06 MB / 457 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.007607/0.172, allocations: 3.697 MB / 460.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.1768, allocations: 1.582 MB / 462.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003848/0.1772, allocations: 11.94 kB / 462.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.1787, allocations: 239.1 kB / 462.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.1801, allocations: 267.2 kB / 462.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006942/0.1808, allocations: 119.6 kB / 462.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006952/0.1815, allocations: 347 kB / 463.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005622/0.1821, allocations: 150.6 kB / 463.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003763/0.1825, allocations: 151.4 kB / 463.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.1829, allocations: 167.4 kB / 463.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.1829, allocations: 16 kB / 463.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007326/0.1837, allocations: 331.2 kB / 464 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.1838, allocations: 95.77 kB / 464.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.1841, allocations: 115.4 kB / 464.3 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005613/0.1846, allocations: 267.5 kB / 464.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1846, allocations: 4 kB / 464.5 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.428e-06/0.1847, allocations: 4 kB / 464.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.1847, allocations: 3.938 kB / 464.5 MB, free: 0.8711 MB / 334.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.0009654/0.1857, allocations: 0.5064 MB / 465 MB, free: 324 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.1857, allocations: 12.03 kB / 465 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.1873, allocations: 100.6 kB / 465.1 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/0.1878, allocations: 259.8 kB / 465.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.1879, allocations: 24.25 kB / 465.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.1879, allocations: 16.38 kB / 465.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/0.1887, allocations: 330 kB / 465.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.1888, allocations: 4 kB / 465.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.1888, allocations: 7.938 kB / 465.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.452e-05/0.1889, allocations: 15.98 kB / 465.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000727/0.1896, allocations: 311.7 kB / 466.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.1921, allocations: 1.264 MB / 467.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.1925, allocations: 161 kB / 467.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.1927, allocations: 105.7 kB / 467.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.1928, allocations: 7.984 kB / 467.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.1928, allocations: 38.55 kB / 467.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 3.196e-06/0.1928, allocations: 0 / 467.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.003142/0.196, allocations: 0.6695 MB / 468.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/0.1961, allocations: 81.05 kB / 468.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.1964, allocations: 194.4 kB / 468.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.1965, allocations: 33.7 kB / 468.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.1966, allocations: 152 kB / 468.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.239e-05/0.1967, allocations: 59.11 kB / 468.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.1968, allocations: 41.7 kB / 468.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.197, allocations: 330.8 kB / 469.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.1972, allocations: 83.88 kB / 469.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.1975, allocations: 153.4 kB / 469.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.198, allocations: 250.8 kB / 469.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.198, allocations: 0 / 469.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001114/0.1991, allocations: 365.8 kB / 470 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.1992, allocations: 4 kB / 470 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1992, allocations: 4 kB / 470 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006997/0.1999, allocations: 92.77 kB / 470.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.2003, allocations: 36.11 kB / 470.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004372/0.2047, allocations: 2.171 MB / 472.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.205, allocations: 15.94 kB / 472.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.2051, allocations: 8 kB / 472.4 MB, free: 8.504 MB / 350.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.0002825/0.2054, allocations: 158.2 kB / 472.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-05/0.2055, allocations: 23.81 kB / 472.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.2066, allocations: 318.9 kB / 472.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.2066, allocations: 11.94 kB / 472.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.2066, allocations: 4 kB / 472.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2066, allocations: 0 / 472.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.2089, allocations: 0.7543 MB / 473.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.2089, allocations: 0 / 473.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.2092, allocations: 27.92 kB / 473.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005403/0.2097, allocations: 72.78 kB / 473.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.2098, allocations: 8 kB / 473.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003085/0.2129, allocations: 2.034 MB / 475.8 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.2129, allocations: 4.031 kB / 475.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009181/0.2139, allocations: 418.3 kB / 476.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.214, allocations: 100.8 kB / 476.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.2141, allocations: 4.125 kB / 476.3 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.2143, allocations: 12 kB / 476.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.2144, allocations: 19.97 kB / 476.3 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.2144, allocations: 4 kB / 476.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001985/0.2146, allocations: 139.1 kB / 476.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2146, allocations: 0 / 476.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007609/0.2154, allocations: 68 kB / 476.5 MB, free: 4.086 MB / 350.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.0001871/0.2156, allocations: 109.9 kB / 476.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.2167, allocations: 386.3 kB / 477 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2167, allocations: 0 / 477 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000574/0.2173, allocations: 262 kB / 477.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.218, allocations: 47.11 kB / 477.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.2195, allocations: 0.6135 MB / 477.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/0.22, allocations: 0.7713 MB / 478.7 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.653e-05/0.2202, allocations: 23.44 kB / 478.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2202, allocations: 0 / 478.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of Templates: time 0.008792/0.229, allocations: 3.514 MB / 482.2 MB, free: 14.27 MB / 366.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