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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 82.5 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 163 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.364/1.364, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1683/0.1683, allocations: 29.44 MB / 290.1 MB, free: 3.281 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.621e-05, allocations: 5.656 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004843/0.00487, allocations: 3.438 MB / 434.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.007109, allocations: 1.442 MB / 435.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.007211, allocations: 7.938 kB / 435.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00082/0.008031, allocations: 254.8 kB / 435.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006061/0.008637, allocations: 290.6 kB / 436.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.00895, allocations: 127.4 kB / 436.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.009362, allocations: 358.9 kB / 436.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.009618, allocations: 110.1 kB / 436.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.009985, allocations: 215.3 kB / 436.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.01024, allocations: 151.6 kB / 437.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.01027, allocations: 12 kB / 437.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004359/0.01071, allocations: 279 kB / 437.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.01083, allocations: 107.7 kB / 437.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.01095, allocations: 75.84 kB / 437.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005059/0.01145, allocations: 374.9 kB / 437.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01146, allocations: 0 / 437.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01146, allocations: 0 / 437.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.01146, allocations: 0 / 437.9 MB, free: 10.71 MB / 366.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.0006875/0.01215, allocations: 456.9 kB / 438.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.01218, allocations: 8.031 kB / 438.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009144/0.01309, allocations: 104.6 kB / 438.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.01343, allocations: 221.2 kB / 438.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.01345, allocations: 8.375 kB / 438.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.01349, allocations: 20.38 kB / 438.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.01404, allocations: 334.6 kB / 439 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.01405, allocations: 192 / 439 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.01408, allocations: 4.375 kB / 439 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.01411, allocations: 31.86 kB / 439.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004981/0.01461, allocations: 303.7 kB / 439.4 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.01631, allocations: 1.143 MB / 440.5 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.01668, allocations: 153.1 kB / 440.7 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.01684, allocations: 93.73 kB / 440.7 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.01686, allocations: 0 / 440.7 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.01689, allocations: 38.5 kB / 440.8 MB, free: 7.652 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.01689, allocations: 0 / 440.8 MB, free: 7.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.00155/0.01844, allocations: 0.5904 MB / 441.4 MB, free: 7.055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.0185, allocations: 85.23 kB / 441.5 MB, free: 6.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.01869, allocations: 182.7 kB / 441.6 MB, free: 6.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.01871, allocations: 29.7 kB / 441.7 MB, free: 6.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.01883, allocations: 152.3 kB / 441.8 MB, free: 6.574 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.01889, allocations: 63.44 kB / 441.9 MB, free: 6.512 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.412e-05/0.01897, allocations: 41.7 kB / 441.9 MB, free: 6.465 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.01914, allocations: 334.8 kB / 442.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.01927, allocations: 79.95 kB / 442.3 MB, free: 6.051 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.01947, allocations: 152.4 kB / 442.5 MB, free: 5.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.01987, allocations: 260.4 kB / 442.7 MB, free: 5.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01987, allocations: 0 / 442.7 MB, free: 5.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006639/0.02054, allocations: 356 kB / 443.1 MB, free: 5.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.02056, allocations: 8 kB / 443.1 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.02056, allocations: 0 / 443.1 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004023/0.02097, allocations: 88.78 kB / 443.2 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.02112, allocations: 39.91 kB / 443.2 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.02369, allocations: 2.035 MB / 445.2 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.02381, allocations: 7.984 kB / 445.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.02384, allocations: 15.94 kB / 445.3 MB, free: 2.93 MB / 366.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.0001601/0.024, allocations: 157.7 kB / 445.4 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.02405, allocations: 23.84 kB / 445.4 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006434/0.02469, allocations: 315.5 kB / 445.7 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/0.0247, allocations: 11.97 kB / 445.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.0247, allocations: 0 / 445.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.02471, allocations: 0 / 445.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.02589, allocations: 0.6594 MB / 446.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.02589, allocations: 0 / 446.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.026, allocations: 27.98 kB / 446.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002803/0.02628, allocations: 76.78 kB / 446.5 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.0263, allocations: 7.938 kB / 446.5 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1619/0.1882, allocations: 1.889 MB / 448.4 MB, free: 28.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.1882, allocations: 3.531 kB / 448.4 MB, free: 28.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006475/0.1888, allocations: 404.2 kB / 448.8 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.1889, allocations: 19.55 kB / 448.8 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.1889, allocations: 6.297 kB / 448.8 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.189, allocations: 7.75 kB / 448.8 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.1891, allocations: 18.25 kB / 448.9 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.1891, allocations: 4.375 kB / 448.9 MB, free: 28.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1892, allocations: 137.7 kB / 449 MB, free: 28.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1892, allocations: 0 / 449 MB, free: 28.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004689/0.1897, allocations: 67.09 kB / 449.1 MB, free: 28.53 MB / 366.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 9.914e-05/0.1898, allocations: 99.61 kB / 449.2 MB, free: 28.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006378/0.1904, allocations: 369.7 kB / 449.5 MB, free: 28.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1904, allocations: 0 / 449.5 MB, free: 28.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.1908, allocations: 249.1 kB / 449.8 MB, free: 28.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.1911, allocations: 39.72 kB / 449.8 MB, free: 28.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000731/0.1919, allocations: 483.5 kB / 450.3 MB, free: 27.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.192, allocations: 161.1 kB / 450.4 MB, free: 27.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.872e-05/0.1921, allocations: 36.44 kB / 450.5 MB, free: 27.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.1922, allocations: 23.28 kB / 450.5 MB, free: 27.9 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1922, allocations: 0 / 450.5 MB, free: 27.9 MB / 366.1 MB Notification: Performance of Templates: time 0.006725/0.1989, allocations: 2.84 MB / 453.3 MB, free: 27.7 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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.L,line.R,line.i[1],line.i[2],line.i_start[1],line.i_start[2],line.p[1],line.p[2],line.v[1],line.v[2],line.v_start[1],line.v_start[2],load.P,load.phi,load.v_start[1],load.v_start[2],source.V,source.definiteReference,source.potentialReference,system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time [Calling sys.exit(0), Time elapsed: 4.497727002948523]