Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.0008145/0.0008145, 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.003625/0.003625, allocations: 160.7 kB / 24.7 MB, free: 9.418 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.848/0.848, 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.2133/0.2133, allocations: 29.42 MB / 290.9 MB, free: 2.402 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.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.648e-05, allocations: 2.281 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.003717/0.003734, allocations: 4.115 MB / 435.6 MB, free: 8.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.005024, allocations: 0.9235 MB / 436.5 MB, free: 8.004 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.005207, allocations: 15.88 kB / 436.5 MB, free: 7.988 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.005418, allocations: 51.48 kB / 436.6 MB, free: 7.938 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005271/0.005945, allocations: 222.6 kB / 436.8 MB, free: 7.719 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.006158, allocations: 103.7 kB / 436.9 MB, free: 7.617 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005342/0.006692, allocations: 498.1 kB / 437.4 MB, free: 7.129 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.006907, allocations: 91.98 kB / 437.5 MB, free: 7.035 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004279/0.007335, allocations: 291.1 kB / 437.8 MB, free: 6.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.007678, allocations: 235.4 kB / 438 MB, free: 6.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.007724, allocations: 24 kB / 438 MB, free: 6.496 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.547e-05/0.0078, allocations: 32 kB / 438 MB, free: 6.465 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.007929, allocations: 131.6 kB / 438.2 MB, free: 6.336 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.008071, allocations: 123.7 kB / 438.3 MB, free: 6.215 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.008445, allocations: 386.7 kB / 438.7 MB, free: 5.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.008449, allocations: 8 kB / 438.7 MB, free: 5.828 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.00845, allocations: 0 / 438.7 MB, free: 5.828 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.008455, allocations: 0 / 438.7 MB, free: 5.828 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007645/0.009219, allocations: 0.6268 MB / 439.3 MB, free: 5.172 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.009251, allocations: 15.98 kB / 439.3 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.009358, allocations: 40.7 kB / 439.4 MB, free: 5.117 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.009757, allocations: 339.6 kB / 439.7 MB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.009774, allocations: 24.78 kB / 439.7 MB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.009809, allocations: 28 kB / 439.7 MB, free: 4.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.01014, allocations: 365.8 kB / 440.1 MB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.01015, allocations: 3.938 kB / 440.1 MB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.01017, allocations: 12 kB / 440.1 MB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.01018, allocations: 8 kB / 440.1 MB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.01044, allocations: 257.7 kB / 440.4 MB, free: 4.043 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.01146, allocations: 1.299 MB / 441.7 MB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.01163, allocations: 149 kB / 441.8 MB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.439e-05/0.0117, allocations: 73.73 kB / 441.9 MB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.01172, allocations: 4 kB / 441.9 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.01174, allocations: 34.56 kB / 441.9 MB, free: 2.375 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.01174, allocations: 0 / 441.9 MB, free: 2.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007606/0.0125, allocations: 0.6164 MB / 442.5 MB, free: 1.727 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.01254, allocations: 81.05 kB / 442.6 MB, free: 1.629 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.01274, allocations: 304.5 kB / 442.9 MB, free: 1.328 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.01275, allocations: 29.7 kB / 443 MB, free: 1.293 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/0.01285, allocations: 216 kB / 443.2 MB, free: 1.078 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.01288, allocations: 63.5 kB / 443.2 MB, free: 1.016 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.01294, allocations: 53.59 kB / 443.3 MB, free: 0.957 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.01302, allocations: 338.8 kB / 443.6 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.287e-05/0.01309, allocations: 71.95 kB / 443.7 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.01321, allocations: 168.8 kB / 443.8 MB, free: 344 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.01341, allocations: 267.8 kB / 444.1 MB, free: 32 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01341, allocations: 0 / 444.1 MB, free: 32 kB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.1756/0.189, allocations: 275.9 kB / 444.4 MB, free: 54.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.189, allocations: 8.031 kB / 444.4 MB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.189, allocations: 3.344 kB / 444.4 MB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.1891, allocations: 6.344 kB / 444.4 MB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.1893, allocations: 60.16 kB / 444.5 MB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1893, allocations: 9.188 kB / 444.5 MB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1894, allocations: 17.66 kB / 444.5 MB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.1894, allocations: 11.03 kB / 444.5 MB, free: 54.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 29 * 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.0001431/0.1896, allocations: 174.3 kB / 444.7 MB, free: 54.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.1896, allocations: 26.77 kB / 444.7 MB, free: 54.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.1899, allocations: 230.4 kB / 444.9 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1899, allocations: 3.281 kB / 444.9 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1899, allocations: 3.016 kB / 444.9 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1899, allocations: 0 / 444.9 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.1903, allocations: 0.5306 MB / 445.4 MB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1903, allocations: 3.188 kB / 445.5 MB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.1904, allocations: 38.52 kB / 445.5 MB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1904, allocations: 0 / 445.5 MB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1904, allocations: 6.469 kB / 445.5 MB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1905, allocations: 0.5 kB / 445.5 MB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1905, allocations: 5.469 kB / 445.5 MB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.1908, allocations: 421.5 kB / 445.9 MB, free: 53.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.1908, allocations: 29.91 kB / 445.9 MB, free: 53.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.1908, allocations: 6.25 kB / 445.9 MB, free: 53.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.1909, allocations: 13.31 kB / 446 MB, free: 53.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.1909, allocations: 23.06 kB / 446 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.191, allocations: 6.125 kB / 446 MB, free: 53.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1911, allocations: 211.1 kB / 446.2 MB, free: 53.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1911, allocations: 0 / 446.2 MB, free: 53.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.1913, allocations: 61.41 kB / 446.3 MB, free: 53.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.648e-05/0.1914, allocations: 95 kB / 446.3 MB, free: 53.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.1916, allocations: 188.9 kB / 446.5 MB, free: 53.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1916, allocations: 0 / 446.5 MB, free: 53.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.47e-05/0.1917, allocations: 86.05 kB / 446.6 MB, free: 53.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.192, allocations: 76.22 kB / 446.7 MB, free: 53.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006699/0.1927, allocations: 0.6482 MB / 447.3 MB, free: 53.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.1928, allocations: 202.1 kB / 447.5 MB, free: 53.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.1929, allocations: 28.25 kB / 447.6 MB, free: 53.06 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1929, allocations: 0 / 447.6 MB, free: 53.06 MB / 410.7 MB Notification: Performance of Templates: time 0.003579/0.1964, allocations: 4.049 MB / 451.6 MB, free: 52.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,meter.i,meter.p,meter.v Variables in the result:meter.i,meter.p,meter.v,time [Calling sys.exit(0), Time elapsed: 4.7472326857969165]