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.001797/0.001797, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001939/0.001939, allocations: 213.9 kB / 23.74 MB, free: 4.656 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.1877/0.1877, allocations: 38.52 MB / 352.5 MB, free: 12.51 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [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.002399/0.002399, allocations: 74.86 kB / 492.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3519, allocations: 62.46 MB / 0.542 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.008687/0.3606, allocations: 6.455 MB / 0.5483 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003006/0.3636, allocations: 1.452 MB / 0.5497 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.3639, allocations: 30.69 kB / 0.5498 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004821/0.3644, allocations: 149.4 kB / 0.5499 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008059/0.3652, allocations: 416.3 kB / 0.5503 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.3656, allocations: 206.1 kB / 0.5505 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.3668, allocations: 1.076 MB / 0.5515 GB, free: 8.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003571/0.3671, allocations: 228.9 kB / 0.5518 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007527/0.3679, allocations: 479.4 kB / 0.5522 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008497/0.3687, allocations: 0.5573 MB / 0.5528 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.524e-05/0.3688, allocations: 69.19 kB / 0.5528 GB, free: 8.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.369, allocations: 68.53 kB / 0.5529 GB, free: 8.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.3693, allocations: 316.7 kB / 0.5532 GB, free: 8.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003956/0.3697, allocations: 365.2 kB / 0.5535 GB, free: 7.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009242/0.3706, allocations: 0.8444 MB / 0.5544 GB, free: 7.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3706, allocations: 5.375 kB / 0.5544 GB, free: 7.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3706, allocations: 0 / 0.5544 GB, free: 7.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.3706, allocations: 0 / 0.5544 GB, free: 7.184 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001993/0.3726, allocations: 0.9512 MB / 0.5553 GB, free: 6.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3726, allocations: 14.14 kB / 0.5553 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.3728, allocations: 98.88 kB / 0.5554 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.3729, allocations: 72.7 kB / 0.5555 GB, free: 6.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.374, allocations: 0.5164 MB / 0.556 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.3742, allocations: 227.8 kB / 0.5562 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.675e-05/0.3743, allocations: 51.5 kB / 0.5563 GB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.3756, allocations: 0.7715 MB / 0.557 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3757, allocations: 0 / 0.557 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.855e-05/0.3757, allocations: 24 kB / 0.557 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.3758, allocations: 32.97 kB / 0.5571 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.3772, allocations: 0.7259 MB / 0.5578 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003964/0.3812, allocations: 2.557 MB / 0.5603 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.3828, allocations: 0.6906 MB / 0.5609 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006891/0.3835, allocations: 375.3 kB / 0.5613 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.3835, allocations: 12.44 kB / 0.5613 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.3836, allocations: 42.98 kB / 0.5614 GB, free: 388 kB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.014e-06/0.3836, allocations: 0 / 0.5614 GB, free: 388 kB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.00412/0.3877, allocations: 1.847 MB / 0.5632 GB, free: 14.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.3877, allocations: 81.55 kB / 0.5632 GB, free: 14.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.3882, allocations: 398 kB / 0.5636 GB, free: 13.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.3882, allocations: 33.7 kB / 0.5636 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.3885, allocations: 301 kB / 0.5639 GB, free: 13.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.3887, allocations: 182.4 kB / 0.5641 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.3888, allocations: 102.3 kB / 0.5642 GB, free: 13.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.3891, allocations: 362.8 kB / 0.5646 GB, free: 13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005889/0.3897, allocations: 273.1 kB / 0.5648 GB, free: 12.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/0.3903, allocations: 385.9 kB / 0.5652 GB, free: 12.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.3915, allocations: 0.645 MB / 0.5658 GB, free: 11.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3915, allocations: 0 / 0.5658 GB, free: 11.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001531/0.393, allocations: 0.7954 MB / 0.5666 GB, free: 10.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.393, allocations: 7.984 kB / 0.5666 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.393, allocations: 4 kB / 0.5666 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002703/0.3933, allocations: 81.86 kB / 0.5667 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.3947, allocations: 307.5 kB / 0.567 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006251/0.401, allocations: 6.122 MB / 0.5729 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.4014, allocations: 43.89 kB / 0.573 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.4015, allocations: 20 kB / 0.573 GB, free: 3.785 MB / 414.1 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.0004004/0.4019, allocations: 241.7 kB / 0.5732 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.402, allocations: 51.67 kB / 0.5733 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.4036, allocations: 0.7528 MB / 0.574 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.4036, allocations: 4 kB / 0.574 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4036, allocations: 4 kB / 0.574 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.4036, allocations: 7.984 kB / 0.574 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00294/0.4065, allocations: 1.574 MB / 0.5756 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.4065, allocations: 0 / 0.5756 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/0.4081, allocations: 327.5 kB / 0.5759 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000259/0.4084, allocations: 93.58 kB / 0.576 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.4085, allocations: 12 kB / 0.576 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/0.4111, allocations: 2.954 MB / 0.5789 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4111, allocations: 4.031 kB / 0.5789 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.4134, allocations: 1.239 MB / 0.5801 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.4136, allocations: 43.67 kB / 0.5801 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.372e-05/0.4136, allocations: 27.97 kB / 0.5802 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.414, allocations: 39.89 kB / 0.5802 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.4141, allocations: 47.92 kB / 0.5802 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.4142, allocations: 11.98 kB / 0.5803 GB, free: 11.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003626/0.4145, allocations: 283.1 kB / 0.5805 GB, free: 11.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4145, allocations: 0 / 0.5805 GB, free: 11.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007093/0.4152, allocations: 152 kB / 0.5807 GB, free: 11.57 MB / 430.1 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.002639/0.4179, allocations: 1.789 MB / 0.5824 GB, free: 9.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002752/0.4206, allocations: 1.065 MB / 0.5835 GB, free: 8.633 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4206, allocations: 0 / 0.5835 GB, free: 8.633 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.4226, allocations: 0.7824 MB / 0.5842 GB, free: 7.824 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008684/0.4235, allocations: 136.2 kB / 0.5843 GB, free: 7.695 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009512/0.433, allocations: 5.73 MB / 0.5899 GB, free: 1.758 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/0.4336, allocations: 0.9408 MB / 0.5909 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004075/0.434, allocations: 128.7 kB / 0.591 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.4343, allocations: 195.4 kB / 0.5912 GB, free: 480 kB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4343, allocations: 3.938 kB / 0.5912 GB, free: 476 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06769/0.502, allocations: 13.53 MB / 0.6044 GB, free: 3.117 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.59, allocations: 5 kB / 0.6044 GB, free: 3.113 MB / 446.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mat","/var/lib/jenkins1/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: 17.547662899130955]