Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.001703/0.001703, allocations: 109.6 kB / 20.43 MB, free: 1.309 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.001986/0.001986, allocations: 190.5 kB / 23.72 MB, free: 4.555 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.471/1.471, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.185/0.185, allocations: 38.55 MB / 346.3 MB, free: 2.109 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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003151/0.003151, allocations: 67.89 kB / 484.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3475, allocations: 61.29 MB / 0.533 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.006734/0.3543, allocations: 6.887 MB / 0.5398 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003889/0.3582, allocations: 2.15 MB / 0.5419 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005142/0.3587, allocations: 32.03 kB / 0.5419 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.3604, allocations: 0.5172 MB / 0.5424 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.362, allocations: 0.5658 MB / 0.543 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.363, allocations: 361.9 kB / 0.5433 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001952/0.365, allocations: 1.295 MB / 0.5446 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009562/0.3659, allocations: 0.5033 MB / 0.5451 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.367, allocations: 0.5544 MB / 0.5456 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.3681, allocations: 0.7814 MB / 0.5464 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.3683, allocations: 106.1 kB / 0.5465 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.3695, allocations: 0.638 MB / 0.5471 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000538/0.37, allocations: 481.2 kB / 0.5475 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007029/0.3707, allocations: 0.5283 MB / 0.5481 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.3727, allocations: 1.54 MB / 0.5496 GB, free: 9.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3727, allocations: 5.469 kB / 0.5496 GB, free: 9.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3727, allocations: 0 / 0.5496 GB, free: 9.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.3727, allocations: 0 / 0.5496 GB, free: 9.797 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003185/0.3759, allocations: 1.325 MB / 0.5509 GB, free: 8.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3759, allocations: 8.844 kB / 0.5509 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008182/0.3767, allocations: 143.9 kB / 0.551 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.3781, allocations: 0.6193 MB / 0.5516 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002488/0.3784, allocations: 175.6 kB / 0.5518 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.3786, allocations: 93.22 kB / 0.5519 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/0.3812, allocations: 1.405 MB / 0.5532 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.3812, allocations: 0 / 0.5532 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.3813, allocations: 32 kB / 0.5533 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002795/0.3816, allocations: 85.94 kB / 0.5534 GB, free: 7.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002958/0.3845, allocations: 1.522 MB / 0.5548 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008418/0.393, allocations: 4.347 MB / 0.5591 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/0.3954, allocations: 1.13 MB / 0.5602 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.3969, allocations: 0.7109 MB / 0.5609 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.11e-05/0.3969, allocations: 16.58 kB / 0.5609 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.397, allocations: 43.22 kB / 0.5609 GB, free: 15.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.256e-06/0.397, allocations: 0 / 0.5609 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007629/0.4046, allocations: 3.642 MB / 0.5645 GB, free: 11.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.4047, allocations: 86.11 kB / 0.5646 GB, free: 11.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.4052, allocations: 401.8 kB / 0.565 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.493e-05/0.4052, allocations: 45.73 kB / 0.565 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.4055, allocations: 349.1 kB / 0.5653 GB, free: 10.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.4059, allocations: 372.7 kB / 0.5657 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/0.4062, allocations: 158.7 kB / 0.5658 GB, free: 10.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4064, allocations: 378.8 kB / 0.5662 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.4075, allocations: 0.5953 MB / 0.5668 GB, free: 9.203 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.4088, allocations: 0.7424 MB / 0.5675 GB, free: 8.418 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002421/0.4112, allocations: 1.383 MB / 0.5689 GB, free: 6.988 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4112, allocations: 4 kB / 0.5689 GB, free: 6.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002958/0.4142, allocations: 1.525 MB / 0.5704 GB, free: 5.449 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.4142, allocations: 12.03 kB / 0.5704 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.4142, allocations: 4 kB / 0.5704 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.4144, allocations: 40.83 kB / 0.5704 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/0.4171, allocations: 0.4953 MB / 0.5709 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007494/0.4246, allocations: 6.268 MB / 0.577 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.4256, allocations: 87.81 kB / 0.5771 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.4257, allocations: 35.98 kB / 0.5771 GB, free: 14.05 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006062/0.4263, allocations: 309.8 kB / 0.5774 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.4265, allocations: 75.55 kB / 0.5775 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00313/0.4297, allocations: 1.521 MB / 0.579 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.872e-05/0.4297, allocations: 20 kB / 0.579 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4297, allocations: 0 / 0.579 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.4297, allocations: 11.86 kB / 0.579 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005286/0.435, allocations: 2.769 MB / 0.5817 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.435, allocations: 0 / 0.5817 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002977/0.438, allocations: 0.5385 MB / 0.5822 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.4381, allocations: 36.78 kB / 0.5823 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/0.4382, allocations: 23.98 kB / 0.5823 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.4396, allocations: 1.527 MB / 0.5838 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.4396, allocations: 4.031 kB / 0.5838 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004463/0.4441, allocations: 2.464 MB / 0.5862 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.4443, allocations: 59.58 kB / 0.5863 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.4445, allocations: 32.05 kB / 0.5863 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.4451, allocations: 71.91 kB / 0.5864 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/0.4453, allocations: 80.39 kB / 0.5864 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.4454, allocations: 20 kB / 0.5865 GB, free: 4.246 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003761/0.4458, allocations: 279.1 kB / 0.5867 GB, free: 3.969 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4458, allocations: 0 / 0.5867 GB, free: 3.969 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001076/0.4469, allocations: 243.9 kB / 0.587 GB, free: 3.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003645/0.4472, allocations: 175 kB / 0.5871 GB, free: 3.551 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004588/0.4518, allocations: 1.759 MB / 0.5888 GB, free: 1.785 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.4518, allocations: 4.188 kB / 0.5888 GB, free: 1.781 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003248/0.4551, allocations: 1.131 MB / 0.5899 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.4561, allocations: 156.4 kB / 0.5901 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005595/0.4617, allocations: 2.634 MB / 0.5927 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008555/0.4626, allocations: 1.083 MB / 0.5937 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009504/0.4635, allocations: 269.6 kB / 0.594 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.4638, allocations: 63.36 kB / 0.594 GB, free: 12.36 MB / 446.1 MB Notification: Performance of SimCode: time 1.363e-06/0.4638, allocations: 0 / 0.594 GB, free: 12.36 MB / 446.1 MB Notification: Performance of Templates: time 0.02383/0.4876, allocations: 11.91 MB / 0.6057 GB, free: 0.5391 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.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.537292459048331]