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.001353/0.001353, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001116/0.001116, allocations: 161 kB / 24.56 MB, free: 12 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 0.9399/0.9399, allocations: 177.1 MB / 205 MB, free: 5.594 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.2501/0.2501, allocations: 29.41 MB / 290.9 MB, free: 2.492 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.212e-06/1.212e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.783e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.00456/0.004588, allocations: 4.554 MB / 374.2 MB, free: 6.418 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.006361, allocations: 1.286 MB / 375.5 MB, free: 5.129 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.006584, allocations: 27.69 kB / 375.5 MB, free: 5.102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.006967, allocations: 115.2 kB / 375.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005616/0.007529, allocations: 330.1 kB / 375.9 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.007887, allocations: 167.6 kB / 376.1 MB, free: 4.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000544/0.008431, allocations: 0.689 MB / 376.8 MB, free: 3.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.008609, allocations: 100.7 kB / 376.9 MB, free: 3.711 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004389/0.009048, allocations: 394.9 kB / 377.3 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000449/0.009497, allocations: 427 kB / 377.7 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.225e-05/0.009559, allocations: 44 kB / 377.7 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.219e-05/0.009631, allocations: 48 kB / 377.8 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.009804, allocations: 255.3 kB / 378 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.009979, allocations: 199.6 kB / 378.2 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.01042, allocations: 462.4 kB / 378.7 MB, free: 1.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.01043, allocations: 0 / 378.7 MB, free: 1.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01043, allocations: 0 / 378.7 MB, free: 1.918 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.01044, allocations: 0 / 378.7 MB, free: 1.918 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.001325/0.01176, allocations: 0.9799 MB / 379.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.0118, allocations: 15.98 kB / 379.7 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.01195, allocations: 76.61 kB / 379.8 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000888/0.01284, allocations: 0.5366 MB / 380.3 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.01286, allocations: 32.97 kB / 380.3 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.725e-05/0.01295, allocations: 47.89 kB / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.0135, allocations: 382.7 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.01351, allocations: 3.938 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.01355, allocations: 12 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002592/0.01381, allocations: 92.52 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.01411, allocations: 139.7 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.01617, allocations: 1.925 MB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005267/0.0167, allocations: 214.3 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/0.01705, allocations: 182.2 kB / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.01708, allocations: 11.94 kB / 383.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.01711, allocations: 41.33 kB / 383.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.773e-06/0.01711, allocations: 0 / 383.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.002626/0.01973, allocations: 1.242 MB / 384.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.01978, allocations: 81.11 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.02012, allocations: 410.6 kB / 385.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.02015, allocations: 33.7 kB / 385.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.02033, allocations: 307.3 kB / 385.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.02044, allocations: 150.8 kB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.02058, allocations: 99.84 kB / 385.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.02076, allocations: 0.5432 MB / 386.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.02092, allocations: 68.95 kB / 386.3 MB, free: 9.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.02117, allocations: 232.6 kB / 386.5 MB, free: 9.688 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.0216, allocations: 329 kB / 386.8 MB, free: 9.305 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.0216, allocations: 0 / 386.8 MB, free: 9.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009846/0.02258, allocations: 0.5543 MB / 387.4 MB, free: 8.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.0226, allocations: 8 kB / 387.4 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.02261, allocations: 4 kB / 387.4 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006702/0.02328, allocations: 223.3 kB / 387.6 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.02351, allocations: 79.89 kB / 387.7 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/0.02668, allocations: 4.524 MB / 392.2 MB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.0269, allocations: 43.94 kB / 392.2 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.02693, allocations: 16 kB / 392.3 MB, free: 3.598 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.0001511/0.02708, allocations: 192.4 kB / 392.4 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/0.02717, allocations: 51.72 kB / 392.5 MB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007772/0.02794, allocations: 466.9 kB / 392.9 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.02795, allocations: 4 kB / 393 MB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.02795, allocations: 0 / 393 MB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.02796, allocations: 3.938 kB / 393 MB, free: 2.844 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.0292, allocations: 0.8732 MB / 393.8 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.0292, allocations: 3.938 kB / 393.8 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.02933, allocations: 40.05 kB / 393.9 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007608/0.03009, allocations: 297.3 kB / 394.2 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/0.03014, allocations: 35.97 kB / 394.2 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00362/0.03376, allocations: 7.175 MB / 401.4 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.03376, allocations: 0 / 401.4 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000954/0.03472, allocations: 0.6777 MB / 402 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.03477, allocations: 35.72 kB / 402.1 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.03484, allocations: 27.98 kB / 402.1 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.03504, allocations: 39.94 kB / 402.1 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/0.03513, allocations: 39.86 kB / 402.2 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.03516, allocations: 16.05 kB / 402.2 MB, free: 8.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.03536, allocations: 259.1 kB / 402.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03536, allocations: 0 / 402.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006147/0.03597, allocations: 163.9 kB / 402.6 MB, free: 8.527 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.0001436/0.03612, allocations: 115.2 kB / 402.7 MB, free: 8.406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.0372, allocations: 0.7344 MB / 403.5 MB, free: 7.633 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.03721, allocations: 4 kB / 403.5 MB, free: 7.629 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009481/0.03815, allocations: 0.963 MB / 404.4 MB, free: 6.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.03872, allocations: 124.3 kB / 404.6 MB, free: 6.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.04109, allocations: 1.332 MB / 405.9 MB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.04123, allocations: 149.7 kB / 406 MB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.04141, allocations: 60.34 kB / 406.1 MB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.04148, allocations: 40.44 kB / 406.1 MB, free: 4.816 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.04148, allocations: 0 / 406.1 MB, free: 4.816 MB / 378.7 MB Notification: Performance of Templates: time 0.01207/0.05355, allocations: 8.082 MB / 414.2 MB, free: 12.86 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.4696409329771996]