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.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.001164/0.001164, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001822/0.002986, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007424/0.0007424, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.001844, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.019/1.019, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09316/1.112, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1271/0.1271, allocations: 29.44 MB / 273.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1484/0.2756, allocations: 9.539 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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="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 1.683e-06/1.683e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.25e-05, allocations: 3.984 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.01323/0.01326, allocations: 5.379 MB / 289.8 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.01585, allocations: 1.442 MB / 291.3 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003473/0.01932, allocations: 34.81 kB / 291.3 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.01974, allocations: 136.9 kB / 291.4 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007675/0.02051, allocations: 418.4 kB / 291.8 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.02099, allocations: 194.9 kB / 292 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0019/0.02289, allocations: 1.113 MB / 293.1 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.02324, allocations: 228.1 kB / 293.4 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.02439, allocations: 0.6923 MB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007447/0.02513, allocations: 459 kB / 294.5 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.02524, allocations: 59.16 kB / 294.6 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.02542, allocations: 62 kB / 294.6 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.02566, allocations: 283.3 kB / 294.9 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.02588, allocations: 203.6 kB / 295.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00065/0.02653, allocations: 0.5255 MB / 295.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.49e-05/0.02654, allocations: 0 / 295.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.02655, allocations: 0 / 295.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.878e-05/0.02657, allocations: 4 kB / 295.6 MB, free: 3.504 MB / 282.7 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.001491/0.02807, allocations: 0.9962 MB / 296.6 MB, free: 2.484 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.0281, allocations: 12.03 kB / 296.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.02823, allocations: 96.86 kB / 296.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.02871, allocations: 431.4 kB / 297.2 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.02888, allocations: 216.1 kB / 297.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.02895, allocations: 60.31 kB / 297.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.02945, allocations: 491.4 kB / 297.9 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.02947, allocations: 7.938 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.0295, allocations: 20 kB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.928e-05/0.02957, allocations: 24.98 kB / 298 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.02986, allocations: 217.6 kB / 298.2 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.03158, allocations: 1.734 MB / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.03204, allocations: 389.5 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.03218, allocations: 150.5 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.03221, allocations: 8.5 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.03224, allocations: 43 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 1.874e-06/0.03224, allocations: 0 / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=50): time 0.0008433/0.03308, allocations: 0.5082 MB / 301 MB, free: 13.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.03312, allocations: 81.61 kB / 301.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.0333, allocations: 327.2 kB / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.03333, allocations: 33.7 kB / 301.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.03343, allocations: 257.8 kB / 301.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.115e-05/0.03352, allocations: 178.5 kB / 301.9 MB, free: 13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.626e-05/0.03362, allocations: 98.25 kB / 301.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.03372, allocations: 362.6 kB / 302.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.03381, allocations: 68.19 kB / 302.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.03393, allocations: 169.3 kB / 302.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.03418, allocations: 277.6 kB / 302.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.03418, allocations: 4 kB / 302.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003659/0.03454, allocations: 321.6 kB / 303.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.03456, allocations: 8.344 kB / 303.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.03457, allocations: 11.92 kB / 303.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.03473, allocations: 52.45 kB / 303.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/0.03531, allocations: 251.7 kB / 303.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.03766, allocations: 5.167 MB / 308.6 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.03783, allocations: 55.61 kB / 308.7 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.03786, allocations: 19.98 kB / 308.7 MB, free: 5.676 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (64): * Single equations (assignments): 60 * 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.0001282/0.03799, allocations: 148.4 kB / 308.8 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.03804, allocations: 35.97 kB / 308.9 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003547/0.0384, allocations: 328.5 kB / 309.2 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.0384, allocations: 8 kB / 309.2 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.0384, allocations: 7.875 kB / 309.2 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.03841, allocations: 0 / 309.2 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008509/0.03926, allocations: 0.8609 MB / 310.1 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.03926, allocations: 0 / 310.1 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006165/0.03988, allocations: 267.8 kB / 310.3 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.03992, allocations: 47.59 kB / 310.4 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/0.04006, allocations: 60.48 kB / 310.4 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.04009, allocations: 12 kB / 310.4 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.0412, allocations: 2.644 MB / 313.1 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.0412, allocations: 4 kB / 313.1 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000497/0.0417, allocations: 0.5668 MB / 313.7 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.04173, allocations: 12.12 kB / 313.7 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.04186, allocations: 23.98 kB / 313.7 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.461e-05/0.04194, allocations: 47.8 kB / 313.7 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.04196, allocations: 15.98 kB / 313.7 MB, free: 276 kB / 298.7 MB Notification: Performance of sorting global known variables: time 9.519e-05/0.04205, allocations: 124.7 kB / 313.9 MB, free: 148 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04205, allocations: 0 / 313.9 MB, free: 148 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004273/0.04248, allocations: 171.8 kB / 314 MB, free: 15.97 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (50): * Single equations (assignments): 47 * 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.0001465/0.04263, allocations: 96.3 kB / 314.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008439/0.04347, allocations: 0.6416 MB / 314.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/0.04348, allocations: 11.94 kB / 314.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006898/0.04417, allocations: 0.6175 MB / 315.4 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007024/0.04488, allocations: 1.022 MB / 316.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007273/0.05215, allocations: 1.259 MB / 317.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.05227, allocations: 181.8 kB / 317.9 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.05246, allocations: 64.53 kB / 317.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.05269, allocations: 149.3 kB / 318.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.05269, allocations: 0 / 318.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of Templates: time 0.01079/0.06348, allocations: 8.16 MB / 326.2 MB, free: 3.594 MB / 314.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0374490804970264]