Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,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.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,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.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00217/0.00217, allocations: 113.3 kB / 17.69 MB, free: 5.312 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.002658/0.002658, allocations: 191 kB / 18.63 MB, free: 4.379 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.759/1.759, allocations: 222.9 MB / 242.3 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.2323/0.2323, allocations: 38.03 MB / 330.5 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 70.05 kB / 400.3 MB, free: 33.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1987, allocations: 58.05 MB / 458.3 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.006837/0.2056, allocations: 3.469 MB / 461.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.2084, allocations: 1.5 MB / 463.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.2086, allocations: 11.94 kB / 463.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.2097, allocations: 255 kB / 463.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008822/0.2106, allocations: 271 kB / 463.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.2111, allocations: 127.6 kB / 463.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005407/0.2117, allocations: 346.9 kB / 464.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004303/0.2121, allocations: 137.9 kB / 464.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.2124, allocations: 139.4 kB / 464.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.2128, allocations: 163.4 kB / 464.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.2128, allocations: 16 kB / 464.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007181/0.2135, allocations: 331.2 kB / 465.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.2137, allocations: 99.69 kB / 465.1 MB, free: 484 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.2139, allocations: 111.5 kB / 465.3 MB, free: 372 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00059/0.2145, allocations: 355 kB / 465.6 MB, free: 16 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2145, allocations: 0 / 465.6 MB, free: 16 kB / 334.1 MB Notification: Performance of FrontEnd: time 4.999e-06/0.2145, allocations: 0 / 465.6 MB, free: 16 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.2145, allocations: 3.938 kB / 465.6 MB, free: 12 kB / 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.001013/0.2155, allocations: 0.5093 MB / 466.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.2156, allocations: 8.031 kB / 466.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.2169, allocations: 100.5 kB / 466.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/0.2174, allocations: 267.7 kB / 466.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.2174, allocations: 20.31 kB / 466.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.2175, allocations: 24.36 kB / 466.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.218, allocations: 318 kB / 466.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.218, allocations: 0 / 466.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.2181, allocations: 4 kB / 466.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/0.2181, allocations: 23.98 kB / 466.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004721/0.2186, allocations: 283.8 kB / 467.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.2208, allocations: 1.275 MB / 468.4 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.2213, allocations: 233.1 kB / 468.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.2215, allocations: 97.67 kB / 468.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.2216, allocations: 7.984 kB / 468.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.181e-05/0.2216, allocations: 38.55 kB / 468.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.754e-06/0.2216, allocations: 4 kB / 468.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001039/0.2227, allocations: 443.4 kB / 469.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.2228, allocations: 81.11 kB / 469.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.223, allocations: 198.3 kB / 469.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.2231, allocations: 29.7 kB / 469.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.2232, allocations: 155.9 kB / 469.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.2233, allocations: 59.11 kB / 469.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.2234, allocations: 45.69 kB / 469.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.2237, allocations: 331 kB / 470.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.2238, allocations: 87.95 kB / 470.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.2241, allocations: 152.5 kB / 470.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.2245, allocations: 267.1 kB / 470.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2245, allocations: 0 / 470.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005029/0.225, allocations: 301.1 kB / 470.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.225, allocations: 4 kB / 470.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.2251, allocations: 4 kB / 470.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/0.2251, allocations: 7.938 kB / 470.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.2254, allocations: 60.19 kB / 471 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.2254, allocations: 7.938 kB / 471 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.2256, allocations: 7.984 kB / 471 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.2256, allocations: 12 kB / 471 MB, free: 10.27 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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002156/0.2258, allocations: 153.8 kB / 471.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.2259, allocations: 15.81 kB / 471.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004993/0.2264, allocations: 235.2 kB / 471.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.2264, allocations: 7.984 kB / 471.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.2264, allocations: 4 kB / 471.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2264, allocations: 0 / 471.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.2281, allocations: 0.9515 MB / 472.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.2281, allocations: 4 kB / 472.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.2283, allocations: 40.42 kB / 472.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.2283, allocations: 8 kB / 472.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.2283, allocations: 11.98 kB / 472.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.509e-05/0.2283, allocations: 7.938 kB / 472.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-06/0.2284, allocations: 7.938 kB / 472.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.2289, allocations: 415.3 kB / 472.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.229, allocations: 104.8 kB / 472.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.2291, allocations: 8 kB / 472.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.2293, allocations: 15.92 kB / 473 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.2293, allocations: 27.92 kB / 473 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.2293, allocations: 11.94 kB / 473 MB, free: 8.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.2295, allocations: 147.2 kB / 473.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2295, allocations: 0 / 473.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004381/0.23, allocations: 52 kB / 473.2 MB, free: 7.863 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001978/0.2302, allocations: 107.1 kB / 473.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004693/0.2306, allocations: 223.7 kB / 473.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.2307, allocations: 0 / 473.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.2308, allocations: 101.1 kB / 473.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.2314, allocations: 41.34 kB / 473.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.2326, allocations: 0.5687 MB / 474.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.2331, allocations: 0.7593 MB / 475 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.2333, allocations: 57.48 kB / 475 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.2334, allocations: 19.44 kB / 475.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2334, allocations: 0 / 475.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of Templates: time 0.006723/0.2401, allocations: 1.871 MB / 476.9 MB, free: 4.023 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches