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.001829/0.001829, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.00193/0.00193, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 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.604/1.604, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3496/0.3496, allocations: 29.41 MB / 290.5 MB, free: 2.418 MB / 266.7 MB " [Timeout remaining time 179] 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.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 2.414e-06/2.414e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.012e-05/6.254e-05, allocations: 5.828 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.01022/0.01028, allocations: 6.302 MB / 375.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.01365, allocations: 1.402 MB / 376.6 MB, free: 3.578 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003715/0.01402, allocations: 31.75 kB / 376.6 MB, free: 3.547 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006053/0.01463, allocations: 138.8 kB / 376.8 MB, free: 3.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.0157, allocations: 429.5 kB / 377.2 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005952/0.0163, allocations: 191.6 kB / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.01771, allocations: 1.11 MB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004052/0.01812, allocations: 213.2 kB / 378.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.01913, allocations: 0.6387 MB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009527/0.02009, allocations: 0.5222 MB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.02022, allocations: 64 kB / 379.9 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.02038, allocations: 64 kB / 380 MB, free: 192 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004229/0.0208, allocations: 339.2 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.02119, allocations: 255.5 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.02271, allocations: 0.8607 MB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.02272, allocations: 0 / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.02272, allocations: 0 / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.02273, allocations: 0 / 381.4 MB, free: 14.74 MB / 362.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.002339/0.02507, allocations: 1.097 MB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.02512, allocations: 11.98 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.02536, allocations: 120.5 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.0266, allocations: 0.5099 MB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003001/0.0269, allocations: 224.1 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.02701, allocations: 52.31 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.02825, allocations: 0.6029 MB / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.02827, allocations: 0 / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.952e-05/0.02834, allocations: 24 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.02847, allocations: 36.97 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.02954, allocations: 395.5 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004342/0.03388, allocations: 2.538 MB / 387 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.03521, allocations: 484.6 kB / 387.5 MB, free: 8.414 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/0.03574, allocations: 217.3 kB / 387.7 MB, free: 8.191 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.132e-05/0.03579, allocations: 12.5 kB / 387.7 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/0.03584, allocations: 45.83 kB / 387.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 1.723e-06/0.03584, allocations: 0 / 387.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.003835/0.03968, allocations: 1.26 MB / 389 MB, free: 6.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/0.03976, allocations: 85.55 kB / 389.1 MB, free: 6.719 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.0403, allocations: 462.6 kB / 389.5 MB, free: 6.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.04035, allocations: 33.7 kB / 389.6 MB, free: 6.211 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.04068, allocations: 363.6 kB / 389.9 MB, free: 5.848 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.04087, allocations: 190.5 kB / 390.1 MB, free: 5.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.04108, allocations: 119.9 kB / 390.2 MB, free: 5.535 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003479/0.04143, allocations: 0.5548 MB / 390.8 MB, free: 4.969 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.04182, allocations: 133.2 kB / 390.9 MB, free: 4.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005398/0.04236, allocations: 294.9 kB / 391.2 MB, free: 4.496 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009436/0.04331, allocations: 449.6 kB / 391.6 MB, free: 4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.04331, allocations: 4 kB / 391.6 MB, free: 3.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001264/0.04458, allocations: 0.5512 MB / 392.2 MB, free: 3.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.0446, allocations: 4 kB / 392.2 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.04461, allocations: 4 kB / 392.2 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002866/0.0449, allocations: 55.28 kB / 392.3 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.0462, allocations: 251.7 kB / 392.5 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007611/0.05381, allocations: 7.605 MB / 400.1 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.0542, allocations: 35.97 kB / 400.1 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.05425, allocations: 16 kB / 400.2 MB, free: 10.98 MB / 378.7 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.0003365/0.05459, allocations: 220.4 kB / 400.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.05471, allocations: 67.78 kB / 400.4 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.056, allocations: 0.4903 MB / 400.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.056, allocations: 8 kB / 400.9 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.05601, allocations: 4 kB / 400.9 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.05602, allocations: 3.984 kB / 400.9 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/0.05869, allocations: 1.21 MB / 402.2 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.05869, allocations: 4 kB / 402.2 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/0.06041, allocations: 255.7 kB / 402.4 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002952/0.06071, allocations: 71.25 kB / 402.5 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.06075, allocations: 23.94 kB / 402.5 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003243/0.064, allocations: 3.767 MB / 406.3 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.064, allocations: 0 / 406.3 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.06578, allocations: 0.8564 MB / 407.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.06589, allocations: 39.67 kB / 407.2 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.517e-05/0.06596, allocations: 23.92 kB / 407.2 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.06629, allocations: 31.97 kB / 407.2 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.06645, allocations: 51.84 kB / 407.3 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.06649, allocations: 12 kB / 407.3 MB, free: 3.441 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000344/0.06683, allocations: 291.1 kB / 407.6 MB, free: 3.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.06683, allocations: 0 / 407.6 MB, free: 3.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007009/0.06753, allocations: 152 kB / 407.7 MB, free: 3.012 MB / 378.7 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.000181/0.06771, allocations: 115.2 kB / 407.8 MB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002332/0.07004, allocations: 0.8808 MB / 408.7 MB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.07005, allocations: 0 / 408.7 MB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.07208, allocations: 0.6997 MB / 409.4 MB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/0.07285, allocations: 135.3 kB / 409.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.07584, allocations: 1.318 MB / 410.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.07627, allocations: 328.8 kB / 411.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003417/0.07661, allocations: 100.5 kB / 411.3 MB, free: 15.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.07676, allocations: 44.5 kB / 411.3 MB, free: 15.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.103e-06/0.07676, allocations: 0 / 411.3 MB, free: 15.24 MB / 394.7 MB Notification: Performance of Templates: time 0.01639/0.09315, allocations: 7.423 MB / 418.7 MB, free: 7.934 MB / 394.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 -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","/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.199480614042841]