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.001285/0.001285, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001331/0.001331, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.451/1.451, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001553/0.001553, allocations: 55.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, allocations: 53.34 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.2068/0.3108, allocations: 6.902 MB / 433.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003764/0.3146, allocations: 2.339 MB / 435.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007137/0.3153, allocations: 62.44 kB / 435.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.3163, allocations: 463.5 kB / 436.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.3179, allocations: 0.6806 MB / 436.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005796/0.3185, allocations: 278.7 kB / 437 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003116/0.3216, allocations: 2.842 MB / 439.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.3238, allocations: 1.872 MB / 441.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.327, allocations: 1.345 MB / 443.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002594/0.3295, allocations: 1.575 MB / 444.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005552/0.3301, allocations: 348.7 kB / 445 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.3311, allocations: 446.4 kB / 445.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008064/0.3319, allocations: 0.9032 MB / 446.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001923/0.3338, allocations: 1.527 MB / 447.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005674/0.3395, allocations: 4.643 MB / 452.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3395, allocations: 0.875 kB / 452.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3395, allocations: 0 / 452.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001158/0.3396, allocations: 0 / 452.5 MB, free: 15.5 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.007675/0.3473, allocations: 3.052 MB / 455.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3474, allocations: 10.09 kB / 455.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005317/0.3479, allocations: 325.2 kB / 455.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.3491, allocations: 350.4 kB / 456.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/0.3522, allocations: 1.675 MB / 457.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.3524, allocations: 165 kB / 458.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003414/0.3527, allocations: 210.3 kB / 458.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005822/0.3585, allocations: 3.182 MB / 461.5 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/0.3586, allocations: 1.062 kB / 461.5 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/0.3588, allocations: 87 kB / 461.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001392/0.3589, allocations: 116.1 kB / 461.7 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004824/0.3638, allocations: 2.729 MB / 464.4 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.3788, allocations: 8.781 MB / 473.2 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003977/0.3828, allocations: 3.297 MB / 476.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/0.3848, allocations: 1.229 MB / 477.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.3851, allocations: 134.3 kB / 477.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.3852, allocations: 51.86 kB / 477.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.616e-06/0.3852, allocations: 0 / 477.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01189/0.3971, allocations: 5.754 MB / 483.6 MB, free: 6.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.3971, allocations: 68.72 kB / 483.7 MB, free: 6.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/0.3997, allocations: 1.499 MB / 485.2 MB, free: 5.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.3999, allocations: 49.7 kB / 485.3 MB, free: 5.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000827/0.4007, allocations: 0.9627 MB / 486.2 MB, free: 4.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004651/0.4012, allocations: 464 kB / 486.7 MB, free: 3.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/0.4016, allocations: 222.9 kB / 486.9 MB, free: 3.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.4018, allocations: 353.9 kB / 487.2 MB, free: 3.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.403, allocations: 0.6935 MB / 487.9 MB, free: 2.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.4043, allocations: 0.8668 MB / 488.8 MB, free: 1.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/0.4068, allocations: 1.605 MB / 490.4 MB, free: 15.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.4068, 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.004178/0.411, allocations: 2.287 MB / 492.7 MB, free: 13.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.411, allocations: 4 kB / 492.7 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.411, allocations: 4 kB / 492.7 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/0.4138, allocations: 0.8371 MB / 493.5 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008177/0.4146, allocations: 203.7 kB / 493.7 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/0.4282, allocations: 11.49 MB / 0.4934 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.4296, allocations: 55.89 kB / 0.4934 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.4297, allocations: 40 kB / 0.4935 GB, free: 296 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.001572/0.4313, allocations: 0.8253 MB / 0.4943 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.4317, allocations: 167 kB / 0.4944 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.4359, allocations: 2.253 MB / 0.4966 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.4359, allocations: 16 kB / 0.4967 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.4359, allocations: 8 kB / 0.4967 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.4359, allocations: 3.984 kB / 0.4967 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008396/0.4443, allocations: 4.696 MB / 0.5013 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.4443, allocations: 8.109 kB / 0.5013 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000671/0.445, allocations: 155.8 kB / 0.5014 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/0.4476, allocations: 0.8066 MB / 0.5022 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.142e-05/0.4477, allocations: 24 kB / 0.5022 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/0.4612, allocations: 11.38 MB / 0.5133 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.4612, allocations: 7.969 kB / 0.5133 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005613/0.4668, allocations: 3.217 MB / 0.5165 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.4679, allocations: 416 kB / 0.5169 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/0.4681, allocations: 24 kB / 0.5169 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008101/0.4689, allocations: 67.94 kB / 0.517 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003008/0.4692, allocations: 121 kB / 0.5171 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.688e-05/0.4693, allocations: 35.98 kB / 0.5171 GB, free: 7.312 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001801/0.4711, allocations: 1.064 MB / 0.5182 GB, free: 6.246 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4711, allocations: 4 kB / 0.5182 GB, free: 6.242 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002068/0.4732, allocations: 0.5155 MB / 0.5187 GB, free: 5.727 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.005944/0.4791, allocations: 3.886 MB / 0.5225 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004168/0.4833, allocations: 2.345 MB / 0.5247 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4833, allocations: 0 / 0.5247 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002528/0.4858, allocations: 1.582 MB / 0.5263 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.4884, allocations: 0.507 MB / 0.5268 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03013/0.5186, allocations: 17.64 MB / 0.544 GB, free: 11.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002045/0.5206, allocations: 2.047 MB / 0.546 GB, free: 9.227 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001011/0.5216, allocations: 309.5 kB / 0.5463 GB, free: 8.918 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/0.5228, allocations: 0.7843 MB / 0.5471 GB, free: 8.133 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5228, allocations: 0 / 0.5471 GB, free: 8.133 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/0.6401, allocations: 50.9 MB / 0.5968 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/16.2, allocations: 4.062 kB / 0.5968 GB, free: 5.746 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.846072491956875]