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.001892/0.001892, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002408/0.002408, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001594/0.001594, allocations: 51.92 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.307, allocations: 53.35 MB / 431.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.00916/0.3161, allocations: 6.955 MB / 438.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004979/0.3211, allocations: 2.352 MB / 440.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.3222, allocations: 67.5 kB / 440.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.3235, allocations: 464.9 kB / 441 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.3255, allocations: 0.6953 MB / 441.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006853/0.3262, allocations: 283.6 kB / 441.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003567/0.3298, allocations: 2.844 MB / 444.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/0.3318, allocations: 1.367 MB / 446.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002763/0.3345, allocations: 1.351 MB / 447.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002752/0.3373, allocations: 1.576 MB / 449.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007157/0.338, allocations: 351.9 kB / 449.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.3391, allocations: 447.8 kB / 449.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.3401, allocations: 0.896 MB / 450.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002405/0.3425, allocations: 1.533 MB / 452.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005975/0.3485, allocations: 4.638 MB / 456.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.3485, allocations: 0 / 456.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3485, allocations: 0 / 456.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001273/0.3486, allocations: 0 / 456.9 MB, free: 12.96 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.00762/0.3563, allocations: 2.979 MB / 459.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.3563, allocations: 8.031 kB / 459.9 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005595/0.3569, allocations: 328.9 kB / 460.2 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.3581, allocations: 347.1 kB / 460.6 MB, free: 9.258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/0.3619, allocations: 1.626 MB / 462.2 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.3621, allocations: 164.3 kB / 462.4 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004151/0.3625, allocations: 212 kB / 462.6 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005775/0.3683, allocations: 3.178 MB / 465.7 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.853e-05/0.3683, allocations: 4 kB / 465.7 MB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.3685, allocations: 87.98 kB / 465.8 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/0.3687, allocations: 116.4 kB / 465.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004761/0.3734, allocations: 2.73 MB / 468.7 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0152/0.3886, allocations: 8.688 MB / 477.4 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/0.3916, allocations: 1.946 MB / 479.3 MB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/0.3936, allocations: 1.23 MB / 480.5 MB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/0.3938, allocations: 53.22 kB / 480.6 MB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.3939, allocations: 47.88 kB / 480.6 MB, free: 4.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.457e-06/0.3939, allocations: 0 / 480.6 MB, free: 4.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01119/0.4051, allocations: 5.31 MB / 485.9 MB, free: 15.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.4051, allocations: 68.72 kB / 486 MB, free: 15.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.4076, allocations: 1.499 MB / 487.5 MB, free: 13.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001464/0.4078, allocations: 45.7 kB / 487.6 MB, free: 13.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009164/0.4087, allocations: 0.9666 MB / 488.5 MB, free: 12.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004974/0.4092, allocations: 464 kB / 489 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/0.4096, allocations: 218.9 kB / 489.2 MB, free: 12.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4098, allocations: 361.9 kB / 489.5 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.4109, allocations: 0.6935 MB / 490.2 MB, free: 11.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.4122, allocations: 0.8668 MB / 491.1 MB, free: 10.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/0.4147, allocations: 1.601 MB / 492.7 MB, free: 8.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.4147, allocations: 7.938 kB / 492.7 MB, free: 8.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004114/0.4188, allocations: 2.291 MB / 495 MB, free: 6.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.4188, allocations: 8 kB / 495 MB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4188, allocations: 0 / 495 MB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002826/0.4217, allocations: 0.8266 MB / 495.8 MB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007906/0.4225, allocations: 203.8 kB / 496 MB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/0.436, allocations: 11.07 MB / 0.4952 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.4372, allocations: 51.95 kB / 0.4953 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.4373, allocations: 44 kB / 0.4953 GB, free: 9.633 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.001533/0.4389, allocations: 0.8245 MB / 0.4961 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/0.4393, allocations: 171 kB / 0.4963 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004157/0.4434, allocations: 2.253 MB / 0.4985 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.4434, allocations: 19.98 kB / 0.4985 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.4434, allocations: 4 kB / 0.4985 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.4435, allocations: 3.984 kB / 0.4985 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008703/0.4522, allocations: 4.687 MB / 0.5031 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.4522, allocations: 0 / 0.5031 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006751/0.4528, allocations: 155.8 kB / 0.5032 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002675/0.4555, allocations: 0.8081 MB / 0.504 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.4556, allocations: 35.92 kB / 0.5041 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/0.4691, allocations: 10.95 MB / 0.5148 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.4691, allocations: 8.062 kB / 0.5148 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005616/0.4747, allocations: 3.224 MB / 0.5179 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.4759, allocations: 342.9 kB / 0.5182 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/0.4761, allocations: 31.94 kB / 0.5183 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007807/0.4769, allocations: 71.94 kB / 0.5183 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003227/0.4772, allocations: 121 kB / 0.5185 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.701e-05/0.4773, allocations: 32.06 kB / 0.5185 GB, free: 1.266 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001671/0.4789, allocations: 1.064 MB / 0.5195 GB, free: 204 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4789, allocations: 0 / 0.5195 GB, free: 204 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001923/0.4809, allocations: 0.5156 MB / 0.52 GB, free: 15.68 MB / 446.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.006074/0.4869, allocations: 3.881 MB / 0.5238 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004128/0.4911, allocations: 2.349 MB / 0.5261 GB, free: 9.352 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4911, allocations: 0.875 kB / 0.5261 GB, free: 9.352 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00255/0.4936, allocations: 1.585 MB / 0.5277 GB, free: 7.719 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.4959, allocations: 0.5039 MB / 0.5282 GB, free: 7.223 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2425/0.7385, allocations: 17.67 MB / 0.5454 GB, free: 97.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.7399, allocations: 2.04 MB / 0.5474 GB, free: 96.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008885/0.7408, allocations: 310.5 kB / 0.5477 GB, free: 96.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000828/0.7416, allocations: 0.7818 MB / 0.5485 GB, free: 96.08 MB / 446.1 MB Notification: Performance of SimCode: time 1.263e-06/0.7416, allocations: 0 / 0.5485 GB, free: 96.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0948/0.8364, allocations: 52.02 MB / 0.5993 GB, free: 46.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.5/17.34, allocations: 11.92 kB / 0.5993 GB, free: 46.93 MB / 446.1 MB " [Timeout remaining time 643] (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] Reference file matches [Calling sys.exit(0), Time elapsed: 20.02952513999844]