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.001814/0.001814, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001873/0.001873, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.414/1.414, allocations: 225.6 MB / 252.5 MB, free: 12.98 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.1831/0.1831, allocations: 38.55 MB / 346.3 MB, free: 2.094 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.001932/0.001932, allocations: 59.91 kB / 484.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3735, allocations: 61.3 MB / 0.5331 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.00773/0.3812, allocations: 6.515 MB / 0.5394 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002818/0.384, allocations: 1.466 MB / 0.5408 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.3844, allocations: 34.81 kB / 0.5409 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005805/0.385, allocations: 155.7 kB / 0.541 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.386, allocations: 429.8 kB / 0.5414 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.3866, allocations: 209.3 kB / 0.5416 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.3879, allocations: 1.118 MB / 0.5427 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.3884, allocations: 220.6 kB / 0.5429 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008501/0.3892, allocations: 493.9 kB / 0.5434 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.3904, allocations: 0.5592 MB / 0.544 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.3906, allocations: 69.97 kB / 0.544 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.3908, allocations: 69.09 kB / 0.5441 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004867/0.3913, allocations: 323.1 kB / 0.5444 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005426/0.3919, allocations: 373.2 kB / 0.5448 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.3935, allocations: 0.8825 MB / 0.5456 GB, free: 12.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.3935, allocations: 0 / 0.5456 GB, free: 12.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.3935, allocations: 0 / 0.5456 GB, free: 12.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.834e-05/0.3935, allocations: 0 / 0.5456 GB, free: 12.5 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.002903/0.3964, allocations: 0.9655 MB / 0.5466 GB, free: 11.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.3965, allocations: 8.531 kB / 0.5466 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.3967, allocations: 83.22 kB / 0.5466 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.3981, allocations: 0.5176 MB / 0.5471 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.3984, allocations: 119.6 kB / 0.5473 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.3985, allocations: 53.16 kB / 0.5473 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.4002, allocations: 0.782 MB / 0.5481 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.4002, allocations: 5.031 kB / 0.5481 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.889e-05/0.4003, allocations: 21.5 kB / 0.5481 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.4004, allocations: 35.16 kB / 0.5481 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.402, allocations: 0.7002 MB / 0.5488 GB, free: 10.37 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.004926/0.4069, allocations: 2.653 MB / 0.5514 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.4088, allocations: 0.705 MB / 0.5521 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006758/0.4095, allocations: 309.7 kB / 0.5524 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.4095, allocations: 4.406 kB / 0.5524 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.4096, allocations: 44.47 kB / 0.5524 GB, free: 7.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.465e-06/0.4096, allocations: 0 / 0.5524 GB, free: 7.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.004181/0.4138, allocations: 1.647 MB / 0.5541 GB, free: 6.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.4138, allocations: 85.05 kB / 0.5541 GB, free: 6.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005317/0.4144, allocations: 429.9 kB / 0.5545 GB, free: 5.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.4144, allocations: 33.7 kB / 0.5546 GB, free: 5.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.4147, allocations: 316.9 kB / 0.5549 GB, free: 5.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.4148, allocations: 142.7 kB / 0.555 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.415, allocations: 94.08 kB / 0.5551 GB, free: 5.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.4152, allocations: 358.8 kB / 0.5554 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/0.4157, allocations: 240.8 kB / 0.5557 GB, free: 4.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.4163, allocations: 353.6 kB / 0.556 GB, free: 4.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.4174, allocations: 0.5742 MB / 0.5566 GB, free: 3.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4174, allocations: 0 / 0.5566 GB, free: 3.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00155/0.4189, allocations: 0.7172 MB / 0.5573 GB, free: 2.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.419, allocations: 8 kB / 0.5573 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.419, allocations: 0 / 0.5573 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002972/0.4193, allocations: 73.67 kB / 0.5574 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.4208, allocations: 299.6 kB / 0.5576 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006577/0.4273, allocations: 6.095 MB / 0.5636 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006691/0.428, allocations: 39.95 kB / 0.5636 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.469e-05/0.4281, allocations: 12 kB / 0.5636 GB, free: 11.88 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.0005385/0.4286, allocations: 249.6 kB / 0.5639 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.4288, allocations: 47.72 kB / 0.5639 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.4304, allocations: 0.6584 MB / 0.5646 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.4304, allocations: 8 kB / 0.5646 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4304, allocations: 0 / 0.5646 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.4304, allocations: 3.984 kB / 0.5646 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.4336, allocations: 1.387 MB / 0.5659 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.4336, allocations: 4 kB / 0.5659 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/0.4353, allocations: 299.6 kB / 0.5662 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002929/0.4356, allocations: 89.59 kB / 0.5663 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.4356, allocations: 11.98 kB / 0.5663 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/0.4383, allocations: 2.954 MB / 0.5692 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4384, allocations: 0 / 0.5692 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.4405, allocations: 1.055 MB / 0.5702 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.4407, allocations: 47.67 kB / 0.5703 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.4408, allocations: 15.97 kB / 0.5703 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.4412, allocations: 27.97 kB / 0.5703 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.4413, allocations: 51.8 kB / 0.5704 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.4414, allocations: 12 kB / 0.5704 GB, free: 4.617 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003975/0.4418, allocations: 295.1 kB / 0.5707 GB, free: 4.332 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4418, allocations: 0 / 0.5707 GB, free: 4.332 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008494/0.4426, allocations: 136 kB / 0.5708 GB, free: 4.199 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.0002238/0.4428, allocations: 110.4 kB / 0.5709 GB, free: 4.082 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003091/0.4459, allocations: 0.9656 MB / 0.5718 GB, free: 3.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4459, allocations: 0 / 0.5718 GB, free: 3.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.4481, allocations: 0.7197 MB / 0.5725 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.4492, allocations: 144.8 kB / 0.5727 GB, free: 2.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.4525, allocations: 1.452 MB / 0.5741 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.4536, allocations: 0.9486 MB / 0.575 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004122/0.454, allocations: 104.5 kB / 0.5751 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.4541, allocations: 35.44 kB / 0.5752 GB, free: 15.61 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4541, allocations: 0 / 0.5752 GB, free: 15.61 MB / 430.1 MB Notification: Performance of Templates: time 0.01786/0.472, allocations: 8.159 MB / 0.5831 GB, free: 7.523 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.242789686657488]