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.001831/0.001831, allocations: 112 kB / 20.43 MB, free: 1.457 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.002249/0.002249, allocations: 181.3 kB / 23.72 MB, free: 4.699 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.455/1.455, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001491/0.001491, allocations: 47.92 kB / 370.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2392, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008729/0.2479, allocations: 6.928 MB / 429.6 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004285/0.2522, allocations: 2.285 MB / 431.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006778/0.2529, allocations: 59.56 kB / 431.9 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.2539, allocations: 469 kB / 432.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.2555, allocations: 0.6954 MB / 433.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.256, allocations: 275.6 kB / 433.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002967/0.259, allocations: 2.828 MB / 436.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.2609, allocations: 1.367 MB / 437.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.2634, allocations: 1.355 MB / 438.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002413/0.2658, allocations: 1.572 MB / 440.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005312/0.2663, allocations: 348 kB / 440.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008528/0.2672, allocations: 439.8 kB / 441.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008351/0.268, allocations: 0.896 MB / 442.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.2697, allocations: 1.525 MB / 443.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00475/0.2744, allocations: 4.637 MB / 448.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2744, allocations: 3.938 kB / 448.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2744, allocations: 0 / 448.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.188e-05/0.2745, allocations: 0 / 448.3 MB, free: 4.812 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.006041/0.2806, allocations: 2.971 MB / 451.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.2806, allocations: 8.031 kB / 451.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004448/0.281, allocations: 332.9 kB / 451.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007935/0.2818, allocations: 319.1 kB / 451.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/0.2849, allocations: 1.599 MB / 453.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.285, allocations: 164.4 kB / 453.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/0.2853, allocations: 219.9 kB / 453.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005024/0.2903, allocations: 3.182 MB / 457.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/0.2904, allocations: 0 / 457.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/0.2906, allocations: 91.98 kB / 457.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.2907, allocations: 108.4 kB / 457.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004423/0.2951, allocations: 2.73 MB / 460 MB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/0.3091, allocations: 8.695 MB / 468.7 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/0.312, allocations: 1.931 MB / 470.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.3138, allocations: 1.238 MB / 471.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.3141, allocations: 41.28 kB / 471.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.3141, allocations: 51.88 kB / 471.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.276e-06/0.3141, allocations: 0 / 471.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01081/0.3249, allocations: 5.306 MB / 477.3 MB, free: 7.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.325, allocations: 64.72 kB / 477.3 MB, free: 7.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.3272, allocations: 1.49 MB / 478.8 MB, free: 5.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.982e-05/0.3273, allocations: 53.7 kB / 478.9 MB, free: 5.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007807/0.3281, allocations: 0.9549 MB / 479.8 MB, free: 4.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/0.3285, allocations: 468 kB / 480.3 MB, free: 4.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003501/0.3289, allocations: 222.9 kB / 480.5 MB, free: 4.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.329, allocations: 357.9 kB / 480.8 MB, free: 3.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.3301, allocations: 0.6935 MB / 481.5 MB, free: 3.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.3313, allocations: 0.8629 MB / 482.4 MB, free: 2.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/0.3336, allocations: 1.608 MB / 484 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3336, allocations: 0 / 484 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003904/0.3375, allocations: 2.287 MB / 486.3 MB, free: 14.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.3376, allocations: 10.66 kB / 486.3 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3376, allocations: 4 kB / 486.3 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002838/0.3404, allocations: 0.8266 MB / 487.1 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/0.3413, allocations: 207.8 kB / 487.3 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/0.3543, allocations: 11.08 MB / 498.4 MB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009993/0.3553, allocations: 51.95 kB / 498.5 MB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/0.3554, allocations: 47.98 kB / 498.5 MB, free: 1.535 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.001366/0.3567, allocations: 0.8137 MB / 499.3 MB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/0.3571, allocations: 167 kB / 499.5 MB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004036/0.3611, allocations: 2.253 MB / 0.49 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.3611, allocations: 16 kB / 0.49 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.3611, allocations: 4 kB / 0.49 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.3611, allocations: 7.969 kB / 0.49 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008164/0.3693, allocations: 4.671 MB / 0.4946 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.3693, allocations: 8.125 kB / 0.4946 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/0.37, allocations: 159.8 kB / 0.4947 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002679/0.3726, allocations: 0.8116 MB / 0.4955 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.3e-05/0.3727, allocations: 27.98 kB / 0.4955 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/0.3855, allocations: 10.97 MB / 0.5063 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.3855, allocations: 11.92 kB / 0.5063 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005368/0.3909, allocations: 3.221 MB / 0.5094 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.3919, allocations: 346.8 kB / 0.5097 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.3921, allocations: 31.98 kB / 0.5098 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007457/0.3929, allocations: 63.89 kB / 0.5098 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/0.3932, allocations: 125 kB / 0.51 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.738e-05/0.3933, allocations: 39.98 kB / 0.51 GB, free: 9.164 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001557/0.3948, allocations: 1.056 MB / 0.511 GB, free: 8.105 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3948, allocations: 480 / 0.511 GB, free: 8.105 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001688/0.3965, allocations: 0.5039 MB / 0.5115 GB, free: 7.602 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.005657/0.4022, allocations: 3.878 MB / 0.5153 GB, free: 3.676 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003777/0.406, allocations: 2.345 MB / 0.5176 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.406, allocations: 0 / 0.5176 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002427/0.4084, allocations: 1.594 MB / 0.5192 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.4106, allocations: 0.503 MB / 0.5196 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2082/0.6188, allocations: 17.62 MB / 0.5368 GB, free: 105.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.6203, allocations: 2.04 MB / 0.5388 GB, free: 105.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007913/0.6211, allocations: 312.7 kB / 0.5391 GB, free: 105.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00073/0.6218, allocations: 0.7798 MB / 0.5399 GB, free: 105.1 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6218, allocations: 0 / 0.5399 GB, free: 105.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09521/0.717, allocations: 51.91 MB / 0.5906 GB, free: 61.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.13/16.84, allocations: 7.031 kB / 0.5906 GB, free: 61.08 MB / 446.1 MB " [Timeout remaining time 643] (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: 19.449539412999002]