Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.001776/0.001776, allocations: 124.8 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.00215/0.00215, allocations: 186.9 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.572/1.572, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.1813/0.1813, allocations: 38.51 MB / 342.5 MB, free: 8.09 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.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003034/0.003034, allocations: 68.64 kB / 478.6 MB, free: 33.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1244, allocations: 61.24 MB / 0.5272 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008969/0.1334, allocations: 6.412 MB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003061/0.1365, allocations: 1.449 MB / 0.5349 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005807/0.137, allocations: 23.81 kB / 0.5349 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006617/0.1377, allocations: 158.8 kB / 0.5351 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.1389, allocations: 437.9 kB / 0.5355 GB, free: 8.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006117/0.1395, allocations: 207.6 kB / 0.5357 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001368/0.1409, allocations: 1.114 MB / 0.5368 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004804/0.1413, allocations: 280.7 kB / 0.537 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007382/0.1421, allocations: 478.2 kB / 0.5375 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008734/0.1429, allocations: 0.5762 MB / 0.5381 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.143, allocations: 64 kB / 0.5381 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1432, allocations: 64 kB / 0.5382 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.1435, allocations: 315.1 kB / 0.5385 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004048/0.1439, allocations: 378.3 kB / 0.5388 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.145, allocations: 0.8795 MB / 0.5397 GB, free: 4.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.145, allocations: 0 / 0.5397 GB, free: 4.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.145, allocations: 0 / 0.5397 GB, free: 4.578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.145, allocations: 0 / 0.5397 GB, free: 4.578 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002089/0.1471, allocations: 1.042 MB / 0.5407 GB, free: 3.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.1471, allocations: 15.89 kB / 0.5407 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.1473, allocations: 106.7 kB / 0.5408 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.1474, allocations: 80.47 kB / 0.5409 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.1486, allocations: 0.5851 MB / 0.5415 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.1488, allocations: 128.6 kB / 0.5416 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.1489, allocations: 52 kB / 0.5417 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.1503, allocations: 0.7849 MB / 0.5424 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1503, allocations: 4 kB / 0.5424 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.1504, allocations: 20 kB / 0.5424 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.1505, allocations: 36.97 kB / 0.5425 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.1518, allocations: 0.6908 MB / 0.5432 GB, free: 0.8867 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004482/0.1563, allocations: 2.693 MB / 0.5458 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.1581, allocations: 0.8581 MB / 0.5466 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005731/0.1586, allocations: 308.6 kB / 0.5469 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.1587, allocations: 11.92 kB / 0.5469 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.1587, allocations: 46.31 kB / 0.547 GB, free: 12.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=38): time 1.713e-06/0.1587, allocations: 0 / 0.547 GB, free: 12.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=39): time 0.004008/0.1627, allocations: 1.951 MB / 0.5489 GB, free: 10.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.1628, allocations: 85.05 kB / 0.549 GB, free: 10.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005451/0.1633, allocations: 429.9 kB / 0.5494 GB, free: 10.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.1634, allocations: 33.64 kB / 0.5494 GB, free: 10.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.1637, allocations: 324.8 kB / 0.5497 GB, free: 9.855 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.1638, allocations: 142.8 kB / 0.5499 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.164, allocations: 86.2 kB / 0.5499 GB, free: 9.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.1642, allocations: 354.8 kB / 0.5503 GB, free: 9.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.1647, allocations: 244.9 kB / 0.5505 GB, free: 9.031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/0.1653, allocations: 350.3 kB / 0.5508 GB, free: 8.641 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.1664, allocations: 0.5742 MB / 0.5514 GB, free: 8.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1664, allocations: 4 kB / 0.5514 GB, free: 8.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001469/0.1678, allocations: 0.7923 MB / 0.5522 GB, free: 7.191 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1679, allocations: 8 kB / 0.5522 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1679, allocations: 4 kB / 0.5522 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.1682, allocations: 77.66 kB / 0.5523 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.1696, allocations: 287.6 kB / 0.5525 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007439/0.177, allocations: 6.513 MB / 0.5589 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.1775, allocations: 31.97 kB / 0.5589 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.1776, allocations: 24.05 kB / 0.559 GB, free: 15.7 MB / 430.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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003946/0.1779, allocations: 245.6 kB / 0.5592 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.111e-05/0.178, allocations: 47.67 kB / 0.5592 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.1796, allocations: 0.7299 MB / 0.5599 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.1796, allocations: 4 kB / 0.5599 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1796, allocations: 0 / 0.5599 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1796, allocations: 7.984 kB / 0.56 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.1823, allocations: 1.491 MB / 0.5614 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1823, allocations: 0 / 0.5614 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.1839, allocations: 303.6 kB / 0.5617 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002883/0.1842, allocations: 93.52 kB / 0.5618 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.1842, allocations: 12 kB / 0.5618 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003013/0.1872, allocations: 3.157 MB / 0.5649 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.1873, allocations: 7.922 kB / 0.5649 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.1893, allocations: 1.123 MB / 0.566 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.1894, allocations: 124.8 kB / 0.5661 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.1895, allocations: 15.94 kB / 0.5661 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.1898, allocations: 31.95 kB / 0.5662 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.19, allocations: 39.89 kB / 0.5662 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.19, allocations: 12 kB / 0.5662 GB, free: 7.773 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004349/0.1904, allocations: 299.1 kB / 0.5665 GB, free: 7.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1904, allocations: 0 / 0.5665 GB, free: 7.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007202/0.1911, allocations: 140 kB / 0.5666 GB, free: 7.344 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,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.002316/0.1935, allocations: 1.664 MB / 0.5682 GB, free: 5.621 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002696/0.1962, allocations: 0.981 MB / 0.5692 GB, free: 4.613 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1962, allocations: 0 / 0.5692 GB, free: 4.613 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.1981, allocations: 0.712 MB / 0.5699 GB, free: 3.875 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000797/0.1989, allocations: 144.6 kB / 0.57 GB, free: 3.738 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008561/0.2074, allocations: 5.508 MB / 0.5754 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006981/0.2081, allocations: 0.9448 MB / 0.5763 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000339/0.2085, allocations: 96.55 kB / 0.5764 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.2088, allocations: 207.3 kB / 0.5766 GB, free: 12.73 MB / 446.1 MB Notification: Performance of SimCode: time 1.263e-06/0.2088, allocations: 0 / 0.5766 GB, free: 12.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0477/0.2565, allocations: 12.96 MB / 0.5893 GB, free: 15.97 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.41, allocations: 8.219 kB / 0.5893 GB, free: 15.96 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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: 16.485197716858238]