Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.000932/0.000932, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007828/0.0007828, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9085/0.9085, allocations: 173.3 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 318.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.405e-05, allocations: 5.516 kB / 318.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.004945/0.004959, allocations: 6.105 MB / 324.6 MB, free: 200 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.008017, allocations: 2.177 MB / 326.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004659/0.008483, allocations: 59.56 kB / 326.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008192/0.009302, allocations: 460.9 kB / 327.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.01032, allocations: 0.7296 MB / 328 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.01063, allocations: 263.7 kB / 328.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.01228, allocations: 2.932 MB / 331.2 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.01337, allocations: 1.34 MB / 332.5 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.01513, allocations: 1.95 MB / 334.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.01638, allocations: 1.395 MB / 335.8 MB, free: 4.816 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003086/0.01669, allocations: 348 kB / 336.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004269/0.01712, allocations: 431.8 kB / 336.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004936/0.01761, allocations: 0.931 MB / 337.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007979/0.01841, allocations: 1.06 MB / 338.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.02113, allocations: 4.698 MB / 343.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.02113, allocations: 0 / 343.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.02113, allocations: 0 / 343.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.168e-05/0.02116, allocations: 4 kB / 343.3 MB, free: 13.34 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.00316/0.02432, allocations: 2.935 MB / 346.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.02437, allocations: 8.922 kB / 346.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002772/0.02465, allocations: 320.9 kB / 346.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004189/0.02506, allocations: 327.1 kB / 346.9 MB, free: 9.707 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.02692, allocations: 1.599 MB / 348.5 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.589e-05/0.027, allocations: 164.5 kB / 348.6 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.0272, allocations: 215.9 kB / 348.8 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/0.03023, allocations: 3.358 MB / 352.2 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.03026, allocations: 11.94 kB / 352.2 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.0304, allocations: 84 kB / 352.3 MB, free: 4.105 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.447e-05/0.03047, allocations: 116.4 kB / 352.4 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002999/0.03347, allocations: 2.723 MB / 355.1 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007657/0.04113, allocations: 7.964 MB / 363.1 MB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.043, allocations: 1.932 MB / 365 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.0442, allocations: 1.23 MB / 366.3 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.04435, allocations: 49.22 kB / 366.3 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.04438, allocations: 47.88 kB / 366.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.465e-06/0.04438, allocations: 11.94 kB / 366.4 MB, free: 5.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.006446/0.05083, allocations: 5.298 MB / 371.7 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.05087, allocations: 68.7 kB / 371.7 MB, free: 452 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.05221, allocations: 1.498 MB / 373.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.05227, allocations: 45.7 kB / 373.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000447/0.05271, allocations: 0.9588 MB / 374.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.05295, allocations: 464 kB / 374.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.05317, allocations: 218.9 kB / 374.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.05327, allocations: 353.9 kB / 375.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000939/0.05421, allocations: 0.6935 MB / 375.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007376/0.05495, allocations: 0.8629 MB / 376.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.05637, allocations: 1.601 MB / 378.4 MB, free: 9.625 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.05637, allocations: 8 kB / 378.4 MB, free: 9.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002251/0.05862, allocations: 2.299 MB / 380.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.05864, allocations: 4 kB / 380.7 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.05865, allocations: 4 kB / 380.7 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.06003, allocations: 0.8228 MB / 381.5 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.06044, allocations: 203.7 kB / 381.7 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007868/0.06831, allocations: 10.97 MB / 392.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.06873, allocations: 56.02 kB / 392.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.556e-05/0.06879, allocations: 40 kB / 392.8 MB, free: 10.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * 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 {(2,29,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.000803/0.06959, allocations: 0.8174 MB / 393.6 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.06975, allocations: 171 kB / 393.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.07203, allocations: 2.253 MB / 396 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.07203, allocations: 12 kB / 396.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.07204, allocations: 4 kB / 396.1 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.07205, allocations: 7.969 kB / 396.1 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004525/0.07657, allocations: 4.429 MB / 400.5 MB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.07658, allocations: 480 / 400.5 MB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.07692, allocations: 163.9 kB / 400.7 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.07815, allocations: 0.8071 MB / 401.5 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.0782, allocations: 32.06 kB / 401.5 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00726/0.08546, allocations: 10.85 MB / 412.3 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.08547, allocations: 8.016 kB / 412.4 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002977/0.08844, allocations: 3.216 MB / 415.6 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/0.0889, allocations: 343.1 kB / 415.9 MB, free: 3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.08901, allocations: 27.98 kB / 415.9 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.0894, allocations: 71.94 kB / 416 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.08958, allocations: 125 kB / 416.1 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/0.08963, allocations: 32 kB / 416.2 MB, free: 2.746 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009477/0.09058, allocations: 1.056 MB / 417.2 MB, free: 1.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09058, allocations: 0 / 417.2 MB, free: 1.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001201/0.09178, allocations: 0.5156 MB / 417.7 MB, free: 1.172 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * 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 {(2,29,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.003609/0.09539, allocations: 3.871 MB / 421.6 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002215/0.09761, allocations: 2.345 MB / 423.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.09761, allocations: 4 kB / 424 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.09894, allocations: 1.59 MB / 425.5 MB, free: 9.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.1002, allocations: 0.5114 MB / 426.1 MB, free: 8.707 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/0.1186, allocations: 17.64 MB / 443.7 MB, free: 6.754 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.1196, allocations: 1.466 MB / 445.2 MB, free: 5.242 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005547/0.1202, allocations: 309.5 kB / 445.5 MB, free: 4.934 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006331/0.1208, allocations: 0.7776 MB / 446.2 MB, free: 4.156 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1208, allocations: 0 / 446.2 MB, free: 4.156 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1949/0.3157, allocations: 53.11 MB / 499.4 MB, free: 79.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.154/9.47, allocations: 8 kB / 499.4 MB, free: 79.03 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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: 11.288246842101216]