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.001804/0.001804, allocations: 115.7 kB / 17.29 MB, free: 6.207 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.002254/0.002254, allocations: 197.3 kB / 18.21 MB, free: 5.281 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.836/2.836, allocations: 222.9 MB / 241.9 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.4165/0.4165, allocations: 38.03 MB / 330.1 MB, free: 9.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 60.36 kB / 398.9 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2061, allocations: 58.07 MB / 457 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.009705/0.2159, allocations: 3.705 MB / 460.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004082/0.22, allocations: 1.547 MB / 462.3 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.2205, allocations: 11.94 kB / 462.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.2218, allocations: 243.1 kB / 462.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.2232, allocations: 251.2 kB / 462.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006578/0.2239, allocations: 115.7 kB / 462.9 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007019/0.2246, allocations: 346.9 kB / 463.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005453/0.2252, allocations: 158.6 kB / 463.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000444/0.2257, allocations: 147.4 kB / 463.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004711/0.2262, allocations: 167.4 kB / 463.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.65e-05/0.2262, allocations: 16 kB / 463.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009992/0.2273, allocations: 331.2 kB / 464 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.2275, allocations: 95.75 kB / 464.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.2278, allocations: 111.4 kB / 464.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006375/0.2284, allocations: 271.5 kB / 464.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2284, allocations: 0 / 464.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2285, allocations: 0 / 464.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.2285, allocations: 0 / 464.5 MB, free: 0.9141 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.001156/0.2296, allocations: 0.5103 MB / 465 MB, free: 364 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.2297, allocations: 8.031 kB / 465 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.2315, allocations: 96.62 kB / 465.1 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005495/0.232, allocations: 263.9 kB / 465.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.2321, allocations: 16.33 kB / 465.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/0.2322, allocations: 20.31 kB / 465.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008419/0.233, allocations: 322 kB / 465.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.2331, allocations: 4 kB / 465.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/0.2331, allocations: 8 kB / 465.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.343e-05/0.2332, allocations: 23.92 kB / 465.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008721/0.2341, allocations: 287.8 kB / 466 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/0.2374, allocations: 1.271 MB / 467.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008487/0.2383, allocations: 241 kB / 467.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.2386, allocations: 93.73 kB / 467.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.2387, allocations: 0 / 467.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.2387, allocations: 38.56 kB / 467.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 4.058e-06/0.2388, allocations: 0 / 467.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001464/0.2402, allocations: 451.4 kB / 468.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.2403, allocations: 81.11 kB / 468.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.2407, allocations: 202.3 kB / 468.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.2408, allocations: 29.64 kB / 468.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.241, allocations: 159.8 kB / 468.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.247e-05/0.2411, allocations: 55.2 kB / 468.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.2413, allocations: 49.7 kB / 468.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.2415, allocations: 334.9 kB / 469 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.2417, allocations: 87.89 kB / 469.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.2421, allocations: 150.2 kB / 469.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006258/0.2427, allocations: 270.6 kB / 469.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2427, allocations: 4 kB / 469.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008276/0.2436, allocations: 289.1 kB / 469.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.2436, allocations: 8 kB / 469.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.2436, allocations: 3.984 kB / 469.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.2437, allocations: 7.938 kB / 469.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.2442, allocations: 56.19 kB / 469.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.2442, allocations: 12 kB / 469.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.2445, allocations: 15.98 kB / 469.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.2446, allocations: 8 kB / 469.9 MB, free: 11.16 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.0002838/0.2449, allocations: 157.8 kB / 470 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.245, allocations: 19.72 kB / 470.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007001/0.2457, allocations: 219.4 kB / 470.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.2458, allocations: 4 kB / 470.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2458, allocations: 4 kB / 470.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.2458, allocations: 3.984 kB / 470.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.2483, allocations: 0.9592 MB / 471.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.2484, allocations: 4 kB / 471.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.2487, allocations: 32.42 kB / 471.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.906e-05/0.2487, allocations: 12 kB / 471.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.2488, allocations: 4 kB / 471.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-05/0.2488, allocations: 15.86 kB / 471.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.2488, allocations: 4 kB / 471.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008242/0.2497, allocations: 415.2 kB / 471.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.2498, allocations: 100.9 kB / 471.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.042e-05/0.2499, allocations: 8 kB / 471.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.2503, allocations: 15.92 kB / 471.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.2504, allocations: 27.86 kB / 471.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.2505, allocations: 11.94 kB / 471.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002495/0.2508, allocations: 151 kB / 472 MB, free: 8.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2508, allocations: 0 / 472 MB, free: 8.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007299/0.2515, allocations: 52 kB / 472.1 MB, free: 8.762 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.0002082/0.2517, allocations: 107.2 kB / 472.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000672/0.2524, allocations: 227.6 kB / 472.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.2525, allocations: 0 / 472.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.2528, allocations: 101.1 kB / 472.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008471/0.2536, allocations: 38.91 kB / 472.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.2556, allocations: 0.6953 MB / 473.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.2562, allocations: 0.7593 MB / 474 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.2564, allocations: 27.42 kB / 474 MB, free: 6.703 MB / 350.1 MB Notification: Performance of SimCode: time 1.133e-06/0.2564, allocations: 0 / 474 MB, free: 6.703 MB / 350.1 MB Notification: Performance of Templates: time 0.01015/0.2665, allocations: 2.621 MB / 476.6 MB, free: 4.078 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 -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