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.00186/0.00186, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002025/0.002025, allocations: 165.6 kB / 24.27 MB, free: 156 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.572/1.572, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3623/0.3623, allocations: 29.41 MB / 290.5 MB, free: 2.41 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 1.313e-06/1.313e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/2.945e-05, allocations: 5.547 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.01009/0.01012, allocations: 4.97 MB / 373.9 MB, free: 6.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003419/0.01354, allocations: 1.282 MB / 375.1 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003578/0.0139, allocations: 23.75 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005997/0.0145, allocations: 111.2 kB / 375.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.01558, allocations: 350.1 kB / 375.6 MB, free: 4.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000621/0.0162, allocations: 171.5 kB / 375.8 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.01734, allocations: 0.6812 MB / 376.5 MB, free: 3.691 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.01765, allocations: 104.7 kB / 376.6 MB, free: 3.59 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008651/0.01852, allocations: 406.8 kB / 377 MB, free: 3.191 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009461/0.01946, allocations: 427 kB / 377.4 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.0196, allocations: 44 kB / 377.4 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.01977, allocations: 48 kB / 377.5 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004088/0.02018, allocations: 251.3 kB / 377.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007495/0.02093, allocations: 203.5 kB / 377.9 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.02207, allocations: 0.6075 MB / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.02208, allocations: 0 / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.02208, allocations: 0 / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.02209, allocations: 0 / 378.5 MB, free: 1.629 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.002856/0.02495, allocations: 1.019 MB / 379.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.02499, allocations: 11.98 kB / 379.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.02523, allocations: 76.61 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.02706, allocations: 0.5445 MB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/0.0271, allocations: 29.03 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.02724, allocations: 43.89 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.02825, allocations: 410.8 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.02827, allocations: 3.938 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.02833, allocations: 16 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005171/0.02885, allocations: 92.52 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005923/0.02944, allocations: 162.4 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004429/0.03387, allocations: 2.01 MB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.03488, allocations: 234.3 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/0.03562, allocations: 186.7 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.03567, allocations: 7.938 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.03572, allocations: 41.39 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 7.253e-06/0.03572, allocations: 3.984 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.005507/0.04123, allocations: 1.289 MB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.04132, allocations: 81.11 kB / 384.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006271/0.04195, allocations: 474.8 kB / 385.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.04199, allocations: 33.7 kB / 385.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.04226, allocations: 323.3 kB / 385.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.04243, allocations: 154.8 kB / 385.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.04264, allocations: 119.8 kB / 385.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000344/0.04298, allocations: 0.5548 MB / 386.4 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.04319, allocations: 80.95 kB / 386.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.04358, allocations: 264.5 kB / 386.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/0.04421, allocations: 365.1 kB / 387.1 MB, free: 8.578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.04421, allocations: 0 / 387.1 MB, free: 8.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001391/0.0456, allocations: 0.5858 MB / 387.7 MB, free: 7.977 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.04562, allocations: 8 kB / 387.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.04563, allocations: 4 kB / 387.7 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009453/0.04657, allocations: 223.1 kB / 387.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.04689, allocations: 83.83 kB / 388 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005179/0.05207, allocations: 4.548 MB / 392.5 MB, free: 2.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.05245, allocations: 48 kB / 392.6 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.05249, allocations: 20 kB / 392.6 MB, free: 2.805 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.0002738/0.05276, allocations: 200.3 kB / 392.8 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.05288, allocations: 59.7 kB / 392.8 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.05408, allocations: 471.1 kB / 393.3 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.05408, allocations: 4 kB / 393.3 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.05409, allocations: 8 kB / 393.3 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.0541, allocations: 7.922 kB / 393.3 MB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.05603, allocations: 0.9436 MB / 394.3 MB, free: 1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.05603, allocations: 0 / 394.3 MB, free: 1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.05622, allocations: 43.91 kB / 394.3 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.05743, allocations: 301.3 kB / 394.6 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.556e-05/0.05749, allocations: 35.97 kB / 394.6 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006577/0.06407, allocations: 7.21 MB / 401.9 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.06407, allocations: 4 kB / 401.9 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.06559, allocations: 0.7206 MB / 402.6 MB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.06571, allocations: 47.84 kB / 402.6 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.982e-05/0.0658, allocations: 27.98 kB / 402.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.06609, allocations: 39.88 kB / 402.7 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.06622, allocations: 39.86 kB / 402.7 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.06626, allocations: 15.98 kB / 402.7 MB, free: 7.945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003581/0.06662, allocations: 291.1 kB / 403 MB, free: 7.664 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06662, allocations: 0 / 403 MB, free: 7.664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006891/0.06731, allocations: 159.9 kB / 403.2 MB, free: 7.508 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.0001877/0.06749, allocations: 123.1 kB / 403.3 MB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.06909, allocations: 0.7618 MB / 404.1 MB, free: 6.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.06909, allocations: 0 / 404.1 MB, free: 6.578 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001602/0.07069, allocations: 0.9865 MB / 405.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006687/0.07136, allocations: 119.5 kB / 405.2 MB, free: 5.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.0737, allocations: 1.325 MB / 406.5 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.07401, allocations: 266.3 kB / 406.8 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.07422, allocations: 64.34 kB / 406.8 MB, free: 3.672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.0743, allocations: 36.5 kB / 406.9 MB, free: 3.637 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.0743, allocations: 0 / 406.9 MB, free: 3.637 MB / 378.7 MB Notification: Performance of Templates: time 0.01626/0.09056, allocations: 8.077 MB / 414.9 MB, free: 11.69 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","/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.2690236730268225]