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.001382/0.001382, 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.001358/0.001358, 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.401/1.401, 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.1832/0.1832, allocations: 38.53 MB / 344.5 MB, free: 2.559 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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 63.89 kB / 482.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3168, allocations: 61.24 MB / 0.5306 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.006598/0.3234, allocations: 6.497 MB / 0.5369 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.3258, allocations: 1.463 MB / 0.5384 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.326, allocations: 21.62 kB / 0.5384 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004971/0.3265, allocations: 151.5 kB / 0.5385 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008418/0.3274, allocations: 435 kB / 0.5389 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.3279, allocations: 208.8 kB / 0.5391 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.329, allocations: 1.118 MB / 0.5402 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.3293, allocations: 216.3 kB / 0.5404 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000696/0.33, allocations: 489 kB / 0.5409 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008221/0.3309, allocations: 0.5654 MB / 0.5415 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.975e-05/0.331, allocations: 65.72 kB / 0.5415 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.3311, allocations: 66.53 kB / 0.5416 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.3314, allocations: 318.3 kB / 0.5419 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004012/0.3318, allocations: 389.6 kB / 0.5423 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.3328, allocations: 0.8704 MB / 0.5431 GB, free: 12.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3328, allocations: 0 / 0.5431 GB, free: 12.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3328, allocations: 0 / 0.5431 GB, free: 12.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.3329, allocations: 1.125 kB / 0.5431 GB, free: 12.68 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.002136/0.335, allocations: 1.054 MB / 0.5441 GB, free: 11.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.335, allocations: 9.438 kB / 0.5441 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.3352, allocations: 77.97 kB / 0.5442 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.3363, allocations: 0.5873 MB / 0.5448 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.3365, allocations: 124.8 kB / 0.5449 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3366, allocations: 55.81 kB / 0.545 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.3379, allocations: 0.7827 MB / 0.5457 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.338, allocations: 1.188 kB / 0.5457 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/0.338, allocations: 21.62 kB / 0.5457 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.3381, allocations: 34.81 kB / 0.5458 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.3395, allocations: 0.6926 MB / 0.5465 GB, free: 10.36 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.004399/0.3439, allocations: 2.703 MB / 0.5491 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.3457, allocations: 0.8542 MB / 0.5499 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/0.3463, allocations: 305.6 kB / 0.5502 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.3463, allocations: 4.031 kB / 0.5502 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.3463, allocations: 48.38 kB / 0.5503 GB, free: 7.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.294e-06/0.3463, allocations: 1.094 kB / 0.5503 GB, free: 7.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.004033/0.3504, allocations: 1.937 MB / 0.5522 GB, free: 6.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.3504, allocations: 92.98 kB / 0.5523 GB, free: 5.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005253/0.351, allocations: 417.9 kB / 0.5527 GB, free: 5.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.351, allocations: 37.73 kB / 0.5527 GB, free: 5.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.3513, allocations: 320.8 kB / 0.553 GB, free: 5.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.3514, allocations: 146.7 kB / 0.5531 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.3516, allocations: 86.2 kB / 0.5532 GB, free: 4.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.3518, allocations: 366.7 kB / 0.5536 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004854/0.3522, allocations: 233 kB / 0.5538 GB, free: 4.367 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/0.3529, allocations: 354.3 kB / 0.5541 GB, free: 3.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.3539, allocations: 0.5781 MB / 0.5547 GB, free: 3.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3539, allocations: 0 / 0.5547 GB, free: 3.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001559/0.3555, allocations: 0.7848 MB / 0.5555 GB, free: 2.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3555, allocations: 12.03 kB / 0.5555 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3555, allocations: 4 kB / 0.5555 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/0.3557, allocations: 73.66 kB / 0.5555 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.3571, allocations: 287.5 kB / 0.5558 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00677/0.3639, allocations: 6.513 MB / 0.5622 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005471/0.3644, allocations: 35.91 kB / 0.5622 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.3645, allocations: 23.98 kB / 0.5622 GB, free: 11.03 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 (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.0004922/0.365, allocations: 237.8 kB / 0.5625 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3651, allocations: 55.67 kB / 0.5625 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.3666, allocations: 0.7299 MB / 0.5632 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.3666, allocations: 4 kB / 0.5632 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3666, allocations: 0 / 0.5632 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.3666, allocations: 0 / 0.5632 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.3694, allocations: 1.506 MB / 0.5647 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.3694, allocations: 8.062 kB / 0.5647 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/0.371, allocations: 295.6 kB / 0.565 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002753/0.3712, allocations: 93.58 kB / 0.5651 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.3713, allocations: 12 kB / 0.5651 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/0.3742, allocations: 3.157 MB / 0.5682 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3742, allocations: 0 / 0.5682 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.3762, allocations: 1.123 MB / 0.5693 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.3764, allocations: 124.7 kB / 0.5694 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/0.3765, allocations: 12.03 kB / 0.5694 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.3768, allocations: 31.97 kB / 0.5694 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.3769, allocations: 47.88 kB / 0.5695 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.377, allocations: 12 kB / 0.5695 GB, free: 3.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003823/0.3774, allocations: 291.1 kB / 0.5698 GB, free: 2.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3774, allocations: 0 / 0.5698 GB, free: 2.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007761/0.3781, allocations: 140 kB / 0.5699 GB, free: 2.684 MB / 414.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.0002114/0.3783, allocations: 114.5 kB / 0.57 GB, free: 2.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00259/0.3809, allocations: 0.9655 MB / 0.571 GB, free: 1.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3809, allocations: 0 / 0.571 GB, free: 1.574 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.3829, allocations: 0.7195 MB / 0.5717 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008954/0.3838, allocations: 147.4 kB / 0.5718 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.3867, allocations: 1.443 MB / 0.5732 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007901/0.3875, allocations: 0.9487 MB / 0.5741 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003076/0.3878, allocations: 100.6 kB / 0.5742 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.3879, allocations: 39.42 kB / 0.5743 GB, free: 14.1 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3879, allocations: 0 / 0.5743 GB, free: 14.1 MB / 430.1 MB Notification: Performance of Templates: time 0.01559/0.4035, allocations: 8.038 MB / 0.5821 GB, free: 6.137 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.058874593116343]