Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.0007397/0.0007397, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003006/0.003006, allocations: 165.1 kB / 24.7 MB, free: 9.426 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.8355/0.8355, allocations: 177.2 MB / 205 MB, free: 5.727 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.2173/0.2173, allocations: 29.41 MB / 290.9 MB, free: 2.445 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.Sensor,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.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,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.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.742e-05, allocations: 4.672 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005443/0.005471, allocations: 4.397 MB / 435.9 MB, free: 8.684 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.007773, allocations: 1.371 MB / 437.2 MB, free: 7.309 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.00801, allocations: 23.81 kB / 437.3 MB, free: 7.285 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007416/0.008751, allocations: 286.6 kB / 437.5 MB, free: 7.004 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005992/0.009351, allocations: 294.2 kB / 437.8 MB, free: 6.715 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.01001, allocations: 255.3 kB / 438.1 MB, free: 6.465 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007418/0.01076, allocations: 0.6701 MB / 438.8 MB, free: 5.793 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003875/0.01114, allocations: 216.5 kB / 439 MB, free: 5.574 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000651/0.01179, allocations: 410.7 kB / 439.4 MB, free: 5.172 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005405/0.01234, allocations: 399 kB / 439.8 MB, free: 4.781 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.293e-05/0.01241, allocations: 44 kB / 439.8 MB, free: 4.738 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.01278, allocations: 211.7 kB / 440 MB, free: 4.531 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.01301, allocations: 271.3 kB / 440.3 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.01322, allocations: 203.5 kB / 440.5 MB, free: 4.066 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008948/0.01412, allocations: 0.7984 MB / 441.3 MB, free: 3.266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01412, allocations: 0 / 441.3 MB, free: 3.266 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01412, allocations: 0 / 441.3 MB, free: 3.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.01413, allocations: 0 / 441.3 MB, free: 3.266 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001326/0.01545, allocations: 0.8123 MB / 442.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.01549, allocations: 11.98 kB / 442.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005998/0.01609, allocations: 144.4 kB / 442.2 MB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.01668, allocations: 375.8 kB / 442.6 MB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.01672, allocations: 25.38 kB / 442.6 MB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/0.0168, allocations: 44.36 kB / 442.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.01794, allocations: 0.9393 MB / 443.6 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.01796, allocations: 3.938 kB / 443.6 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.01801, allocations: 23.92 kB / 443.6 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.01812, allocations: 60.95 kB / 443.7 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1607/0.1788, allocations: 0.8586 MB / 444.6 MB, free: 54.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.1808, allocations: 2.485 MB / 447 MB, free: 53.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/0.1814, allocations: 0.5547 MB / 447.6 MB, free: 53.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.1816, allocations: 432.3 kB / 448 MB, free: 52.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.1817, allocations: 7.031 kB / 448 MB, free: 52.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.1817, allocations: 37.05 kB / 448.1 MB, free: 52.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 2.384e-06/0.1817, allocations: 1.234 kB / 448.1 MB, free: 52.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.001653/0.1833, allocations: 2 MB / 450.1 MB, free: 52.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.1834, allocations: 136.4 kB / 450.2 MB, free: 51.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1835, allocations: 303.7 kB / 450.5 MB, free: 51.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1836, allocations: 32.61 kB / 450.5 MB, free: 51.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.1836, allocations: 262.1 kB / 450.8 MB, free: 51.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.1837, allocations: 196.3 kB / 451 MB, free: 51.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.633e-05/0.1838, allocations: 98.23 kB / 451.1 MB, free: 51.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.056e-05/0.1838, allocations: 353.5 kB / 451.4 MB, free: 51.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.1841, allocations: 418.7 kB / 451.8 MB, free: 50.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.1844, allocations: 0.5553 MB / 452.4 MB, free: 50.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005992/0.185, allocations: 1.012 MB / 453.4 MB, free: 50.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.185, allocations: 0 / 453.4 MB, free: 50.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007587/0.1857, allocations: 1.078 MB / 454.5 MB, free: 49.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.1858, allocations: 73.47 kB / 454.5 MB, free: 49.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1858, allocations: 6.672 kB / 454.5 MB, free: 49.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001369/0.1859, allocations: 41.83 kB / 454.6 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.1861, allocations: 84.27 kB / 454.7 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005649/0.1867, allocations: 1.428 MB / 456.1 MB, free: 48.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.1868, allocations: 39.45 kB / 456.1 MB, free: 48.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.1869, allocations: 23.59 kB / 456.2 MB, free: 48.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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.0001744/0.187, allocations: 294.8 kB / 456.4 MB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.1871, allocations: 47.06 kB / 456.5 MB, free: 48.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000827/0.1879, allocations: 1.14 MB / 457.6 MB, free: 47.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.1879, allocations: 9.531 kB / 457.6 MB, free: 47.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1879, allocations: 0 / 457.6 MB, free: 47.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1879, allocations: 3.375 kB / 457.6 MB, free: 47.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.1892, allocations: 1.704 MB / 459.3 MB, free: 46.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1892, allocations: 0 / 459.3 MB, free: 46.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.1893, allocations: 54.86 kB / 459.4 MB, free: 46.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.409e-05/0.1894, allocations: 42.42 kB / 459.4 MB, free: 46.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.1894, allocations: 14.25 kB / 459.5 MB, free: 46.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004722/0.1899, allocations: 1.421 MB / 460.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1899, allocations: 2.406 kB / 460.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007749/0.1906, allocations: 1.23 MB / 462.1 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.1908, allocations: 97.83 kB / 462.2 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.1908, allocations: 20.23 kB / 462.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.1909, allocations: 26.67 kB / 462.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.782e-05/0.191, allocations: 51.53 kB / 462.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.191, allocations: 16.33 kB / 462.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.212e-05/0.1911, allocations: 199 kB / 462.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1911, allocations: 3.125 kB / 462.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.1914, allocations: 142 kB / 462.7 MB, free: 44.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/0.1916, allocations: 144.7 kB / 462.8 MB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008953/0.1925, allocations: 1.259 MB / 464.1 MB, free: 44.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1925, allocations: 8.438 kB / 464.1 MB, free: 44.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004149/0.1929, allocations: 0.7325 MB / 464.8 MB, free: 43.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1932, allocations: 74.69 kB / 464.9 MB, free: 43.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1944, allocations: 1.517 MB / 466.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.1945, allocations: 304.9 kB / 466.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.1946, allocations: 35.94 kB / 466.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1946, allocations: 0 / 466.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of Templates: time 0.006207/0.2008, allocations: 8.789 MB / 475.5 MB, free: 42.29 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.809894155710936]