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.001861/0.001861, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002057/0.002057, allocations: 194.6 kB / 23.71 MB, free: 4.406 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.409/1.409, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.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.001581/0.001581, allocations: 47.92 kB / 370.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2309, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008746/0.2396, allocations: 6.131 MB / 428.7 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004474/0.2441, allocations: 2.165 MB / 430.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000887/0.245, allocations: 59.56 kB / 430.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.2463, allocations: 457 kB / 431.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.2482, allocations: 0.7031 MB / 432.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.2488, allocations: 263.7 kB / 432.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003114/0.2519, allocations: 2.832 MB / 435.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.2538, allocations: 1.324 MB / 436.5 MB, free: 356 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.2562, allocations: 1.352 MB / 437.9 MB, free: 15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002523/0.2587, allocations: 1.541 MB / 439.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005653/0.2593, allocations: 352 kB / 439.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009306/0.2602, allocations: 423.8 kB / 440.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009343/0.2612, allocations: 0.9038 MB / 441.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.2626, allocations: 1.249 MB / 442.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004742/0.2674, allocations: 4.652 MB / 447 MB, free: 5.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2674, allocations: 0 / 447 MB, free: 5.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2674, allocations: 0 / 447 MB, free: 5.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.456e-05/0.2674, allocations: 0 / 447 MB, free: 5.871 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005984/0.2734, allocations: 2.967 MB / 449.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.2735, allocations: 8.031 kB / 449.9 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004452/0.2739, allocations: 328.9 kB / 450.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007774/0.2747, allocations: 319.1 kB / 450.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003277/0.278, allocations: 1.607 MB / 452.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.2781, allocations: 160.4 kB / 452.3 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003517/0.2784, allocations: 216 kB / 452.5 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005475/0.2839, allocations: 3.366 MB / 455.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/0.284, allocations: 0 / 455.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/0.2842, allocations: 88 kB / 456 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.2843, allocations: 108.4 kB / 456.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004714/0.289, allocations: 2.73 MB / 458.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.3028, allocations: 7.966 MB / 466.8 MB, free: 1.598 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.3057, allocations: 1.92 MB / 468.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.3077, allocations: 1.234 MB / 469.9 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/0.3079, allocations: 49.28 kB / 470 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/0.3079, allocations: 47.81 kB / 470 MB, free: 14.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.477e-06/0.3079, allocations: 0 / 470 MB, free: 14.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01125/0.3192, allocations: 5.306 MB / 475.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.3192, allocations: 72.7 kB / 475.4 MB, free: 8.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/0.3215, allocations: 1.498 MB / 476.9 MB, free: 7.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.3216, allocations: 53.7 kB / 477 MB, free: 7.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007875/0.3224, allocations: 0.9549 MB / 477.9 MB, free: 6.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004216/0.3228, allocations: 468 kB / 478.4 MB, free: 5.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003633/0.3232, allocations: 218.9 kB / 478.6 MB, free: 5.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3233, allocations: 357.9 kB / 478.9 MB, free: 5.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.3245, allocations: 0.6896 MB / 479.6 MB, free: 4.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.3258, allocations: 0.8629 MB / 480.5 MB, free: 3.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.3282, allocations: 1.608 MB / 482.1 MB, free: 2.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3282, allocations: 4 kB / 482.1 MB, free: 2.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004108/0.3323, allocations: 2.291 MB / 484.4 MB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.3323, allocations: 8 kB / 484.4 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3323, allocations: 4 kB / 484.4 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002682/0.335, allocations: 0.8188 MB / 485.2 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008207/0.3358, allocations: 203.8 kB / 485.4 MB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/0.3493, allocations: 10.97 MB / 496.4 MB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.3503, allocations: 51.95 kB / 496.5 MB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/0.3504, allocations: 40 kB / 496.5 MB, free: 3.234 MB / 398.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.001336/0.3518, allocations: 0.8214 MB / 497.3 MB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.3521, allocations: 171 kB / 497.5 MB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004203/0.3563, allocations: 2.253 MB / 499.7 MB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.3563, allocations: 15.94 kB / 499.8 MB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.3563, allocations: 4 kB / 499.8 MB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.3563, allocations: 11.97 kB / 499.8 MB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007942/0.3643, allocations: 4.426 MB / 0.4924 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3643, allocations: 0 / 0.4924 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006771/0.3649, allocations: 159.8 kB / 0.4925 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/0.3675, allocations: 0.8111 MB / 0.4933 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.96e-05/0.3675, allocations: 36.27 kB / 0.4934 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/0.3806, allocations: 10.86 MB / 0.504 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.3806, allocations: 11.88 kB / 0.504 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005253/0.3858, allocations: 3.221 MB / 0.5071 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.3868, allocations: 334.9 kB / 0.5074 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/0.3871, allocations: 36.08 kB / 0.5075 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007577/0.3878, allocations: 67.89 kB / 0.5075 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.3881, allocations: 121 kB / 0.5077 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.213e-05/0.3882, allocations: 35.98 kB / 0.5077 GB, free: 11.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00163/0.3898, allocations: 1.056 MB / 0.5087 GB, free: 10.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3898, allocations: 4 kB / 0.5087 GB, free: 10.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001836/0.3917, allocations: 0.5078 MB / 0.5092 GB, free: 9.641 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.00602/0.3977, allocations: 3.88 MB / 0.513 GB, free: 5.715 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003991/0.4017, allocations: 2.35 MB / 0.5153 GB, free: 3.316 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.4017, allocations: 4 kB / 0.5153 GB, free: 3.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002514/0.4042, allocations: 1.589 MB / 0.5169 GB, free: 1.676 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.4065, allocations: 0.4992 MB / 0.5173 GB, free: 1.184 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2139/0.6204, allocations: 17.61 MB / 0.5345 GB, free: 107.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/0.6223, allocations: 1.47 MB / 0.536 GB, free: 107.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009463/0.6232, allocations: 305.2 kB / 0.5363 GB, free: 107.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007991/0.624, allocations: 0.7781 MB / 0.537 GB, free: 107.1 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.624, allocations: 2.531 kB / 0.537 GB, free: 107.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09055/0.7146, allocations: 53.14 MB / 0.5889 GB, free: 61.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/15.75, allocations: 11.27 kB / 0.5889 GB, free: 61.84 MB / 446.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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/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] "Error: Could not read variable transformer1.l2sigma.inductor[1].i in file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv. Warning: Get data of variable transformer1.l2sigma.inductor[1].i from file Modelica_4.0.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.379779542330652]