Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.0009583/0.0009583, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001011/0.001011, allocations: 164.9 kB / 25.61 MB, free: 8.902 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.9264/0.9264, allocations: 177.1 MB / 206 MB, free: 4.5 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.1158/0.1158, allocations: 29.43 MB / 292 MB, free: 2.621 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.117e-05, allocations: 5.266 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.01102/0.01104, allocations: 4.51 MB / 375.4 MB, free: 27.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.01297, allocations: 1.282 MB / 376.7 MB, free: 26.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.01322, allocations: 19.81 kB / 376.7 MB, free: 26.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004974/0.01372, allocations: 123 kB / 376.8 MB, free: 26.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006259/0.01434, allocations: 334.1 kB / 377.1 MB, free: 26.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.01478, allocations: 171.6 kB / 377.3 MB, free: 25.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000407/0.01519, allocations: 0.6929 MB / 378 MB, free: 25.15 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.01533, allocations: 112.6 kB / 378.1 MB, free: 25.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006006/0.01593, allocations: 466.8 kB / 378.6 MB, free: 24.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004716/0.01641, allocations: 387.1 kB / 379 MB, free: 24.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.656e-05/0.01647, allocations: 36 kB / 379 MB, free: 24.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.762e-05/0.01656, allocations: 40 kB / 379 MB, free: 24.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.01674, allocations: 239.4 kB / 379.3 MB, free: 23.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.01693, allocations: 191.6 kB / 379.4 MB, free: 23.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004009/0.01733, allocations: 438.4 kB / 379.9 MB, free: 23.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01734, allocations: 0 / 379.9 MB, free: 23.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01734, allocations: 0 / 379.9 MB, free: 23.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.01735, allocations: 4 kB / 379.9 MB, free: 23.27 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001096/0.01844, allocations: 0.8625 MB / 380.7 MB, free: 22.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.01848, allocations: 8.031 kB / 380.8 MB, free: 22.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.01861, allocations: 84.61 kB / 380.8 MB, free: 22.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.01922, allocations: 441.6 kB / 381.3 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.01924, allocations: 29.03 kB / 381.3 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.54e-05/0.01932, allocations: 43.89 kB / 381.3 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.01972, allocations: 362.7 kB / 381.7 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.01973, allocations: 4 kB / 381.7 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.01977, allocations: 15.94 kB / 381.7 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001728/0.01994, allocations: 28.64 kB / 381.7 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.02016, allocations: 116.3 kB / 381.9 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.02182, allocations: 1.8 MB / 383.7 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.02228, allocations: 202.1 kB / 383.8 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.02258, allocations: 159.8 kB / 384 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.02261, allocations: 11.98 kB / 384 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.02263, allocations: 37.33 kB / 384.1 MB, free: 18.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.02263, allocations: 0 / 384.1 MB, free: 18.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001855/0.02448, allocations: 0.9466 MB / 385 MB, free: 17.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.02451, allocations: 81.11 kB / 385.1 MB, free: 17.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.02468, allocations: 406.5 kB / 385.5 MB, free: 17.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.0247, allocations: 33.7 kB / 385.5 MB, free: 17.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.02479, allocations: 315.2 kB / 385.8 MB, free: 17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.016e-05/0.02485, allocations: 150.8 kB / 386 MB, free: 16.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.307e-05/0.02493, allocations: 107.9 kB / 386.1 MB, free: 16.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.482e-05/0.02499, allocations: 0.5429 MB / 386.6 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.916e-05/0.02506, allocations: 48.95 kB / 386.7 MB, free: 16.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.02518, allocations: 216.6 kB / 386.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.02539, allocations: 309 kB / 387.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.0254, allocations: 0 / 387.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005106/0.02591, allocations: 471.6 kB / 387.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.02592, allocations: 4 kB / 387.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.02593, allocations: 4 kB / 387.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003646/0.02629, allocations: 151.6 kB / 387.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.02645, allocations: 83.89 kB / 387.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.02808, allocations: 4.362 MB / 392.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.02821, allocations: 8 kB / 392.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.02823, allocations: 16 kB / 392.3 MB, free: 10.17 MB / 314.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 (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,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.02835, allocations: 184.5 kB / 392.4 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.02841, allocations: 55.72 kB / 392.5 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004871/0.0289, allocations: 440.5 kB / 392.9 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.0289, allocations: 4 kB / 392.9 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.0289, allocations: 4 kB / 392.9 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.02891, allocations: 0 / 392.9 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/0.02962, allocations: 0.7796 MB / 393.7 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.02962, allocations: 4 kB / 393.7 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-05/0.02971, allocations: 39.92 kB / 393.8 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004912/0.0302, allocations: 249.4 kB / 394 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.03023, allocations: 35.91 kB / 394 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.03204, allocations: 6.998 MB / 401 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.03204, allocations: 0 / 401 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.03262, allocations: 0.6427 MB / 401.7 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.03265, allocations: 43.7 kB / 401.7 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.0327, allocations: 23.98 kB / 401.7 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.03282, allocations: 8.062 kB / 401.7 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.03289, allocations: 47.8 kB / 401.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.03291, allocations: 11.98 kB / 401.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.03304, allocations: 255 kB / 402.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03304, allocations: 0 / 402.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004189/0.03346, allocations: 156 kB / 402.2 MB, free: 15.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001368/0.03359, allocations: 119.2 kB / 402.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007142/0.03431, allocations: 0.6364 MB / 403 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.03431, allocations: 4 kB / 403 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006415/0.03495, allocations: 0.9048 MB / 403.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.03536, allocations: 125.7 kB / 404 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.03735, allocations: 1.321 MB / 405.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.03751, allocations: 145.7 kB / 405.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.03767, allocations: 52.36 kB / 405.5 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.03789, allocations: 166.1 kB / 405.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.03789, allocations: 0 / 405.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of Templates: time 0.01082/0.04871, allocations: 8.638 MB / 414.3 MB, free: 3.402 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4277193346060812]