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.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.001998/0.001998, allocations: 112.2 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.002604/0.002604, allocations: 196.4 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.456/1.456, allocations: 225.6 MB / 250.8 MB, free: 13.32 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.1824/0.1824, allocations: 38.53 MB / 344.5 MB, free: 2.543 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.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: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 67.89 kB / 482.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3636, allocations: 61.23 MB / 0.5306 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007721/0.3714, allocations: 6.938 MB / 0.5373 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004209/0.3756, allocations: 2.168 MB / 0.5395 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005355/0.3761, allocations: 24.91 kB / 0.5395 GB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.3779, allocations: 0.5414 MB / 0.54 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.3794, allocations: 0.5538 MB / 0.5406 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3804, allocations: 364 kB / 0.5409 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001854/0.3823, allocations: 1.306 MB / 0.5422 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009507/0.3833, allocations: 0.4923 MB / 0.5427 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.3845, allocations: 0.5557 MB / 0.5432 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.386, allocations: 0.7312 MB / 0.5439 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003226/0.3863, allocations: 99.31 kB / 0.544 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.3876, allocations: 0.5429 MB / 0.5445 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006952/0.3883, allocations: 476.6 kB / 0.545 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00093/0.3892, allocations: 0.5149 MB / 0.5455 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.3913, allocations: 1.464 MB / 0.5469 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3913, allocations: 1.156 kB / 0.5469 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3913, allocations: 0 / 0.5469 GB, free: 10.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.378e-05/0.3914, allocations: 0 / 0.5469 GB, free: 10.14 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.004348/0.3957, allocations: 1.371 MB / 0.5483 GB, free: 9.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.3958, allocations: 12.61 kB / 0.5483 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.3969, allocations: 155.9 kB / 0.5484 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.3987, allocations: 0.6898 MB / 0.5491 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.399, allocations: 175.6 kB / 0.5493 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/0.3993, allocations: 98.59 kB / 0.5494 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/0.402, allocations: 1.357 MB / 0.5507 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.402, allocations: 6.219 kB / 0.5507 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.4021, allocations: 32.28 kB / 0.5507 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000176/0.4023, allocations: 61.47 kB / 0.5508 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/0.405, allocations: 1.303 MB / 0.5521 GB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007895/0.4129, allocations: 4.905 MB / 0.5568 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.4152, allocations: 1.094 MB / 0.5579 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.4163, allocations: 0.5814 MB / 0.5585 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-05/0.4164, allocations: 12.47 kB / 0.5585 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.4165, allocations: 39.12 kB / 0.5585 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 3.377e-06/0.4165, allocations: 0 / 0.5585 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.006477/0.4229, allocations: 3.192 MB / 0.5617 GB, free: 12.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.423, allocations: 85.67 kB / 0.5617 GB, free: 12.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006147/0.4236, allocations: 465.9 kB / 0.5622 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.712e-05/0.4237, allocations: 37.72 kB / 0.5622 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.424, allocations: 408.4 kB / 0.5626 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.4243, allocations: 265.8 kB / 0.5629 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.4245, allocations: 150.6 kB / 0.563 GB, free: 10.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.4247, allocations: 378.8 kB / 0.5634 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009563/0.4257, allocations: 0.4899 MB / 0.5638 GB, free: 10.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.4269, allocations: 0.6794 MB / 0.5645 GB, free: 9.336 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.429, allocations: 1.22 MB / 0.5657 GB, free: 8.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.429, allocations: 3.938 kB / 0.5657 GB, free: 8.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004549/0.4336, allocations: 1.97 MB / 0.5676 GB, free: 6.035 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4336, allocations: 7.938 kB / 0.5676 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003959/0.4375, allocations: 1.702 MB / 0.5693 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/0.4394, allocations: 0.6573 MB / 0.5699 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.44, allocations: 155.7 kB / 0.5701 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.4524, allocations: 7.423 MB / 0.5773 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000798/0.4532, allocations: 76 kB / 0.5774 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.4534, allocations: 28 kB / 0.5774 GB, free: 11.69 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.0006236/0.454, allocations: 317.5 kB / 0.5777 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.4542, allocations: 59.62 kB / 0.5778 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002591/0.4568, allocations: 1.305 MB / 0.5791 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.4568, allocations: 12 kB / 0.5791 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4568, allocations: 0 / 0.5791 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.4568, allocations: 7.984 kB / 0.5791 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004425/0.4612, allocations: 2.402 MB / 0.5814 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.4612, allocations: 7.922 kB / 0.5814 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/0.4638, allocations: 499.4 kB / 0.5819 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/0.4639, allocations: 32.84 kB / 0.5819 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-05/0.464, allocations: 20 kB / 0.582 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.4654, allocations: 1.634 MB / 0.5836 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4654, allocations: 0 / 0.5836 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00351/0.4689, allocations: 2.017 MB / 0.5855 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.4691, allocations: 132.7 kB / 0.5857 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.4692, allocations: 19.98 kB / 0.5857 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.4698, allocations: 63.92 kB / 0.5857 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.47, allocations: 60.47 kB / 0.5858 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.752e-05/0.4701, allocations: 16 kB / 0.5858 GB, free: 2.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004619/0.4705, allocations: 322.8 kB / 0.5861 GB, free: 2.457 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4705, allocations: 0 / 0.5861 GB, free: 2.457 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001093/0.4716, allocations: 235.9 kB / 0.5863 GB, free: 2.227 MB / 430.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.0002613/0.4719, allocations: 135 kB / 0.5865 GB, free: 2.086 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003011/0.4749, allocations: 1.508 MB / 0.5879 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4749, allocations: 3.938 kB / 0.5879 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002665/0.4776, allocations: 0.9782 MB / 0.5889 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000875/0.4784, allocations: 162.3 kB / 0.5891 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.4829, allocations: 2.301 MB / 0.5913 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008446/0.4837, allocations: 1.083 MB / 0.5924 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000577/0.4843, allocations: 213.4 kB / 0.5926 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.4845, allocations: 51.44 kB / 0.5926 GB, free: 11.69 MB / 446.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4845, allocations: 0 / 0.5926 GB, free: 11.69 MB / 446.1 MB Notification: Performance of Templates: time 0.02677/0.5113, allocations: 14.17 MB / 0.6065 GB, free: 13.61 MB / 462.1 MB " [Timeout remaining time 659] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","/var/lib/jenkins/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: 5.790993867442012]