Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.0007906/0.0007906, allocations: 87.62 kB / 21.43 MB, free: 3.121 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.003129/0.003129, allocations: 158.9 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.8445/0.8445, allocations: 177.1 MB / 205 MB, free: 5.73 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.2062/0.2062, allocations: 29.42 MB / 290.9 MB, free: 2.43 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.ImpedanceYD,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.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,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.ImpedanceYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.183e-05, allocations: 2.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005654/0.005686, allocations: 4.439 MB / 435.9 MB, free: 8.633 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.008057, allocations: 1.499 MB / 437.4 MB, free: 7.129 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.008276, allocations: 15.88 kB / 437.4 MB, free: 7.113 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007269/0.009003, allocations: 282.6 kB / 437.7 MB, free: 6.836 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005335/0.009537, allocations: 290.3 kB / 438 MB, free: 6.551 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005986/0.01014, allocations: 275.1 kB / 438.3 MB, free: 6.281 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006136/0.01075, allocations: 0.6233 MB / 438.9 MB, free: 5.656 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.01111, allocations: 212.5 kB / 439.1 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004747/0.01159, allocations: 366.9 kB / 439.4 MB, free: 5.082 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.01201, allocations: 315.2 kB / 439.8 MB, free: 4.773 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/0.01206, allocations: 36 kB / 439.8 MB, free: 4.738 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.01234, allocations: 151.7 kB / 439.9 MB, free: 4.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.01255, allocations: 231.4 kB / 440.2 MB, free: 4.363 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.01272, allocations: 167.6 kB / 440.3 MB, free: 4.199 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006894/0.01341, allocations: 0.6191 MB / 440.9 MB, free: 3.578 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.01341, allocations: 0 / 440.9 MB, free: 3.578 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01341, allocations: 4 kB / 440.9 MB, free: 3.574 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.01342, allocations: 0 / 440.9 MB, free: 3.574 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001131/0.01455, allocations: 0.7017 MB / 441.6 MB, free: 2.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.01459, allocations: 15.97 kB / 441.7 MB, free: 2.824 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00062/0.01521, allocations: 124.5 kB / 441.8 MB, free: 2.703 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.01578, allocations: 351.8 kB / 442.1 MB, free: 2.332 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.01581, allocations: 37.36 kB / 442.2 MB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.01595, allocations: 52.69 kB / 442.2 MB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009413/0.01689, allocations: 0.664 MB / 442.9 MB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.01691, allocations: 3.938 kB / 442.9 MB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.01695, allocations: 23.97 kB / 442.9 MB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.01705, allocations: 48.97 kB / 443 MB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000539/0.01759, allocations: 495.4 kB / 443.4 MB, free: 0.957 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1645/0.182, allocations: 2.896 MB / 446.3 MB, free: 52.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.1823, allocations: 236.3 kB / 446.6 MB, free: 52.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.672e-05/0.1824, allocations: 117.9 kB / 446.7 MB, free: 52.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.1825, allocations: 3.281 kB / 446.7 MB, free: 52.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.1825, allocations: 33.91 kB / 446.7 MB, free: 52.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 1.743e-06/0.1825, allocations: 0 / 446.7 MB, free: 52.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008873/0.1834, allocations: 0.8319 MB / 447.6 MB, free: 51.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.1834, allocations: 80.17 kB / 447.6 MB, free: 51.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.1836, allocations: 347.8 kB / 448 MB, free: 51.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.1836, allocations: 29.7 kB / 448 MB, free: 51.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.1836, allocations: 297.5 kB / 448.3 MB, free: 51.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.1837, allocations: 96.83 kB / 448.4 MB, free: 51.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.295e-05/0.1838, allocations: 87.39 kB / 448.5 MB, free: 51.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.809e-05/0.1838, allocations: 342.3 kB / 448.8 MB, free: 50.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.1839, allocations: 134.6 kB / 448.9 MB, free: 50.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.1841, allocations: 322.7 kB / 449.2 MB, free: 50.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.1844, allocations: 0.4913 MB / 449.7 MB, free: 50.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1844, allocations: 4.188 kB / 449.7 MB, free: 50.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005502/0.1849, allocations: 0.5956 MB / 450.3 MB, free: 50.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1849, allocations: 6.281 kB / 450.3 MB, free: 50.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003069/0.1852, allocations: 338.7 kB / 450.7 MB, free: 49.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.1855, allocations: 111.5 kB / 450.8 MB, free: 49.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.1856, allocations: 92.06 kB / 450.9 MB, free: 49.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.1868, allocations: 3.007 MB / 453.9 MB, free: 47.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.1869, allocations: 24.33 kB / 453.9 MB, free: 47.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.187, allocations: 22.45 kB / 453.9 MB, free: 47.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.1871, allocations: 213.8 kB / 454.1 MB, free: 47.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.1871, allocations: 33.72 kB / 454.2 MB, free: 47.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.1874, allocations: 316.8 kB / 454.5 MB, free: 46.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1874, allocations: 6.531 kB / 454.5 MB, free: 46.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.1874, allocations: 3.938 kB / 454.5 MB, free: 46.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1874, allocations: 3.281 kB / 454.5 MB, free: 46.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.1879, allocations: 0.6901 MB / 455.2 MB, free: 46.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1879, allocations: 0 / 455.2 MB, free: 46.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1881, allocations: 57.27 kB / 455.2 MB, free: 46.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1881, allocations: 7.062 kB / 455.2 MB, free: 46.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.1881, allocations: 13.94 kB / 455.3 MB, free: 46.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1881, allocations: 10.62 kB / 455.3 MB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1881, allocations: 0 / 455.3 MB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.1884, allocations: 0.4973 MB / 455.8 MB, free: 46.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.1885, allocations: 55.94 kB / 455.8 MB, free: 46.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.1885, allocations: 11.22 kB / 455.8 MB, free: 46.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.68e-05/0.1886, allocations: 10.44 kB / 455.8 MB, free: 46.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.1886, allocations: 17.48 kB / 455.9 MB, free: 46.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.1886, allocations: 13.84 kB / 455.9 MB, free: 46.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.1887, allocations: 221.1 kB / 456.1 MB, free: 46.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1887, allocations: 3.5 kB / 456.1 MB, free: 46.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002898/0.189, allocations: 100.3 kB / 456.2 MB, free: 46.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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 8.124e-05/0.1891, allocations: 99.2 kB / 456.3 MB, free: 46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004657/0.1896, allocations: 0.5553 MB / 456.8 MB, free: 45.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1896, allocations: 3.156 kB / 456.8 MB, free: 45.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1897, allocations: 121 kB / 457 MB, free: 45.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.19, allocations: 71.5 kB / 457 MB, free: 45.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008699/0.1909, allocations: 0.9804 MB / 458 MB, free: 45.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.191, allocations: 264.9 kB / 458.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/0.191, allocations: 37.41 kB / 458.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.191, allocations: 0 / 458.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of Templates: time 0.004996/0.196, allocations: 6.862 MB / 465.2 MB, free: 44.4 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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: 5.170433019287884]