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.001446/0.001446, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001749/0.001749, allocations: 169.9 kB / 24.91 MB, free: 9.199 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.9855/0.9855, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2911/0.2911, allocations: 29.42 MB / 291.2 MB, free: 2.496 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.603e-06/1.603e-06, allocations: 0 / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.821e-05, allocations: 2.312 kB / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005775/0.005803, allocations: 4.539 MB / 321.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.008083, allocations: 1.321 MB / 322.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003521/0.008435, allocations: 23.75 kB / 322.7 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004268/0.008862, allocations: 115.2 kB / 322.8 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008116/0.009673, allocations: 334.1 kB / 323.2 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.01029, allocations: 175.5 kB / 323.3 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007838/0.01108, allocations: 0.6889 MB / 324 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.01129, allocations: 111.3 kB / 324.1 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007418/0.01203, allocations: 470.8 kB / 324.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005009/0.01253, allocations: 359.1 kB / 324.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.884e-05/0.0126, allocations: 40 kB / 325 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.96e-05/0.01269, allocations: 40 kB / 325 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.01291, allocations: 243.4 kB / 325.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.0131, allocations: 195.5 kB / 325.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005654/0.01367, allocations: 434.5 kB / 325.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.01368, allocations: 0 / 325.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01368, allocations: 0 / 325.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2e-05/0.0137, allocations: 0 / 325.9 MB, free: 6.938 MB / 298.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.001387/0.01509, allocations: 0.7261 MB / 326.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.01513, allocations: 15.98 kB / 326.6 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.01524, allocations: 64.88 kB / 326.7 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.01579, allocations: 408.2 kB / 327.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.01581, allocations: 21.03 kB / 327.1 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.01588, allocations: 43.92 kB / 327.1 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.01623, allocations: 344 kB / 327.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.01624, allocations: 4 kB / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.01627, allocations: 12 kB / 327.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.0164, allocations: 24.64 kB / 327.5 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.01658, allocations: 123.2 kB / 327.6 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.0181, allocations: 1.343 MB / 329 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.01848, allocations: 218.6 kB / 329.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.01869, allocations: 137.7 kB / 329.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.01872, allocations: 11.94 kB / 329.3 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.01874, allocations: 34.56 kB / 329.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 2.475e-06/0.01875, allocations: 4 kB / 329.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001281/0.02003, allocations: 0.6439 MB / 330 MB, free: 2.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.02007, allocations: 89.05 kB / 330.1 MB, free: 2.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.02028, allocations: 327.2 kB / 330.4 MB, free: 2.145 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.02031, allocations: 37.7 kB / 330.5 MB, free: 2.102 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.02042, allocations: 213.5 kB / 330.7 MB, free: 1.887 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.992e-05/0.0205, allocations: 134.8 kB / 330.8 MB, free: 1.754 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.751e-05/0.02059, allocations: 90.14 kB / 330.9 MB, free: 1.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.0207, allocations: 358.7 kB / 331.2 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.02078, allocations: 51.81 kB / 331.3 MB, free: 1.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.02091, allocations: 157.3 kB / 331.4 MB, free: 1.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.02115, allocations: 251.4 kB / 331.7 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.02115, allocations: 4 kB / 331.7 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005224/0.02168, allocations: 391.9 kB / 332.1 MB, free: 364 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.0217, allocations: 8 kB / 332.1 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.0217, allocations: 0 / 332.1 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000419/0.02212, allocations: 147.3 kB / 332.2 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.02229, allocations: 83.83 kB / 332.3 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.02469, allocations: 3.276 MB / 335.6 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.02485, allocations: 43.67 kB / 335.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.02488, allocations: 12 kB / 335.6 MB, free: 12.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 45 * 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.0001402/0.02502, allocations: 136.5 kB / 335.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.02507, allocations: 31.97 kB / 335.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.02556, allocations: 402.5 kB / 336.2 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.02556, allocations: 8.031 kB / 336.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.02557, allocations: 4 kB / 336.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.02557, allocations: 0 / 336.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.02585, allocations: 229.8 kB / 336.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.02585, allocations: 0 / 336.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.675e-05/0.02593, allocations: 31.98 kB / 336.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004976/0.02643, allocations: 253.3 kB / 336.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.02647, allocations: 31.97 kB / 336.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002544/0.02902, allocations: 4.893 MB / 341.6 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.02902, allocations: 320 / 341.6 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/0.02959, allocations: 0.5688 MB / 342.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.02963, allocations: 47.58 kB / 342.3 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.02968, allocations: 36.05 kB / 342.3 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.02978, allocations: 4 kB / 342.3 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.02984, allocations: 35.92 kB / 342.3 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.02986, allocations: 15.92 kB / 342.3 MB, free: 5.344 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.709e-05/0.02996, allocations: 128.7 kB / 342.5 MB, free: 5.215 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02996, allocations: 0 / 342.5 MB, free: 5.215 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004175/0.03038, allocations: 163.9 kB / 342.6 MB, free: 5.055 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (28): * Single equations (assignments): 20 * 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.000145/0.03052, allocations: 111.3 kB / 342.7 MB, free: 4.941 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006722/0.03119, allocations: 0.4985 MB / 343.2 MB, free: 4.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.0312, allocations: 4 kB / 343.2 MB, free: 4.406 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005531/0.03175, allocations: 0.6623 MB / 343.9 MB, free: 3.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.03212, allocations: 121.6 kB / 344 MB, free: 3.566 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.03374, allocations: 1.051 MB / 345.1 MB, free: 2.477 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.03386, allocations: 145.7 kB / 345.2 MB, free: 2.312 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001375/0.034, allocations: 56.36 kB / 345.3 MB, free: 2.258 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.03416, allocations: 139.3 kB / 345.4 MB, free: 2.121 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.03416, allocations: 0 / 345.4 MB, free: 2.121 MB / 314.7 MB Notification: Performance of Templates: time 0.01206/0.04622, allocations: 8.455 MB / 353.9 MB, free: 9.812 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.4172335448674858]