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.001624/0.001624, allocations: 123.9 kB / 17.79 MB, free: 5.266 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.001839/0.001839, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 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.464/1.464, allocations: 225.6 MB / 249.1 MB, free: 3.59 MB / 190.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.1828/0.1828, allocations: 38.5 MB / 342.5 MB, free: 8.066 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 61.77 kB / 478.6 MB, free: 33.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1027, allocations: 61.25 MB / 0.5272 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.006612/0.1093, allocations: 4.959 MB / 0.5321 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.1116, allocations: 1.305 MB / 0.5333 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.1117, allocations: 15.94 kB / 0.5334 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.1122, allocations: 119.1 kB / 0.5335 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006828/0.1129, allocations: 342.4 kB / 0.5338 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.1132, allocations: 151.7 kB / 0.5339 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008079/0.1141, allocations: 0.6931 MB / 0.5346 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.1143, allocations: 127.9 kB / 0.5347 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004475/0.1147, allocations: 302.8 kB / 0.535 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007108/0.1155, allocations: 474.6 kB / 0.5355 GB, free: 8.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.109e-05/0.1155, allocations: 44 kB / 0.5355 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1156, allocations: 48 kB / 0.5356 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.1159, allocations: 239.4 kB / 0.5358 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.1162, allocations: 282.7 kB / 0.5361 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007343/0.1169, allocations: 0.6109 MB / 0.5367 GB, free: 7.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.117, allocations: 0 / 0.5367 GB, free: 7.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.117, allocations: 0 / 0.5367 GB, free: 7.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.117, allocations: 0 / 0.5367 GB, free: 7.656 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.002035/0.119, allocations: 0.9592 MB / 0.5376 GB, free: 6.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.119, allocations: 11.89 kB / 0.5376 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.1191, allocations: 74.72 kB / 0.5377 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.1193, allocations: 52.61 kB / 0.5377 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.1206, allocations: 0.6269 MB / 0.5383 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.1206, allocations: 24.66 kB / 0.5384 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/0.1207, allocations: 43.89 kB / 0.5384 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008694/0.1216, allocations: 0.5518 MB / 0.539 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.1216, allocations: 3.938 kB / 0.539 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.1216, allocations: 16 kB / 0.539 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000319/0.1219, allocations: 88.52 kB / 0.5391 GB, free: 5.082 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006053/0.1226, allocations: 362.3 kB / 0.5394 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/0.1259, allocations: 2.047 MB / 0.5414 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008941/0.1268, allocations: 369.2 kB / 0.5418 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.1273, allocations: 301.5 kB / 0.542 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.1273, allocations: 3.984 kB / 0.542 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.1274, allocations: 42.5 kB / 0.5421 GB, free: 1.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.1274, allocations: 0 / 0.5421 GB, free: 1.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004795/0.1322, allocations: 2.531 MB / 0.5446 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.1322, allocations: 81.11 kB / 0.5446 GB, free: 15.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.1327, allocations: 385.5 kB / 0.545 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.1327, allocations: 29.7 kB / 0.545 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.1329, allocations: 256.6 kB / 0.5453 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.1331, allocations: 142.8 kB / 0.5454 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.1332, allocations: 98.2 kB / 0.5455 GB, free: 14.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002607/0.1335, allocations: 358.7 kB / 0.5458 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005289/0.134, allocations: 249 kB / 0.5461 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.1345, allocations: 358.7 kB / 0.5464 GB, free: 13.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008688/0.1353, allocations: 0.6156 MB / 0.547 GB, free: 12.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1353, allocations: 0 / 0.547 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002016/0.1374, allocations: 1.006 MB / 0.548 GB, free: 11.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.1374, allocations: 8 kB / 0.548 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.1374, allocations: 4 kB / 0.548 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.1385, allocations: 413.2 kB / 0.5484 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.1389, allocations: 83.97 kB / 0.5485 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00635/0.1452, allocations: 5.131 MB / 0.5535 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005006/0.1457, allocations: 43.94 kB / 0.5535 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.1457, allocations: 20.06 kB / 0.5536 GB, free: 5.449 MB / 414.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.0004068/0.1462, allocations: 201.7 kB / 0.5538 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.1463, allocations: 43.72 kB / 0.5538 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.1479, allocations: 0.827 MB / 0.5546 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1479, allocations: 4 kB / 0.5546 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1479, allocations: 4 kB / 0.5546 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1479, allocations: 3.984 kB / 0.5546 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.1504, allocations: 1.422 MB / 0.556 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1504, allocations: 3.938 kB / 0.556 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.1506, allocations: 31.98 kB / 0.556 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.1517, allocations: 449.3 kB / 0.5565 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.949e-05/0.1518, allocations: 40.03 kB / 0.5565 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006507/0.1583, allocations: 6.714 MB / 0.5631 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1583, allocations: 4 kB / 0.5631 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.1603, allocations: 1.126 MB / 0.5642 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.1604, allocations: 120.8 kB / 0.5643 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.544e-05/0.1605, allocations: 27.98 kB / 0.5643 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.1608, allocations: 35.94 kB / 0.5643 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.1609, allocations: 39.94 kB / 0.5644 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.397e-05/0.161, allocations: 19.92 kB / 0.5644 GB, free: 9.578 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003111/0.1613, allocations: 259.2 kB / 0.5646 GB, free: 9.324 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1613, allocations: 0 / 0.5646 GB, free: 9.324 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006641/0.1619, allocations: 156 kB / 0.5648 GB, free: 9.172 MB / 430.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.002234/0.1642, allocations: 1.676 MB / 0.5664 GB, free: 7.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.1659, allocations: 0.876 MB / 0.5673 GB, free: 6.539 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.1659, allocations: 0 / 0.5673 GB, free: 6.539 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.1675, allocations: 1.075 MB / 0.5683 GB, free: 5.348 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006678/0.1682, allocations: 126.3 kB / 0.5685 GB, free: 5.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00909/0.1773, allocations: 6.278 MB / 0.5746 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/0.178, allocations: 0.8898 MB / 0.5755 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000238/0.1782, allocations: 68.34 kB / 0.5755 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.1784, allocations: 155.4 kB / 0.5757 GB, free: 13.62 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1784, allocations: 0 / 0.5757 GB, free: 13.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05271/0.2311, allocations: 12.56 MB / 0.5879 GB, free: 1.234 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.97, allocations: 12 kB / 0.5879 GB, free: 1.223 MB / 446.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.294956220779568]