Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.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.001584/0.001584, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002119/0.002119, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.506/1.506, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 47.94 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1109, allocations: 53.33 MB / 426.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.2165/0.3274, allocations: 6.264 MB / 432.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00312/0.3305, allocations: 1.709 MB / 434.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004622/0.331, allocations: 54.25 kB / 434.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.3315, allocations: 307.8 kB / 434.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.3325, allocations: 433 kB / 435.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.333, allocations: 350.1 kB / 435.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001939/0.335, allocations: 2.138 MB / 437.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.3369, allocations: 1.792 MB / 439.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.3384, allocations: 1.058 MB / 440.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.3401, allocations: 1.233 MB / 441.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005341/0.3407, allocations: 294.4 kB / 441.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008201/0.3415, allocations: 426.5 kB / 442.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006069/0.3421, allocations: 0.7083 MB / 443 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.3434, allocations: 1.236 MB / 444.3 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004257/0.3476, allocations: 3.635 MB / 447.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3476, allocations: 3.453 kB / 447.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3476, allocations: 0 / 447.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001038/0.3477, allocations: 0 / 447.9 MB, free: 1.891 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.004959/0.3527, allocations: 2.539 MB / 450.5 MB, free: 396 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.3527, allocations: 11.7 kB / 450.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003399/0.3531, allocations: 299.6 kB / 450.8 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007235/0.3538, allocations: 264.7 kB / 451 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.3561, allocations: 1.316 MB / 452.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.3563, allocations: 159.9 kB / 452.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/0.3566, allocations: 206.8 kB / 452.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004581/0.3612, allocations: 2.617 MB / 455.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/0.3612, allocations: 0 / 455.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/0.3614, allocations: 86.72 kB / 455.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-05/0.3615, allocations: 56.47 kB / 455.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003675/0.3652, allocations: 2.092 MB / 457.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/0.3772, allocations: 7.311 MB / 464.8 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002577/0.3798, allocations: 2.276 MB / 467.1 MB, free: 5.305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.3813, allocations: 0.8894 MB / 468 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.374e-05/0.3814, allocations: 15.44 kB / 468 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.3814, allocations: 43.28 kB / 468.1 MB, free: 4.828 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.956e-06/0.3814, allocations: 0 / 468.1 MB, free: 4.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008528/0.39, allocations: 4.194 MB / 472.3 MB, free: 2.195 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.39, allocations: 68.28 kB / 472.3 MB, free: 2.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.3914, allocations: 0.872 MB / 473.2 MB, free: 1.234 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.867e-05/0.3915, allocations: 49.62 kB / 473.3 MB, free: 1.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006968/0.3922, allocations: 0.8475 MB / 474.1 MB, free: 328 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003476/0.3925, allocations: 345.2 kB / 474.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000313/0.3929, allocations: 178.6 kB / 474.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.393, allocations: 345.9 kB / 474.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008619/0.3939, allocations: 493.7 kB / 475.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.3949, allocations: 0.6694 MB / 476.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.3969, allocations: 1.205 MB / 477.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3969, allocations: 0 / 477.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00306/0.3999, allocations: 1.622 MB / 478.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4, allocations: 4 kB / 478.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.4, allocations: 8 kB / 478.9 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.4012, allocations: 473.9 kB / 479.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007175/0.4019, allocations: 171.7 kB / 479.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.4124, allocations: 9.296 MB / 488.9 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009381/0.4134, allocations: 47.89 kB / 488.9 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.932e-05/0.4135, allocations: 40.06 kB / 489 MB, free: 0.7344 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001412/0.4149, allocations: 0.6427 MB / 489.6 MB, free: 84 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/0.4152, allocations: 107.5 kB / 489.7 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.4156, allocations: 138.1 kB / 489.8 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.484e-05/0.4156, allocations: 12 kB / 489.8 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.4156, allocations: 0 / 489.8 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.4156, allocations: 7.734 kB / 489.9 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00645/0.4221, allocations: 3.462 MB / 493.3 MB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.4221, allocations: 4 kB / 493.3 MB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006064/0.4227, allocations: 127.9 kB / 493.4 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.4238, allocations: 451.2 kB / 493.9 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.983e-05/0.4239, allocations: 27.98 kB / 493.9 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009836/0.4337, allocations: 9.201 MB / 0.4913 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.4337, allocations: 12.05 kB / 0.4913 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003825/0.4375, allocations: 2.305 MB / 0.4936 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006101/0.4381, allocations: 280.4 kB / 0.4939 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.4383, allocations: 23.98 kB / 0.4939 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/0.4387, allocations: 43.91 kB / 0.4939 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/0.4389, allocations: 88.86 kB / 0.494 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.849e-05/0.439, allocations: 24 kB / 0.494 GB, free: 15.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008928/0.4399, allocations: 0.6122 MB / 0.4946 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4399, allocations: 0 / 0.4946 GB, free: 14.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001656/0.4415, allocations: 387.9 kB / 0.495 GB, free: 14.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003998/0.4455, allocations: 2.888 MB / 0.4978 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002983/0.4485, allocations: 1.777 MB / 0.4995 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4485, allocations: 0 / 0.4995 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.4503, allocations: 1.203 MB / 0.5007 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.4518, allocations: 303.5 kB / 0.501 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/0.4712, allocations: 12.18 MB / 0.5129 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.4728, allocations: 1.722 MB / 0.5146 GB, free: 9.578 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000592/0.4734, allocations: 192.9 kB / 0.5148 GB, free: 9.387 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008089/0.4742, allocations: 0.6243 MB / 0.5154 GB, free: 8.762 MB / 430.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4742, allocations: 0 / 0.5154 GB, free: 8.762 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08515/0.5594, allocations: 33.86 MB / 0.5484 GB, free: 7.242 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.31, allocations: 11.94 kB / 0.5485 GB, free: 7.23 MB / 462.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.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.315870407008333]