Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 119.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 215.5 kB / 20.75 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 59.89 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1088, allocations: 53.38 MB / 426.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.2528/0.3616, allocations: 6.939 MB / 433.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005233/0.3668, allocations: 2.347 MB / 435.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.3682, allocations: 63.91 kB / 435.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.3697, allocations: 466 kB / 436.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.3724, allocations: 0.6993 MB / 436.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000951/0.3733, allocations: 276.7 kB / 437.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004773/0.3781, allocations: 2.88 MB / 440 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002786/0.3809, allocations: 1.87 MB / 441.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003853/0.3847, allocations: 1.366 MB / 443.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00355/0.3883, allocations: 1.578 MB / 444.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001253/0.3895, allocations: 349.1 kB / 445.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.3915, allocations: 443.9 kB / 445.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.3929, allocations: 0.9137 MB / 446.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003927/0.3968, allocations: 1.538 MB / 448.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008371/0.4052, allocations: 4.658 MB / 452.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.4052, allocations: 1.375 kB / 452.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4052, allocations: 1.125 kB / 452.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002312/0.4054, allocations: 0 / 452.7 MB, free: 15.18 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: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.01087/0.4163, allocations: 3.055 MB / 455.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/0.4164, allocations: 13.08 kB / 455.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008704/0.4172, allocations: 328.9 kB / 456.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.4188, allocations: 356 kB / 456.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004001/0.4228, allocations: 1.668 MB / 458.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.423, allocations: 168.9 kB / 458.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005289/0.4235, allocations: 221.7 kB / 458.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007893/0.4314, allocations: 3.206 MB / 461.7 MB, free: 9.379 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.872e-05/0.4314, allocations: 7.469 kB / 461.7 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002811/0.4317, allocations: 91.66 kB / 461.8 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/0.4319, allocations: 124.6 kB / 461.9 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006761/0.4387, allocations: 2.749 MB / 464.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01996/0.4586, allocations: 9.135 MB / 473.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004327/0.4629, allocations: 3.298 MB / 477.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002237/0.4652, allocations: 1.226 MB / 478.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/0.4655, allocations: 126.4 kB / 478.5 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/0.4655, allocations: 47.88 kB / 478.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.316e-06/0.4655, allocations: 4 kB / 478.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01263/0.4782, allocations: 5.758 MB / 484.3 MB, free: 5.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.4782, allocations: 68.72 kB / 484.3 MB, free: 5.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/0.4809, allocations: 1.499 MB / 485.8 MB, free: 4.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002565/0.4811, allocations: 49.7 kB / 485.9 MB, free: 4.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008257/0.482, allocations: 0.9744 MB / 486.9 MB, free: 3.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005619/0.4825, allocations: 468 kB / 487.3 MB, free: 2.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004138/0.4829, allocations: 222.9 kB / 487.5 MB, free: 2.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4831, allocations: 365.9 kB / 487.9 MB, free: 2.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.4843, allocations: 0.6896 MB / 488.6 MB, free: 1.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.4856, allocations: 0.8706 MB / 489.5 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002505/0.4881, allocations: 1.597 MB / 491 MB, free: 14.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.4881, allocations: 4 kB / 491.1 MB, free: 14.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004379/0.4925, allocations: 2.295 MB / 493.3 MB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.4925, allocations: 8 kB / 493.4 MB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.4926, allocations: 4 kB / 493.4 MB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00286/0.4954, allocations: 0.8204 MB / 494.2 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.4965, allocations: 207.7 kB / 494.4 MB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/0.5106, allocations: 11.49 MB / 0.494 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.5123, allocations: 43.97 kB / 0.4941 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.5124, allocations: 48.48 kB / 0.4941 GB, free: 15.36 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.001875/0.5143, allocations: 0.8214 MB / 0.4949 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005574/0.5149, allocations: 171 kB / 0.4951 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004389/0.5192, allocations: 2.249 MB / 0.4973 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.5193, allocations: 12 kB / 0.4973 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.5193, allocations: 8 kB / 0.4973 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.5193, allocations: 12.84 kB / 0.4973 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009338/0.5286, allocations: 4.706 MB / 0.5019 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.5286, allocations: 0 / 0.5019 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006778/0.5293, allocations: 163.9 kB / 0.502 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002608/0.5319, allocations: 0.8004 MB / 0.5028 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.532, allocations: 32.06 kB / 0.5029 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/0.5454, allocations: 11.39 MB / 0.514 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5454, allocations: 7.969 kB / 0.514 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005634/0.551, allocations: 3.22 MB / 0.5171 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.5522, allocations: 408 kB / 0.5175 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002874/0.5525, allocations: 28 kB / 0.5176 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008493/0.5533, allocations: 79.81 kB / 0.5176 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/0.5537, allocations: 117.1 kB / 0.5177 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.347e-05/0.5537, allocations: 32 kB / 0.5178 GB, free: 6.363 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001771/0.5555, allocations: 1.068 MB / 0.5188 GB, free: 5.293 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5555, allocations: 0 / 0.5188 GB, free: 5.293 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002572/0.5581, allocations: 0.5078 MB / 0.5193 GB, free: 4.785 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.006225/0.5643, allocations: 3.869 MB / 0.5231 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00412/0.5684, allocations: 2.349 MB / 0.5254 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5684, allocations: 0 / 0.5254 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002602/0.571, allocations: 1.594 MB / 0.5269 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/0.5738, allocations: 0.5137 MB / 0.5274 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03151/0.6053, allocations: 17.66 MB / 0.5447 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002294/0.6076, allocations: 2.055 MB / 0.5467 GB, free: 8.258 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001073/0.6087, allocations: 313.5 kB / 0.547 GB, free: 7.945 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.6098, allocations: 0.7805 MB / 0.5478 GB, free: 7.164 MB / 462.1 MB Notification: Performance of SimCode: time 2.525e-06/0.6098, allocations: 0 / 0.5478 GB, free: 7.164 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1147/0.7245, allocations: 50.95 MB / 0.5975 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/15.96, allocations: 15.73 kB / 0.5975 GB, free: 4.641 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv. Warning: Get data of variable transformer1.l2sigma.inductor[1].i from file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.680488479090855]