Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.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.001286/0.001286, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.001322/0.001322, allocations: 184.5 kB / 22.21 MB, free: 116 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.437/1.437, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.1855/0.1855, allocations: 38.52 MB / 344.5 MB, free: 2.613 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.Inverters.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.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.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.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.89 kB / 482.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3894, allocations: 61.24 MB / 0.5306 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.007044/0.3964, allocations: 6.414 MB / 0.5368 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.3989, allocations: 1.432 MB / 0.5382 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003631/0.3992, allocations: 21.62 kB / 0.5383 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.3998, allocations: 146.2 kB / 0.5384 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000972/0.4008, allocations: 420.3 kB / 0.5388 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.4013, allocations: 190.1 kB / 0.539 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.4025, allocations: 1.088 MB / 0.54 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003818/0.4029, allocations: 220.2 kB / 0.5403 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007293/0.4036, allocations: 471.3 kB / 0.5407 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009806/0.4046, allocations: 0.5615 MB / 0.5412 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.4047, allocations: 65.03 kB / 0.5413 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.4049, allocations: 65.22 kB / 0.5414 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000349/0.4052, allocations: 316 kB / 0.5417 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.4056, allocations: 369.6 kB / 0.542 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.4066, allocations: 0.8442 MB / 0.5429 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4066, allocations: 1.062 kB / 0.5429 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4066, allocations: 0 / 0.5429 GB, free: 12.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.4067, allocations: 0 / 0.5429 GB, free: 12.89 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002268/0.4089, allocations: 1.018 MB / 0.5438 GB, free: 12.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.409, allocations: 9 kB / 0.5439 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.4091, allocations: 81.16 kB / 0.5439 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.4103, allocations: 0.5775 MB / 0.5445 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.4105, allocations: 124.2 kB / 0.5446 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.4106, allocations: 54.73 kB / 0.5447 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.4121, allocations: 0.7778 MB / 0.5454 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.4121, allocations: 1.094 kB / 0.5454 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-05/0.4122, allocations: 21.5 kB / 0.5454 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/0.4123, allocations: 34.94 kB / 0.5455 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.4138, allocations: 0.7265 MB / 0.5462 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.418, allocations: 2.597 MB / 0.5487 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.4197, allocations: 0.7711 MB / 0.5495 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006883/0.4204, allocations: 376.6 kB / 0.5498 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.4204, allocations: 6.219 kB / 0.5498 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.4205, allocations: 37.12 kB / 0.5499 GB, free: 7.902 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.084e-06/0.4205, allocations: 7.938 kB / 0.5499 GB, free: 7.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004811/0.4253, allocations: 2.149 MB / 0.552 GB, free: 6.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.4254, allocations: 85.48 kB / 0.5521 GB, free: 6.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/0.4259, allocations: 409.8 kB / 0.5525 GB, free: 5.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.4259, allocations: 29.7 kB / 0.5525 GB, free: 5.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.4262, allocations: 293.1 kB / 0.5528 GB, free: 5.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.4263, allocations: 186.4 kB / 0.5529 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.4265, allocations: 94.25 kB / 0.553 GB, free: 5.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4267, allocations: 362.8 kB / 0.5534 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/0.4272, allocations: 272.9 kB / 0.5536 GB, free: 4.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/0.4278, allocations: 377.1 kB / 0.554 GB, free: 4.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.429, allocations: 0.6498 MB / 0.5546 GB, free: 3.473 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.429, allocations: 4 kB / 0.5546 GB, free: 3.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001589/0.4306, allocations: 0.8761 MB / 0.5555 GB, free: 2.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.4306, allocations: 8 kB / 0.5555 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4306, allocations: 4 kB / 0.5555 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000286/0.4309, allocations: 69.67 kB / 0.5556 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.4323, allocations: 315.7 kB / 0.5559 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006472/0.4388, allocations: 6.532 MB / 0.5623 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005791/0.4394, allocations: 44.11 kB / 0.5623 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.4394, allocations: 20 kB / 0.5623 GB, free: 11.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * 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.0004226/0.4399, allocations: 237.6 kB / 0.5625 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/0.44, allocations: 55.61 kB / 0.5626 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.4415, allocations: 0.8242 MB / 0.5634 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.4415, allocations: 8 kB / 0.5634 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4415, allocations: 3.938 kB / 0.5634 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4415, allocations: 7.984 kB / 0.5634 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/0.4444, allocations: 1.678 MB / 0.5651 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4444, allocations: 0 / 0.5651 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/0.446, allocations: 323.7 kB / 0.5654 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002735/0.4463, allocations: 89.56 kB / 0.5654 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.4463, allocations: 23.98 kB / 0.5655 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.4491, allocations: 3.161 MB / 0.5686 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4491, allocations: 0 / 0.5686 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.4512, allocations: 1.315 MB / 0.5698 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.4514, allocations: 124.8 kB / 0.57 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.738e-05/0.4514, allocations: 23.97 kB / 0.57 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.4518, allocations: 31.95 kB / 0.57 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.4519, allocations: 55.88 kB / 0.5701 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.452, allocations: 16 kB / 0.5701 GB, free: 2.551 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003236/0.4523, allocations: 279.1 kB / 0.5704 GB, free: 2.277 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4523, allocations: 0 / 0.5704 GB, free: 2.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007164/0.453, allocations: 148 kB / 0.5705 GB, free: 2.133 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * 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.0001481/0.4531, allocations: 111.2 kB / 0.5706 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002599/0.4557, allocations: 1.061 MB / 0.5716 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4557, allocations: 0 / 0.5716 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00195/0.4577, allocations: 0.7865 MB / 0.5724 GB, free: 112 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008029/0.4585, allocations: 141.5 kB / 0.5725 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.4618, allocations: 1.617 MB / 0.5741 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/0.4624, allocations: 0.9369 MB / 0.575 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003836/0.4628, allocations: 132.7 kB / 0.5752 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.4629, allocations: 43.44 kB / 0.5752 GB, free: 13.17 MB / 430.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4629, allocations: 0 / 0.5752 GB, free: 13.17 MB / 430.1 MB Notification: Performance of Templates: time 0.01551/0.4784, allocations: 8.187 MB / 0.5832 GB, free: 5.055 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.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.330446558073163]