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.0009919/0.0009919, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009718/0.0009718, allocations: 165 kB / 24.56 MB, free: 16 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.007/1.007, allocations: 177.1 MB / 205 MB, free: 5.289 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.2442/0.2442, allocations: 29.42 MB / 290.9 MB, free: 2.461 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.954e-06/1.954e-06, allocations: 0 / 369.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.758e-05, allocations: 2.312 kB / 369.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005062/0.005089, allocations: 4.548 MB / 374.2 MB, free: 6.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.007147, allocations: 1.282 MB / 375.5 MB, free: 5.145 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.007482, allocations: 23.75 kB / 375.5 MB, free: 5.121 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004733/0.007955, allocations: 119.1 kB / 375.6 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006971/0.008652, allocations: 338.1 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.009105, allocations: 167.6 kB / 376.1 MB, free: 4.508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007225/0.009828, allocations: 0.689 MB / 376.8 MB, free: 3.816 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.01003, allocations: 100.7 kB / 376.9 MB, free: 3.719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007507/0.01078, allocations: 474.8 kB / 377.4 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000461/0.01124, allocations: 379.1 kB / 377.7 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.787e-05/0.01131, allocations: 40 kB / 377.8 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.01139, allocations: 40 kB / 377.8 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.01157, allocations: 243.4 kB / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.01175, allocations: 187.6 kB / 378.2 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.01221, allocations: 442.4 kB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.01221, allocations: 0 / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01221, allocations: 4 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.01222, allocations: 0 / 378.7 MB, free: 1.945 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.00122/0.01344, allocations: 0.9448 MB / 379.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.01348, allocations: 15.98 kB / 379.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.01361, allocations: 76.61 kB / 379.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/0.01423, allocations: 0.5053 MB / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.01425, allocations: 29.03 kB / 380.2 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.624e-05/0.01432, allocations: 43.89 kB / 380.3 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.0148, allocations: 378.8 kB / 380.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.01482, allocations: 0 / 380.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.01485, allocations: 19.97 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001932/0.01504, allocations: 84.53 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.01528, allocations: 143.7 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.01705, allocations: 1.928 MB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.01752, allocations: 218.3 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.01782, allocations: 179.2 kB / 383.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.01784, allocations: 8 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.01787, allocations: 37.39 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.284e-06/0.01787, allocations: 0 / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.002163/0.02004, allocations: 1.254 MB / 384.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.02008, allocations: 81.11 kB / 384.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.02036, allocations: 410.6 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.02039, allocations: 37.7 kB / 385 MB, free: 11.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.02053, allocations: 311.3 kB / 385.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.158e-05/0.02062, allocations: 147 kB / 385.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.02073, allocations: 103.8 kB / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.02089, allocations: 0.5391 MB / 386.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.02101, allocations: 64.95 kB / 386.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.02121, allocations: 228.6 kB / 386.4 MB, free: 9.789 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.02156, allocations: 333.1 kB / 386.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.02156, allocations: 0 / 386.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007528/0.02231, allocations: 0.5541 MB / 387.3 MB, free: 8.832 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.02233, allocations: 8 kB / 387.3 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.02234, allocations: 4.438 kB / 387.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005152/0.02285, allocations: 227 kB / 387.5 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.02303, allocations: 83.89 kB / 387.6 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/0.02582, allocations: 4.521 MB / 392.1 MB, free: 3.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.02599, allocations: 39.95 kB / 392.2 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.02602, allocations: 19.98 kB / 392.2 MB, free: 3.691 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.0001465/0.02616, allocations: 188.5 kB / 392.4 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.897e-05/0.02623, allocations: 59.66 kB / 392.4 MB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006415/0.02687, allocations: 451 kB / 392.9 MB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.02688, allocations: 4 kB / 392.9 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.02688, allocations: 3.984 kB / 392.9 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.02689, allocations: 7.938 kB / 392.9 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009881/0.02788, allocations: 0.877 MB / 393.8 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.02788, allocations: 0 / 393.8 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-05/0.02798, allocations: 39.97 kB / 393.8 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005839/0.02856, allocations: 301.3 kB / 394.1 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/0.02861, allocations: 31.97 kB / 394.1 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/0.03174, allocations: 7.179 MB / 401.3 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.03174, allocations: 0 / 401.3 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007952/0.03254, allocations: 0.6699 MB / 402 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.03258, allocations: 39.7 kB / 402 MB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.03263, allocations: 27.98 kB / 402 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.03278, allocations: 44 kB / 402.1 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.03286, allocations: 35.92 kB / 402.1 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.03288, allocations: 15.98 kB / 402.1 MB, free: 9.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001655/0.03305, allocations: 259.1 kB / 402.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03305, allocations: 0 / 402.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004776/0.03353, allocations: 163.9 kB / 402.5 MB, free: 8.625 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.0001395/0.03367, allocations: 123.7 kB / 402.7 MB, free: 8.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008967/0.03456, allocations: 0.7344 MB / 403.4 MB, free: 7.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.03456, allocations: 0 / 403.4 MB, free: 7.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007505/0.03532, allocations: 0.9631 MB / 404.4 MB, free: 6.672 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.03574, allocations: 118.1 kB / 404.5 MB, free: 6.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.03767, allocations: 1.337 MB / 405.8 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.03778, allocations: 149.7 kB / 406 MB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000149/0.03793, allocations: 60.34 kB / 406 MB, free: 4.949 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.03799, allocations: 40.5 kB / 406.1 MB, free: 4.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.03799, allocations: 0 / 406.1 MB, free: 4.91 MB / 378.7 MB Notification: Performance of Templates: time 0.01037/0.04836, allocations: 8.35 MB / 414.4 MB, free: 12.68 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=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.2486226237379014]