Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.363/1.363, allocations: 230.6 MB / 258.3 MB, free: 7.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1778/0.1778, allocations: 38.53 MB / 353.2 MB, free: 12.49 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 67.89 kB / 493.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2863, allocations: 62.48 MB / 0.5432 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008193/0.2945, allocations: 6.969 MB / 0.55 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.2983, allocations: 2.211 MB / 0.5522 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003699/0.2987, allocations: 36.25 kB / 0.5522 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.3001, allocations: 0.5243 MB / 0.5528 GB, free: 8.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.3013, allocations: 0.5606 MB / 0.5533 GB, free: 8.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000914/0.3022, allocations: 371.5 kB / 0.5537 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.3037, allocations: 1.32 MB / 0.5549 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007675/0.3045, allocations: 0.5322 MB / 0.5555 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008568/0.3053, allocations: 0.5626 MB / 0.556 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.3064, allocations: 0.7307 MB / 0.5567 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.3065, allocations: 99.34 kB / 0.5568 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.3075, allocations: 0.5554 MB / 0.5574 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004767/0.308, allocations: 470.9 kB / 0.5578 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000597/0.3086, allocations: 0.5133 MB / 0.5583 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.3104, allocations: 1.475 MB / 0.5598 GB, free: 3.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3104, allocations: 0 / 0.5598 GB, free: 3.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3104, allocations: 3.938 kB / 0.5598 GB, free: 3.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.3104, allocations: 0 / 0.5598 GB, free: 3.445 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00276/0.3132, allocations: 1.306 MB / 0.561 GB, free: 2.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3132, allocations: 15.98 kB / 0.5611 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008705/0.3141, allocations: 180.2 kB / 0.5612 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.3154, allocations: 0.6175 MB / 0.5618 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003194/0.3157, allocations: 333.8 kB / 0.5621 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.3159, allocations: 91.92 kB / 0.5622 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.3181, allocations: 1.362 MB / 0.5636 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.3181, allocations: 0 / 0.5636 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-05/0.3182, allocations: 35.94 kB / 0.5636 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.3184, allocations: 61.97 kB / 0.5637 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.3207, allocations: 1.296 MB / 0.5649 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007269/0.328, allocations: 4.844 MB / 0.5697 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.3301, allocations: 1.008 MB / 0.5706 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.3312, allocations: 0.5775 MB / 0.5712 GB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.574e-05/0.3312, allocations: 20.58 kB / 0.5712 GB, free: 7.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.3313, allocations: 35.22 kB / 0.5713 GB, free: 7.297 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 2.555e-06/0.3313, allocations: 4 kB / 0.5713 GB, free: 7.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.005865/0.3372, allocations: 2.972 MB / 0.5742 GB, free: 4.285 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.3372, allocations: 81.77 kB / 0.5742 GB, free: 4.188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005715/0.3378, allocations: 473.8 kB / 0.5747 GB, free: 3.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.118e-05/0.3378, allocations: 37.7 kB / 0.5747 GB, free: 3.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.3381, allocations: 400.4 kB / 0.5751 GB, free: 3.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.3384, allocations: 269.7 kB / 0.5754 GB, free: 3.008 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.3386, allocations: 146.6 kB / 0.5755 GB, free: 2.859 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3388, allocations: 378.8 kB / 0.5759 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009037/0.3397, allocations: 0.4939 MB / 0.5763 GB, free: 1.988 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.3407, allocations: 0.6872 MB / 0.577 GB, free: 1.223 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.3427, allocations: 1.217 MB / 0.5782 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3427, allocations: 3.938 kB / 0.5782 GB, free: 15.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004249/0.347, allocations: 1.888 MB / 0.5801 GB, free: 14.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.347, allocations: 11.94 kB / 0.5801 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003695/0.3507, allocations: 1.627 MB / 0.5817 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.3524, allocations: 0.6572 MB / 0.5823 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/0.353, allocations: 147.8 kB / 0.5824 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/0.3644, allocations: 7.206 MB / 0.5895 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/0.3651, allocations: 75.91 kB / 0.5895 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/0.3652, allocations: 35.98 kB / 0.5896 GB, free: 4.031 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004851/0.3657, allocations: 313.6 kB / 0.5899 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.3658, allocations: 63.58 kB / 0.5899 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.3681, allocations: 1.226 MB / 0.5911 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.3681, allocations: 16 kB / 0.5912 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3681, allocations: 0 / 0.5912 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3681, allocations: 3.984 kB / 0.5912 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003918/0.3721, allocations: 2.302 MB / 0.5934 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.3721, allocations: 3.938 kB / 0.5934 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00243/0.3745, allocations: 0.4916 MB / 0.5939 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.3746, allocations: 36.83 kB / 0.5939 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.3747, allocations: 16 kB / 0.5939 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.3759, allocations: 1.527 MB / 0.5954 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3759, allocations: 0 / 0.5954 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003232/0.3791, allocations: 1.947 MB / 0.5973 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3792, allocations: 55.58 kB / 0.5974 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.619e-05/0.3793, allocations: 23.92 kB / 0.5974 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/0.3798, allocations: 63.92 kB / 0.5975 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.38, allocations: 64.53 kB / 0.5975 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/0.38, allocations: 16 kB / 0.5975 GB, free: 11.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003471/0.3804, allocations: 326.8 kB / 0.5979 GB, free: 11.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3804, allocations: 0 / 0.5979 GB, free: 11.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008676/0.3812, allocations: 235.9 kB / 0.5981 GB, free: 11.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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.0002152/0.3814, allocations: 123.1 kB / 0.5982 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002697/0.3841, allocations: 1.513 MB / 0.5997 GB, free: 9.422 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3841, allocations: 448 / 0.5997 GB, free: 9.422 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002414/0.3866, allocations: 0.951 MB / 0.6006 GB, free: 8.457 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007719/0.3873, allocations: 164 kB / 0.6008 GB, free: 8.305 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/0.3912, allocations: 2.375 MB / 0.6031 GB, free: 5.883 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007328/0.3919, allocations: 1.083 MB / 0.6041 GB, free: 4.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.3922, allocations: 59.42 kB / 0.6042 GB, free: 4.711 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3922, allocations: 0 / 0.6042 GB, free: 4.711 MB / 446.1 MB Notification: Performance of Templates: time 0.02449/0.4167, allocations: 20.41 MB / 0.6241 GB, free: 336 kB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.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: 9.824178549926728]