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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1838/0.1838, allocations: 38.54 MB / 344.5 MB, free: 2.562 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003247/0.003247, allocations: 67.89 kB / 482.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3948, allocations: 61.23 MB / 0.5306 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005669/0.4005, allocations: 5.047 MB / 0.5355 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.4025, allocations: 1.309 MB / 0.5368 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.4027, allocations: 22.94 kB / 0.5368 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.4031, allocations: 120.8 kB / 0.5369 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006033/0.4037, allocations: 331.2 kB / 0.5372 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.4041, allocations: 156.7 kB / 0.5374 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005606/0.4046, allocations: 0.6987 MB / 0.5381 GB, free: 160 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.4049, allocations: 100.2 kB / 0.5382 GB, free: 100 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.4053, allocations: 321.9 kB / 0.5385 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006662/0.4059, allocations: 458.3 kB / 0.5389 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.832e-05/0.406, allocations: 45.38 kB / 0.5389 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.4061, allocations: 52.34 kB / 0.539 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.4064, allocations: 245.1 kB / 0.5392 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003294/0.4067, allocations: 282.4 kB / 0.5395 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007441/0.4075, allocations: 0.6055 MB / 0.5401 GB, free: 14.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4075, allocations: 0 / 0.5401 GB, free: 14.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4075, allocations: 1.25 kB / 0.5401 GB, free: 14.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.4075, allocations: 0 / 0.5401 GB, free: 14.93 MB / 398.1 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.002067/0.4096, allocations: 0.9651 MB / 0.541 GB, free: 14.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4096, allocations: 13.64 kB / 0.541 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.4097, allocations: 57.95 kB / 0.5411 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.4109, allocations: 0.619 MB / 0.5417 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.4109, allocations: 27.22 kB / 0.5417 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.411, allocations: 43.48 kB / 0.5418 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008788/0.4119, allocations: 0.5542 MB / 0.5423 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4119, allocations: 1.031 kB / 0.5423 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.412, allocations: 11.22 kB / 0.5423 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003265/0.4123, allocations: 91.27 kB / 0.5424 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005947/0.4129, allocations: 357.2 kB / 0.5427 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003085/0.416, allocations: 2.054 MB / 0.5448 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008778/0.4169, allocations: 374.6 kB / 0.5451 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/0.4174, allocations: 291.6 kB / 0.5454 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.4174, allocations: 7.094 kB / 0.5454 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.4175, allocations: 41.53 kB / 0.5454 GB, free: 11.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.645e-06/0.4175, allocations: 0 / 0.5454 GB, free: 11.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004758/0.4222, allocations: 2.538 MB / 0.5479 GB, free: 9.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.4223, allocations: 84.73 kB / 0.548 GB, free: 9.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/0.4227, allocations: 377.3 kB / 0.5484 GB, free: 9.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.4228, allocations: 39.61 kB / 0.5484 GB, free: 9.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.423, allocations: 255 kB / 0.5486 GB, free: 8.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.4231, allocations: 144.1 kB / 0.5488 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.4233, allocations: 98.39 kB / 0.5489 GB, free: 8.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4235, allocations: 360.2 kB / 0.5492 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.4238, allocations: 242.5 kB / 0.5494 GB, free: 8.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/0.4243, allocations: 363.2 kB / 0.5498 GB, free: 7.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000822/0.4251, allocations: 0.6161 MB / 0.5504 GB, free: 7.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4251, allocations: 0 / 0.5504 GB, free: 7.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001772/0.4269, allocations: 1.004 MB / 0.5514 GB, free: 6.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4269, allocations: 11.94 kB / 0.5514 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4269, allocations: 4 kB / 0.5514 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.428, allocations: 405.5 kB / 0.5518 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.4283, allocations: 79.91 kB / 0.5518 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006192/0.4345, allocations: 5.139 MB / 0.5569 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/0.4349, allocations: 43.94 kB / 0.5569 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.435, allocations: 20 kB / 0.5569 GB, free: 0.7383 MB / 398.1 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.0003587/0.4353, allocations: 209.7 kB / 0.5571 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.193e-05/0.4354, allocations: 43.66 kB / 0.5572 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.4369, allocations: 0.8193 MB / 0.558 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.4369, allocations: 7.938 kB / 0.558 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4369, allocations: 4 kB / 0.558 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.4369, allocations: 11.92 kB / 0.558 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.4392, allocations: 1.407 MB / 0.5594 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4392, allocations: 0 / 0.5594 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.4394, allocations: 43.95 kB / 0.5594 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.4406, allocations: 433.4 kB / 0.5598 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.991e-05/0.4406, allocations: 39.91 kB / 0.5599 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006252/0.4469, allocations: 6.722 MB / 0.5664 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4469, allocations: 160 / 0.5664 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.4489, allocations: 1.122 MB / 0.5675 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.4491, allocations: 116.8 kB / 0.5676 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.976e-05/0.4492, allocations: 31.98 kB / 0.5677 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.4495, allocations: 35.94 kB / 0.5677 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.4496, allocations: 35.94 kB / 0.5677 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.4497, allocations: 15.98 kB / 0.5677 GB, free: 4.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003732/0.4501, allocations: 267.1 kB / 0.568 GB, free: 4.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4501, allocations: 0 / 0.568 GB, free: 4.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007841/0.4508, allocations: 156 kB / 0.5681 GB, free: 4.469 MB / 414.1 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.0002037/0.451, allocations: 128 kB / 0.5683 GB, free: 4.336 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.4528, allocations: 0.8728 MB / 0.5691 GB, free: 3.438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.4528, allocations: 4.062 kB / 0.5691 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.4543, allocations: 1.078 MB / 0.5702 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007258/0.4551, allocations: 127.3 kB / 0.5703 GB, free: 2.117 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.458, allocations: 1.849 MB / 0.5721 GB, free: 240 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.4585, allocations: 0.882 MB / 0.573 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.4587, allocations: 80.28 kB / 0.573 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.4588, allocations: 35.42 kB / 0.5731 GB, free: 15.21 MB / 430.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4588, allocations: 0 / 0.5731 GB, free: 15.21 MB / 430.1 MB Notification: Performance of Templates: time 0.01432/0.4731, allocations: 7.909 MB / 0.5808 GB, free: 7.359 MB / 430.1 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.425715818069875]