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.001805/0.001805, allocations: 124 kB / 17.79 MB, free: 5.266 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.001974/0.001974, allocations: 190.9 kB / 20.73 MB, free: 2.328 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.407/1.407, allocations: 225.6 MB / 249.1 MB, free: 3.641 MB / 190.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.001496/0.001496, allocations: 51.92 kB / 365.7 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09904, allocations: 52.14 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008182/0.1072, allocations: 6.901 MB / 424.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004537/0.1118, allocations: 2.27 MB / 427 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006143/0.1124, allocations: 59.62 kB / 427 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009818/0.1134, allocations: 472.9 kB / 427.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.1148, allocations: 0.6798 MB / 428.2 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.1152, allocations: 271.6 kB / 428.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002759/0.118, allocations: 2.832 MB / 431.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/0.1201, allocations: 1.863 MB / 433.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.1224, allocations: 1.342 MB / 434.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.1243, allocations: 1.568 MB / 436 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004262/0.1247, allocations: 348 kB / 436.4 MB, free: 9.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007006/0.1254, allocations: 435.8 kB / 436.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007667/0.1262, allocations: 0.8999 MB / 437.7 MB, free: 8.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.1278, allocations: 1.525 MB / 439.2 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004621/0.1324, allocations: 4.625 MB / 443.9 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1324, allocations: 3.938 kB / 443.9 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.1324, allocations: 3.984 kB / 443.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.372e-05/0.1325, allocations: 0 / 443.9 MB, free: 2.43 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.2022/0.3347, allocations: 3.025 MB / 446.9 MB, free: 27.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3348, allocations: 10.78 kB / 446.9 MB, free: 27.85 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000432/0.3352, allocations: 329.3 kB / 447.2 MB, free: 27.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007803/0.336, allocations: 324.2 kB / 447.5 MB, free: 27.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.3383, allocations: 1.655 MB / 449.2 MB, free: 27.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.864e-05/0.3384, allocations: 166.8 kB / 449.4 MB, free: 27.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.3386, allocations: 214 kB / 449.6 MB, free: 27.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005133/0.3438, allocations: 3.181 MB / 452.7 MB, free: 26.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.648e-05/0.3438, allocations: 1.031 kB / 452.7 MB, free: 26.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.344, allocations: 87.41 kB / 452.8 MB, free: 26.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001412/0.3442, allocations: 109.7 kB / 452.9 MB, free: 26.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005785/0.35, allocations: 2.733 MB / 455.7 MB, free: 25.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01524/0.3652, allocations: 8.795 MB / 464.5 MB, free: 21.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/0.3689, allocations: 3.293 MB / 467.8 MB, free: 18.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/0.3708, allocations: 1.224 MB / 469 MB, free: 17.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/0.371, allocations: 125.9 kB / 469.1 MB, free: 17.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.3711, allocations: 52.97 kB / 469.2 MB, free: 17.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.597e-06/0.3711, allocations: 1.156 kB / 469.2 MB, free: 17.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01089/0.382, allocations: 5.767 MB / 474.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.382, allocations: 66.47 kB / 475 MB, free: 14.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002371/0.3844, allocations: 1.489 MB / 476.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.3845, allocations: 51.89 kB / 476.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005886/0.3851, allocations: 0.9562 MB / 477.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.3855, allocations: 466.5 kB / 477.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.3858, allocations: 221.8 kB / 478.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.3859, allocations: 362.2 kB / 478.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009479/0.3868, allocations: 0.6909 MB / 479.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008932/0.3877, allocations: 0.8681 MB / 480.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.3895, allocations: 1.6 MB / 481.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3895, allocations: 1.875 kB / 481.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003285/0.3928, allocations: 2.298 MB / 484 MB, free: 8.188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3928, allocations: 4 kB / 484 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.3928, allocations: 4 kB / 484 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/0.3951, allocations: 0.8304 MB / 484.8 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/0.3959, allocations: 202.7 kB / 485 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.4061, allocations: 11.48 MB / 496.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.4071, allocations: 47.97 kB / 496.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.414e-05/0.4072, allocations: 40 kB / 496.6 MB, free: 11.04 MB / 382.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.001334/0.4086, allocations: 0.8336 MB / 497.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.4089, allocations: 167 kB / 497.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003919/0.4128, allocations: 2.257 MB / 499.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.4128, allocations: 12 kB / 499.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4128, allocations: 4 kB / 499.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.4128, allocations: 3.984 kB / 499.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00771/0.4205, allocations: 4.704 MB / 0.4927 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.4205, allocations: 3.984 kB / 0.4927 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/0.4212, allocations: 155.8 kB / 0.4929 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002558/0.4238, allocations: 0.8148 MB / 0.4937 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-05/0.4239, allocations: 32 kB / 0.4937 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/0.4366, allocations: 11.39 MB / 0.5048 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4366, allocations: 0 / 0.5048 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005447/0.442, allocations: 3.22 MB / 0.508 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.4431, allocations: 407.9 kB / 0.5084 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/0.4433, allocations: 32 kB / 0.5084 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007726/0.4441, allocations: 67.94 kB / 0.5085 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003065/0.4444, allocations: 123.8 kB / 0.5086 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.327e-05/0.4445, allocations: 32 kB / 0.5086 GB, free: 2.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.4461, allocations: 1.056 MB / 0.5096 GB, free: 1.031 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4461, allocations: 0 / 0.5096 GB, free: 1.031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002042/0.4481, allocations: 0.5155 MB / 0.5101 GB, free: 0.5156 MB / 398.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.005763/0.4539, allocations: 3.874 MB / 0.5139 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004029/0.4579, allocations: 2.35 MB / 0.5162 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.4579, allocations: 3.938 kB / 0.5162 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002485/0.4604, allocations: 1.589 MB / 0.5178 GB, free: 8.559 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.463, allocations: 0.5065 MB / 0.5183 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02911/0.4921, allocations: 17.59 MB / 0.5354 GB, free: 6.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00212/0.4942, allocations: 2.043 MB / 0.5374 GB, free: 4.102 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009438/0.4951, allocations: 305.5 kB / 0.5377 GB, free: 3.797 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.4962, allocations: 0.7766 MB / 0.5385 GB, free: 3.02 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4962, allocations: 0 / 0.5385 GB, free: 3.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/0.6042, allocations: 50.79 MB / 0.5881 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.62, allocations: 8.547 kB / 0.5881 GB, free: 0.7266 MB / 478.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] Reference file matches [Calling sys.exit(0), Time elapsed: 18.201787791680545]