Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001893/0.001893, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002384/0.002384, allocations: 213.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 55.91 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2725, allocations: 53.41 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.00866/0.2811, allocations: 6.972 MB / 438.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004829/0.286, allocations: 2.364 MB / 440.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009564/0.2869, allocations: 59.56 kB / 440.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.2882, allocations: 472.3 kB / 441.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.2904, allocations: 0.707 MB / 441.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.2911, allocations: 279.7 kB / 442 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003565/0.2947, allocations: 2.887 MB / 444.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002145/0.2968, allocations: 1.367 MB / 446.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/0.2997, allocations: 1.374 MB / 447.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002692/0.3024, allocations: 1.584 MB / 449.2 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007434/0.3031, allocations: 348 kB / 449.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.3043, allocations: 443.8 kB / 450 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009537/0.3053, allocations: 0.9038 MB / 450.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002183/0.3074, allocations: 1.544 MB / 452.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005806/0.3132, allocations: 4.652 MB / 457.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.3132, allocations: 3.938 kB / 457.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3132, allocations: 4 kB / 457.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001149/0.3134, allocations: 0 / 457.1 MB, free: 12.62 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: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.00646/0.3198, allocations: 2.983 MB / 460.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.3199, allocations: 8.031 kB / 460.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004806/0.3204, allocations: 325.1 kB / 460.4 MB, free: 9.258 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.3214, allocations: 355.1 kB / 460.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/0.3248, allocations: 1.619 MB / 462.4 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.3249, allocations: 164.3 kB / 462.6 MB, free: 7.082 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003462/0.3253, allocations: 227.9 kB / 462.8 MB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005318/0.3306, allocations: 3.21 MB / 466 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.3306, allocations: 3.938 kB / 466 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002055/0.3308, allocations: 91.98 kB / 466.1 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/0.331, allocations: 128.5 kB / 466.2 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004962/0.3359, allocations: 2.75 MB / 469 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/0.3526, allocations: 9.028 MB / 478 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.3558, allocations: 1.954 MB / 479.9 MB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/0.358, allocations: 1.227 MB / 481.2 MB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/0.3582, allocations: 45.27 kB / 481.2 MB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.638e-05/0.3583, allocations: 51.86 kB / 481.3 MB, free: 4.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.098e-06/0.3583, allocations: 0 / 481.3 MB, free: 4.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01162/0.3699, allocations: 5.31 MB / 486.6 MB, free: 14.69 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.37, allocations: 68.72 kB / 486.6 MB, free: 14.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002771/0.3727, allocations: 1.499 MB / 488.1 MB, free: 13.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001612/0.3729, allocations: 53.64 kB / 488.2 MB, free: 13.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00083/0.3737, allocations: 0.9705 MB / 489.2 MB, free: 12.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004831/0.3742, allocations: 468 kB / 489.6 MB, free: 11.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004528/0.3747, allocations: 230.9 kB / 489.8 MB, free: 11.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3748, allocations: 357.9 kB / 490.2 MB, free: 11.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.376, allocations: 0.6974 MB / 490.9 MB, free: 10.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.3774, allocations: 0.8629 MB / 491.8 MB, free: 9.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/0.3798, allocations: 1.605 MB / 493.4 MB, free: 7.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.3798, allocations: 0 / 493.4 MB, free: 7.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004291/0.3841, allocations: 2.287 MB / 495.7 MB, free: 5.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.3842, allocations: 8 kB / 495.7 MB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.3842, allocations: 8.031 kB / 495.7 MB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002873/0.3871, allocations: 0.8189 MB / 496.5 MB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008894/0.3879, allocations: 203.7 kB / 496.7 MB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/0.402, allocations: 11.07 MB / 0.4959 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.4032, allocations: 51.91 kB / 0.4959 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/0.4034, allocations: 48.06 kB / 0.4959 GB, free: 8.777 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.001798/0.4052, allocations: 0.8175 MB / 0.4967 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005592/0.4057, allocations: 171 kB / 0.4969 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004608/0.4104, allocations: 2.253 MB / 0.4991 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.4104, allocations: 12 kB / 0.4991 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.4104, allocations: 7.938 kB / 0.4991 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.4104, allocations: 7.969 kB / 0.4991 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00979/0.4202, allocations: 4.695 MB / 0.5037 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.4202, allocations: 64 / 0.5037 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006813/0.4209, allocations: 159.8 kB / 0.5039 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002745/0.4236, allocations: 0.8159 MB / 0.5047 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.4237, allocations: 35.92 kB / 0.5047 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/0.4372, allocations: 10.97 MB / 0.5154 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4372, allocations: 4.031 kB / 0.5154 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005638/0.4428, allocations: 3.213 MB / 0.5186 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.444, allocations: 346.8 kB / 0.5189 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004372/0.4444, allocations: 31.94 kB / 0.5189 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009996/0.4454, allocations: 71.94 kB / 0.519 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003316/0.4458, allocations: 121 kB / 0.5191 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.4459, allocations: 32 kB / 0.5191 GB, free: 400 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001993/0.4479, allocations: 1.064 MB / 0.5202 GB, free: 15.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4479, allocations: 4 kB / 0.5202 GB, free: 15.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002217/0.4501, allocations: 0.5117 MB / 0.5207 GB, free: 14.81 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.006114/0.4562, allocations: 3.879 MB / 0.5245 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004081/0.4603, allocations: 2.358 MB / 0.5268 GB, free: 8.477 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.4603, allocations: 4 kB / 0.5268 GB, free: 8.473 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002569/0.4629, allocations: 1.574 MB / 0.5283 GB, free: 6.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/0.4656, allocations: 0.504 MB / 0.5288 GB, free: 6.352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2427/0.7083, allocations: 17.7 MB / 0.5461 GB, free: 96.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002045/0.7104, allocations: 2.058 MB / 0.5481 GB, free: 95.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009872/0.7114, allocations: 309.7 kB / 0.5484 GB, free: 95.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009273/0.7123, allocations: 0.7826 MB / 0.5491 GB, free: 95.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.513e-06/0.7123, allocations: 0 / 0.5491 GB, free: 95.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1217/0.834, allocations: 52.07 MB / 0.6 GB, free: 45.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/17.42, allocations: 11.81 kB / 0.6 GB, free: 45.61 MB / 446.1 MB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 20.029544178163633]