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.001696/0.001696, allocations: 124.8 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.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.001732/0.001732, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 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 1.386/1.386, allocations: 225.6 MB / 249.1 MB, free: 3.574 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001568/0.001568, allocations: 47.91 kB / 365.6 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1081, allocations: 52.14 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009233/0.1173, allocations: 6.901 MB / 424.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004894/0.1222, allocations: 2.274 MB / 427 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.1233, allocations: 47.81 kB / 427 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.1248, allocations: 464.9 kB / 427.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.1271, allocations: 0.6837 MB / 428.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008049/0.1279, allocations: 275.6 kB / 428.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003702/0.1316, allocations: 2.824 MB / 431.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002751/0.1343, allocations: 1.867 MB / 433.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/0.1377, allocations: 1.323 MB / 434.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002995/0.1407, allocations: 1.572 MB / 436 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009801/0.1417, allocations: 348 kB / 436.3 MB, free: 9.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.1431, allocations: 435.8 kB / 436.8 MB, free: 9.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.1442, allocations: 0.896 MB / 437.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002402/0.1466, allocations: 1.529 MB / 439.2 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005774/0.1524, allocations: 4.633 MB / 443.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1524, allocations: 0 / 443.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1524, allocations: 0 / 443.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001384/0.1526, allocations: 0 / 443.8 MB, free: 2.398 MB / 366.1 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.2005/0.353, allocations: 3.025 MB / 446.9 MB, free: 27.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.3531, allocations: 12.19 kB / 446.9 MB, free: 27.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007475/0.3538, allocations: 325.3 kB / 447.2 MB, free: 27.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009914/0.3548, allocations: 324.8 kB / 447.5 MB, free: 27.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/0.3585, allocations: 1.656 MB / 449.2 MB, free: 27.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.3586, allocations: 164.9 kB / 449.3 MB, free: 27.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004199/0.359, allocations: 212.9 kB / 449.5 MB, free: 27.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005991/0.365, allocations: 3.186 MB / 452.7 MB, free: 26.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-05/0.3651, allocations: 1.219 kB / 452.7 MB, free: 26.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002539/0.3653, allocations: 89.53 kB / 452.8 MB, free: 26.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.3655, allocations: 112.2 kB / 452.9 MB, free: 26.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005286/0.3708, allocations: 2.73 MB / 455.6 MB, free: 25.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.3849, allocations: 8.788 MB / 464.4 MB, free: 21.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/0.3877, allocations: 3.29 MB / 467.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/0.3894, allocations: 1.23 MB / 468.9 MB, free: 17.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/0.3897, allocations: 120.4 kB / 469.1 MB, free: 17.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.3897, allocations: 45.69 kB / 469.1 MB, free: 17.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 2.705e-06/0.3897, allocations: 3.938 kB / 469.1 MB, free: 17.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.0104/0.4001, allocations: 5.771 MB / 474.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.4001, allocations: 69.03 kB / 475 MB, free: 14.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.4024, allocations: 1.494 MB / 476.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.4026, allocations: 56.14 kB / 476.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005314/0.4031, allocations: 0.9558 MB / 477.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/0.4034, allocations: 467.1 kB / 477.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003297/0.4038, allocations: 226.4 kB / 478.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.66e-05/0.4038, allocations: 357.2 kB / 478.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009461/0.4048, allocations: 0.6914 MB / 479.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009171/0.4057, allocations: 0.8612 MB / 480 MB, free: 10.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.4075, allocations: 1.6 MB / 481.6 MB, free: 9.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.4075, allocations: 5.25 kB / 481.6 MB, free: 9.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003239/0.4107, allocations: 2.291 MB / 483.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.4107, allocations: 13.62 kB / 483.9 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.4107, allocations: 7.984 kB / 484 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002366/0.4131, allocations: 0.8211 MB / 484.8 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007689/0.4139, allocations: 207.7 kB / 485 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/0.4249, allocations: 11.49 MB / 496.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.4262, allocations: 51.95 kB / 496.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.4263, allocations: 40 kB / 496.6 MB, free: 10.97 MB / 382.1 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.001615/0.4279, allocations: 0.8173 MB / 497.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/0.4284, allocations: 174.9 kB / 497.5 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004187/0.4326, allocations: 2.253 MB / 499.8 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.4326, allocations: 12.56 kB / 499.8 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.4326, allocations: 4 kB / 499.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/0.4326, allocations: 14.08 kB / 499.8 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009856/0.4425, allocations: 4.687 MB / 0.4927 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.4425, allocations: 0 / 0.4927 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006782/0.4432, allocations: 163.8 kB / 0.4928 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/0.4462, allocations: 0.8128 MB / 0.4936 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/0.4464, allocations: 33.06 kB / 0.4937 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01991/0.4663, allocations: 11.38 MB / 0.5048 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/0.4663, allocations: 7.969 kB / 0.5048 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008481/0.4748, allocations: 3.224 MB / 0.5079 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/0.4764, allocations: 412 kB / 0.5083 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005233/0.4769, allocations: 28 kB / 0.5084 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.4784, allocations: 67.94 kB / 0.5084 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004941/0.4789, allocations: 109.1 kB / 0.5085 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/0.4791, allocations: 40 kB / 0.5086 GB, free: 2.031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002773/0.4818, allocations: 1.064 MB / 0.5096 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4818, allocations: 0 / 0.5096 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003333/0.4852, allocations: 0.5078 MB / 0.5101 GB, free: 468 kB / 398.1 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.008994/0.4942, allocations: 3.867 MB / 0.5139 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005642/0.4998, allocations: 2.357 MB / 0.5162 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.4998, allocations: 0 / 0.5162 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002932/0.5027, allocations: 1.586 MB / 0.5177 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.5052, allocations: 0.5189 MB / 0.5182 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03103/0.5362, allocations: 17.59 MB / 0.5354 GB, free: 6.117 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002283/0.5385, allocations: 2.039 MB / 0.5374 GB, free: 4.039 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001021/0.5395, allocations: 305.5 kB / 0.5377 GB, free: 3.734 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/0.5408, allocations: 0.7766 MB / 0.5385 GB, free: 2.957 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5408, allocations: 0 / 0.5385 GB, free: 2.957 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1439/0.6847, allocations: 50.8 MB / 0.5881 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/15.85, allocations: 8.469 kB / 0.5881 GB, free: 0.6523 MB / 478.1 MB " [Timeout remaining time 644] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 18.42136089876294]