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.001334/0.001334, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001389/0.001389, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.449/1.449, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.002642/0.002642, allocations: 51.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1397, allocations: 53.34 MB / 426.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.2536/0.3932, allocations: 6.903 MB / 433.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004567/0.3978, allocations: 2.337 MB / 435.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006962/0.3985, allocations: 63.31 kB / 435.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009883/0.3995, allocations: 462.2 kB / 436.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.4011, allocations: 0.6821 MB / 436.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.4015, allocations: 274 kB / 437 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002723/0.4043, allocations: 2.848 MB / 439.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.4064, allocations: 1.872 MB / 441.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.4093, allocations: 1.351 MB / 443.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00253/0.4118, allocations: 1.569 MB / 444.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006442/0.4124, allocations: 349.2 kB / 445 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.4136, allocations: 444.1 kB / 445.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007837/0.4144, allocations: 0.9034 MB / 446.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.4161, allocations: 1.527 MB / 447.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005576/0.4217, allocations: 4.644 MB / 452.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.4217, allocations: 0 / 452.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4217, allocations: 0 / 452.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001293/0.4218, allocations: 0 / 452.5 MB, free: 15.48 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.007481/0.4293, allocations: 3.045 MB / 455.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4294, allocations: 10.19 kB / 455.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006042/0.43, allocations: 325.7 kB / 455.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.4312, allocations: 355.9 kB / 456.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/0.4342, allocations: 1.667 MB / 457.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.4344, allocations: 168.3 kB / 458.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.4347, allocations: 213.9 kB / 458.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006339/0.4411, allocations: 3.178 MB / 461.5 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.341e-05/0.4411, allocations: 5.312 kB / 461.5 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/0.4413, allocations: 90.25 kB / 461.6 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/0.4415, allocations: 114.7 kB / 461.7 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005244/0.4467, allocations: 2.731 MB / 464.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01586/0.4626, allocations: 8.787 MB / 473.2 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00384/0.4664, allocations: 3.289 MB / 476.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/0.4685, allocations: 1.233 MB / 477.7 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.4688, allocations: 126.3 kB / 477.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.688e-05/0.4688, allocations: 47.88 kB / 477.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.286e-06/0.4688, allocations: 0 / 477.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01189/0.4807, allocations: 5.766 MB / 483.6 MB, free: 6.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.4808, allocations: 64.72 kB / 483.7 MB, free: 6.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002519/0.4833, allocations: 1.502 MB / 485.2 MB, free: 5.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.4834, allocations: 49.7 kB / 485.3 MB, free: 5.047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008242/0.4843, allocations: 0.9628 MB / 486.2 MB, free: 4.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004382/0.4847, allocations: 468 kB / 486.7 MB, free: 3.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003899/0.4851, allocations: 214.9 kB / 486.9 MB, free: 3.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4853, allocations: 357.9 kB / 487.2 MB, free: 3.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.4864, allocations: 0.6896 MB / 487.9 MB, free: 2.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.4876, allocations: 0.8668 MB / 488.8 MB, free: 1.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.49, allocations: 1.601 MB / 490.4 MB, free: 15.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.49, allocations: 7.938 kB / 490.4 MB, free: 15.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0041/0.4941, allocations: 2.295 MB / 492.7 MB, free: 13.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4941, allocations: 8 kB / 492.7 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4941, allocations: 4 kB / 492.7 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002732/0.4968, allocations: 0.8249 MB / 493.5 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000874/0.4977, allocations: 207.7 kB / 493.7 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/0.5116, allocations: 11.49 MB / 0.4934 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.513, allocations: 55.89 kB / 0.4934 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.5131, allocations: 44 kB / 0.4935 GB, free: 284 kB / 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.001512/0.5146, allocations: 0.8175 MB / 0.4943 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000406/0.515, allocations: 171 kB / 0.4944 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004183/0.5192, allocations: 2.25 MB / 0.4966 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.5192, allocations: 12 kB / 0.4966 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.5192, allocations: 12.06 kB / 0.4967 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.5193, allocations: 7.969 kB / 0.4967 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008342/0.5276, allocations: 4.692 MB / 0.5012 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.5276, allocations: 8.828 kB / 0.5013 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006876/0.5283, allocations: 155.9 kB / 0.5014 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002603/0.5309, allocations: 0.8098 MB / 0.5022 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-05/0.531, allocations: 31.98 kB / 0.5022 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/0.5443, allocations: 11.38 MB / 0.5133 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.5443, allocations: 3.938 kB / 0.5133 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005595/0.5499, allocations: 3.217 MB / 0.5165 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.551, allocations: 416 kB / 0.5169 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.5513, allocations: 31.98 kB / 0.5169 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008079/0.5521, allocations: 59.95 kB / 0.517 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/0.5524, allocations: 129 kB / 0.5171 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-05/0.5525, allocations: 35.98 kB / 0.5171 GB, free: 7.293 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001705/0.5542, allocations: 1.06 MB / 0.5182 GB, free: 6.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5542, allocations: 0 / 0.5182 GB, free: 6.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002044/0.5562, allocations: 0.5156 MB / 0.5187 GB, free: 5.715 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.005833/0.5621, allocations: 3.884 MB / 0.5225 GB, free: 1.789 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003949/0.566, allocations: 2.345 MB / 0.5247 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.566, allocations: 4.281 kB / 0.5248 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002526/0.5686, allocations: 1.582 MB / 0.5263 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.5711, allocations: 0.5129 MB / 0.5268 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02892/0.6, allocations: 17.64 MB / 0.544 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00202/0.6021, allocations: 2.043 MB / 0.546 GB, free: 9.223 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009509/0.603, allocations: 305.5 kB / 0.5463 GB, free: 8.918 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.6041, allocations: 0.7844 MB / 0.5471 GB, free: 8.133 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6041, allocations: 4 kB / 0.5471 GB, free: 8.129 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/0.7171, allocations: 50.91 MB / 0.5968 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/15.74, allocations: 0 / 0.5968 GB, free: 5.738 MB / 0.4981 GB " [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] Reference file matches [Calling sys.exit(0), Time elapsed: 18.423831785999937]