Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001214/0.001214, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004834/0.004834, allocations: 160.2 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8685/0.8685, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 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.2091/0.2091, allocations: 29.41 MB / 290.9 MB, free: 2.414 MB / 266.7 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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.531e-05, allocations: 2.281 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.00461/0.004636, allocations: 4.452 MB / 435.9 MB, free: 8.586 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.006154, allocations: 1.418 MB / 437.4 MB, free: 7.164 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.006302, allocations: 15.88 kB / 437.4 MB, free: 7.148 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006351/0.006937, allocations: 383.2 kB / 437.7 MB, free: 6.773 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.007261, allocations: 242.5 kB / 438 MB, free: 6.535 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.007687, allocations: 263.1 kB / 438.2 MB, free: 6.277 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.008094, allocations: 0.5766 MB / 438.8 MB, free: 5.699 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.008407, allocations: 246.7 kB / 439.1 MB, free: 5.457 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/0.008743, allocations: 354.9 kB / 439.4 MB, free: 5.109 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.009044, allocations: 299.2 kB / 439.7 MB, free: 4.816 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.009085, allocations: 36 kB / 439.7 MB, free: 4.781 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.009284, allocations: 155.7 kB / 439.9 MB, free: 4.629 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.009438, allocations: 235.4 kB / 440.1 MB, free: 4.398 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.009565, allocations: 175.6 kB / 440.3 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004922/0.01006, allocations: 0.6114 MB / 440.9 MB, free: 3.613 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.01006, allocations: 0 / 440.9 MB, free: 3.613 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01006, allocations: 0 / 440.9 MB, free: 3.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.01007, allocations: 0 / 440.9 MB, free: 3.613 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0008969/0.01096, allocations: 0.7056 MB / 441.6 MB, free: 2.875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.01101, allocations: 11.98 kB / 441.6 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004019/0.01141, allocations: 128.5 kB / 441.7 MB, free: 2.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.01182, allocations: 351.9 kB / 442.1 MB, free: 2.359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.01184, allocations: 33.36 kB / 442.1 MB, free: 2.328 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.6e-05/0.01193, allocations: 60.61 kB / 442.2 MB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.01249, allocations: 0.6413 MB / 442.8 MB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.0125, allocations: 7.938 kB / 442.8 MB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.01253, allocations: 20 kB / 442.8 MB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.348e-05/0.01259, allocations: 28.98 kB / 442.9 MB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.01307, allocations: 483.5 kB / 443.3 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1597/0.1727, allocations: 2.78 MB / 446.1 MB, free: 52.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.1729, allocations: 169.8 kB / 446.3 MB, free: 52.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.173, allocations: 99.67 kB / 446.4 MB, free: 52.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.173, allocations: 2.938 kB / 446.4 MB, free: 52.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.1731, allocations: 37.09 kB / 446.4 MB, free: 52.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.1731, allocations: 0 / 446.4 MB, free: 52.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008637/0.1739, allocations: 0.7785 MB / 447.2 MB, free: 52.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.1739, allocations: 80.95 kB / 447.3 MB, free: 52.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.1741, allocations: 358.6 kB / 447.6 MB, free: 51.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.1741, allocations: 31.48 kB / 447.7 MB, free: 51.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.1742, allocations: 305.1 kB / 448 MB, free: 51.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.1743, allocations: 78.62 kB / 448 MB, free: 51.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.1743, allocations: 84.34 kB / 448.1 MB, free: 51.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.618e-05/0.1744, allocations: 347.7 kB / 448.5 MB, free: 51.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.1745, allocations: 126.8 kB / 448.6 MB, free: 51.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.1746, allocations: 334.1 kB / 448.9 MB, free: 50.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.1749, allocations: 0.4962 MB / 449.4 MB, free: 50.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.1749, allocations: 7.156 kB / 449.4 MB, free: 50.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005295/0.1754, allocations: 0.5583 MB / 450 MB, free: 50.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1755, allocations: 6.344 kB / 450 MB, free: 50.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002716/0.1757, allocations: 271.2 kB / 450.2 MB, free: 50.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/0.1759, allocations: 79.16 kB / 450.3 MB, free: 50.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.1761, allocations: 97.31 kB / 450.4 MB, free: 50.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007499/0.1768, allocations: 1.6 MB / 452 MB, free: 48.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.1769, allocations: 17.69 kB / 452 MB, free: 48.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.177, allocations: 21.84 kB / 452.1 MB, free: 48.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.1771, allocations: 219.9 kB / 452.3 MB, free: 48.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.1771, allocations: 32.25 kB / 452.3 MB, free: 48.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.1774, allocations: 296.1 kB / 452.6 MB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1774, allocations: 6.672 kB / 452.6 MB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.1774, allocations: 0 / 452.6 MB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1774, allocations: 0 / 452.6 MB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.1779, allocations: 0.6694 MB / 453.3 MB, free: 48.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1779, allocations: 5.031 kB / 453.3 MB, free: 48.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.1781, allocations: 55.83 kB / 453.3 MB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1781, allocations: 0 / 453.3 MB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1781, allocations: 7 kB / 453.3 MB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1781, allocations: 5.844 kB / 453.3 MB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1781, allocations: 0 / 453.3 MB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.1784, allocations: 481.2 kB / 453.8 MB, free: 47.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.1784, allocations: 33.81 kB / 453.8 MB, free: 47.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1784, allocations: 8.516 kB / 453.9 MB, free: 47.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.1785, allocations: 10.75 kB / 453.9 MB, free: 47.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.1785, allocations: 17.17 kB / 453.9 MB, free: 47.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1785, allocations: 13.66 kB / 453.9 MB, free: 47.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.1786, allocations: 234.1 kB / 454.1 MB, free: 47.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1786, allocations: 0 / 454.1 MB, free: 47.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000264/0.1789, allocations: 99.5 kB / 454.2 MB, free: 47.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * 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 7.554e-05/0.179, allocations: 102.2 kB / 454.3 MB, free: 47.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003925/0.1794, allocations: 434.5 kB / 454.7 MB, free: 47.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1794, allocations: 0 / 454.7 MB, free: 47.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.1795, allocations: 111.2 kB / 454.9 MB, free: 47.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1798, allocations: 75.47 kB / 454.9 MB, free: 47.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008485/0.1806, allocations: 0.9703 MB / 455.9 MB, free: 46.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.1807, allocations: 266.1 kB / 456.2 MB, free: 46.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.1808, allocations: 31.12 kB / 456.2 MB, free: 46.71 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1808, allocations: 0 / 456.2 MB, free: 46.71 MB / 410.7 MB Notification: Performance of Templates: time 0.004269/0.1851, allocations: 5.986 MB / 462.2 MB, free: 46.25 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.914083273150027]