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.001381/0.001381, allocations: 96.31 kB / 20.96 MB, free: 3.59 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.00155/0.00155, allocations: 161.7 kB / 24.26 MB, free: 296 kB / 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 1.504/1.504, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3315/0.3315, allocations: 29.41 MB / 290.5 MB, free: 2.434 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.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 2.164e-06/2.164e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.472e-05/3.688e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.008328/0.008365, allocations: 4.748 MB / 373.6 MB, free: 6.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003075/0.01144, allocations: 1.243 MB / 374.9 MB, free: 5.273 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003473/0.01179, allocations: 19.81 kB / 374.9 MB, free: 5.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00063/0.01242, allocations: 115.1 kB / 375 MB, free: 5.141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009126/0.01333, allocations: 346.1 kB / 375.4 MB, free: 4.801 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.014, allocations: 171.5 kB / 375.5 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.01525, allocations: 0.6851 MB / 376.2 MB, free: 3.945 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003364/0.01559, allocations: 104.7 kB / 376.3 MB, free: 3.844 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009386/0.01652, allocations: 402.8 kB / 376.7 MB, free: 3.449 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009664/0.01749, allocations: 419 kB / 377.1 MB, free: 3.039 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.01762, allocations: 44 kB / 377.2 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.01776, allocations: 48 kB / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004054/0.01817, allocations: 247.3 kB / 377.4 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004192/0.01859, allocations: 207.5 kB / 377.6 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.01975, allocations: 0.6075 MB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.01976, allocations: 0 / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01976, allocations: 0 / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.01977, allocations: 4 kB / 378.3 MB, free: 1.891 MB / 346.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.00283/0.0226, allocations: 0.8838 MB / 379.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.728e-05/0.02267, allocations: 15.98 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.02293, allocations: 80.61 kB / 379.2 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.02463, allocations: 0.5651 MB / 379.8 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/0.02467, allocations: 21.03 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.02483, allocations: 51.89 kB / 379.9 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.02609, allocations: 0.552 MB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.02611, allocations: 4 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.763e-05/0.02616, allocations: 12 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004348/0.0266, allocations: 80.53 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008466/0.02745, allocations: 362.3 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004193/0.03164, allocations: 1.88 MB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.03288, allocations: 373.2 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007852/0.03367, allocations: 317.2 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.0337, allocations: 8 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.03375, allocations: 34.56 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.535e-06/0.03375, allocations: 0 / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.005133/0.03889, allocations: 1.968 MB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.03897, allocations: 89.17 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005903/0.03956, allocations: 377.5 kB / 385.9 MB, free: 9.984 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.03961, allocations: 33.7 kB / 385.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.0399, allocations: 252.6 kB / 386.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.0401, allocations: 142.8 kB / 386.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.04031, allocations: 98.14 kB / 386.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002557/0.04056, allocations: 358.8 kB / 386.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/0.04098, allocations: 244.9 kB / 387 MB, free: 8.855 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.04154, allocations: 366.1 kB / 387.4 MB, free: 8.449 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000989/0.04253, allocations: 0.6156 MB / 388 MB, free: 7.789 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.04253, allocations: 8 kB / 388 MB, free: 7.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001973/0.04451, allocations: 1.033 MB / 389 MB, free: 6.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.04453, allocations: 7.938 kB / 389 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.04454, allocations: 4 kB / 389 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.04574, allocations: 417.5 kB / 389.4 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.04609, allocations: 83.89 kB / 389.5 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006672/0.05277, allocations: 4.871 MB / 394.4 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.0532, allocations: 39.95 kB / 394.4 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.05327, allocations: 23.98 kB / 394.4 MB, free: 1.09 MB / 362.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.0003362/0.0536, allocations: 209.5 kB / 394.7 MB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.05375, allocations: 55.72 kB / 394.7 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.05547, allocations: 0.8157 MB / 395.5 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.05548, allocations: 8.062 kB / 395.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.821e-05/0.0555, allocations: 7.984 kB / 395.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.05551, allocations: 7.922 kB / 395.5 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/0.05827, allocations: 1.273 MB / 396.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.05827, allocations: 0 / 396.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.0585, allocations: 43.91 kB / 396.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.05996, allocations: 461.4 kB / 397.3 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.46e-05/0.06004, allocations: 35.97 kB / 397.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006895/0.06693, allocations: 6.209 MB / 403.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.06694, allocations: 0 / 403.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.0691, allocations: 1.133 MB / 404.7 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.06923, allocations: 39.88 kB / 404.7 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.06934, allocations: 35.98 kB / 404.8 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.06966, allocations: 35.94 kB / 404.8 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.06978, allocations: 35.92 kB / 404.8 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.06983, allocations: 15.98 kB / 404.8 MB, free: 6.109 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000355/0.07018, allocations: 255.2 kB / 405.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07018, allocations: 7.875 kB / 405.1 MB, free: 5.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007639/0.07095, allocations: 159.9 kB / 405.3 MB, free: 5.695 MB / 378.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.0001985/0.07114, allocations: 115.2 kB / 405.4 MB, free: 5.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.07319, allocations: 0.8835 MB / 406.3 MB, free: 4.664 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.0732, allocations: 0 / 406.3 MB, free: 4.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.07486, allocations: 0.8527 MB / 407.1 MB, free: 3.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.07562, allocations: 132 kB / 407.2 MB, free: 3.629 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.07858, allocations: 1.563 MB / 408.8 MB, free: 2.023 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.07899, allocations: 286.4 kB / 409.1 MB, free: 1.719 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.07923, allocations: 72.34 kB / 409.2 MB, free: 1.645 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.888e-05/0.07933, allocations: 32.5 kB / 409.2 MB, free: 1.613 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.07933, allocations: 0 / 409.2 MB, free: 1.613 MB / 378.7 MB Notification: Performance of Templates: time 0.01707/0.0964, allocations: 8.056 MB / 417.2 MB, free: 9.688 MB / 394.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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.246705455938354]