Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.001865/0.001865, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002275/0.002275, allocations: 210.4 kB / 23.73 MB, free: 4.387 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 51.89 kB / 377.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2363, allocations: 53.36 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008957/0.2453, allocations: 6.153 MB / 437.2 MB, free: 460 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006208/0.2515, allocations: 2.22 MB / 439.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.2531, allocations: 59.56 kB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.255, allocations: 449 kB / 440 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.2574, allocations: 0.6992 MB / 440.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007973/0.2582, allocations: 279.7 kB / 440.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003544/0.2618, allocations: 2.84 MB / 443.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.2636, allocations: 1.328 MB / 445.1 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.2661, allocations: 1.365 MB / 446.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.2682, allocations: 1.545 MB / 448 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005166/0.2688, allocations: 355.9 kB / 448.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008436/0.2696, allocations: 435.8 kB / 448.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008064/0.2704, allocations: 0.8999 MB / 449.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.2719, allocations: 1.241 MB / 450.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004739/0.2766, allocations: 4.668 MB / 455.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2766, allocations: 0 / 455.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2766, allocations: 0 / 455.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.58e-05/0.2767, allocations: 0 / 455.6 MB, free: 13.99 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.005788/0.2825, allocations: 2.971 MB / 458.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2825, allocations: 19.97 kB / 458.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004167/0.2829, allocations: 320.9 kB / 458.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009776/0.2839, allocations: 351.1 kB / 459.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00321/0.2871, allocations: 1.623 MB / 460.9 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.2873, allocations: 160.4 kB / 461 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003422/0.2876, allocations: 212 kB / 461.2 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005442/0.2931, allocations: 3.354 MB / 464.6 MB, free: 4.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.254e-05/0.2931, allocations: 0 / 464.6 MB, free: 4.762 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/0.2933, allocations: 88 kB / 464.7 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.2934, allocations: 112.4 kB / 464.8 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004572/0.298, allocations: 2.734 MB / 467.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/0.3122, allocations: 7.955 MB / 475.5 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/0.3152, allocations: 1.927 MB / 477.4 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002041/0.3173, allocations: 1.246 MB / 478.6 MB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.3175, allocations: 49.28 kB / 478.7 MB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.3176, allocations: 43.88 kB / 478.7 MB, free: 6.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.727e-06/0.3176, allocations: 4 kB / 478.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01117/0.3287, allocations: 5.306 MB / 484 MB, free: 1.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.3288, allocations: 68.72 kB / 484.1 MB, free: 1.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002451/0.3312, allocations: 1.506 MB / 485.6 MB, free: 15.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.576e-05/0.3313, allocations: 45.7 kB / 485.7 MB, free: 15.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007873/0.3321, allocations: 0.9705 MB / 486.6 MB, free: 14.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000409/0.3325, allocations: 464 kB / 487.1 MB, free: 14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003744/0.3329, allocations: 222.9 kB / 487.3 MB, free: 13.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3331, allocations: 357.9 kB / 487.7 MB, free: 13.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.3342, allocations: 0.6935 MB / 488.3 MB, free: 12.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.3355, allocations: 0.8551 MB / 489.2 MB, free: 11.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/0.3379, allocations: 1.608 MB / 490.8 MB, free: 10.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.3379, allocations: 0 / 490.8 MB, free: 10.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004085/0.342, allocations: 2.295 MB / 493.1 MB, free: 7.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.342, allocations: 4 kB / 493.1 MB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.342, allocations: 7.984 kB / 493.1 MB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002677/0.3447, allocations: 0.8188 MB / 493.9 MB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000799/0.3455, allocations: 211.6 kB / 494.1 MB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/0.3594, allocations: 10.96 MB / 0.4933 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.3605, allocations: 55.89 kB / 0.4933 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.3607, allocations: 40 kB / 0.4934 GB, free: 11.29 MB / 414.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.001469/0.3622, allocations: 0.828 MB / 0.4942 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/0.3626, allocations: 171 kB / 0.4943 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004174/0.3668, allocations: 2.253 MB / 0.4965 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.3668, allocations: 12 kB / 0.4965 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.3668, allocations: 7.984 kB / 0.4965 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.3668, allocations: 7.984 kB / 0.4966 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008525/0.3754, allocations: 4.426 MB / 0.5009 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/0.3754, allocations: 4 kB / 0.5009 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006855/0.376, allocations: 151.8 kB / 0.501 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002575/0.3786, allocations: 0.8117 MB / 0.5018 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.24e-05/0.3787, allocations: 28 kB / 0.5018 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01349/0.3922, allocations: 10.87 MB / 0.5125 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.3922, allocations: 3.938 kB / 0.5125 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005514/0.3977, allocations: 3.217 MB / 0.5156 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.3988, allocations: 342.9 kB / 0.5159 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003437/0.3991, allocations: 31.98 kB / 0.516 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008717/0.4, allocations: 63.95 kB / 0.516 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/0.4003, allocations: 128.9 kB / 0.5161 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.4004, allocations: 40 kB / 0.5162 GB, free: 3.277 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001872/0.4023, allocations: 1.068 MB / 0.5172 GB, free: 2.207 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4023, allocations: 0 / 0.5172 GB, free: 2.207 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002054/0.4043, allocations: 0.5156 MB / 0.5177 GB, free: 1.691 MB / 430.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.00669/0.411, allocations: 3.874 MB / 0.5215 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004145/0.4152, allocations: 2.35 MB / 0.5238 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.4152, allocations: 4 kB / 0.5238 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002545/0.4177, allocations: 1.585 MB / 0.5254 GB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/0.4201, allocations: 0.4975 MB / 0.5258 GB, free: 9.238 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2155/0.6356, allocations: 17.66 MB / 0.5431 GB, free: 98.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.6367, allocations: 1.469 MB / 0.5445 GB, free: 98.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007469/0.6375, allocations: 311.8 kB / 0.5448 GB, free: 98.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007481/0.6382, allocations: 0.7768 MB / 0.5456 GB, free: 97.84 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6382, allocations: 0 / 0.5456 GB, free: 97.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08713/0.7254, allocations: 53.27 MB / 0.5976 GB, free: 48.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.71, allocations: 11.67 kB / 0.5976 GB, free: 48.1 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transformer1.l2sigma.inductor[1].i in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv. Warning: Get data of variable transformer1.l2sigma.inductor[1].i from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,cDC1.v,cDC2.v,transformer1.l2sigma.inductor[1].i,transformer1.l2sigma.inductor[3].i Variables in the result:time,cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i [Calling sys.exit(0), Time elapsed: 18.41914627002552]