Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000837/0.0008371, allocations: 97.3 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.678e-05/1.692e-05, allocations: 4 kB / 343.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/0.09066, allocations: 51.48 MB / 395.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2937/0.3844, allocations: 86.79 MB / 481.9 MB, free: 6.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001786/0.3846, allocations: 70.84 kB / 482 MB, free: 6.383 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07472/0.4594, allocations: 32.63 MB / 0.5026 GB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4594, allocations: 0 / 0.5026 GB, free: 10.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001054/0.4595, allocations: 51.94 kB / 0.5026 GB, free: 10.91 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.003677/0.4632, allocations: 1.961 MB / 0.5045 GB, free: 8.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.4633, allocations: 12.03 kB / 0.5046 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007076/0.464, allocations: 265.2 kB / 0.5048 GB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.4659, allocations: 1.216 MB / 0.506 GB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.427e-05/0.466, allocations: 64 kB / 0.5061 GB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.4662, allocations: 120 kB / 0.5062 GB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002901/0.4691, allocations: 1.773 MB / 0.5079 GB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003557/0.4727, allocations: 2.227 MB / 0.5101 GB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/0.4727, allocations: 7.938 kB / 0.5101 GB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.4729, allocations: 0 / 0.5101 GB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/0.4729, allocations: 52 kB / 0.5101 GB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/0.4836, allocations: 7.131 MB / 0.5171 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.4858, allocations: 2.283 MB / 0.5193 GB, free: 9.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.4871, allocations: 0.9033 MB / 0.5202 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.382e-05/0.4872, allocations: 8.781 kB / 0.5202 GB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.4872, allocations: 47.28 kB / 0.5203 GB, free: 8.191 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.587e-06/0.4873, allocations: 0 / 0.5203 GB, free: 8.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.004558/0.4918, allocations: 2.786 MB / 0.523 GB, free: 5.332 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.4919, allocations: 68.19 kB / 0.5231 GB, free: 5.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009544/0.4928, allocations: 0.6798 MB / 0.5237 GB, free: 4.562 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.4929, allocations: 25.7 kB / 0.5237 GB, free: 4.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005479/0.4935, allocations: 0.8293 MB / 0.5246 GB, free: 3.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.4937, allocations: 315.3 kB / 0.5249 GB, free: 3.375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.4938, allocations: 0 / 0.5249 GB, free: 3.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4939, allocations: 349.9 kB / 0.5252 GB, free: 3.027 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006307/0.4946, allocations: 462.4 kB / 0.5256 GB, free: 2.574 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007763/0.4953, allocations: 0.6318 MB / 0.5262 GB, free: 1.875 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/0.4961, allocations: 0.541 MB / 0.5268 GB, free: 1.336 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4961, allocations: 0 / 0.5268 GB, free: 1.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00231/0.4984, allocations: 1.495 MB / 0.5282 GB, free: 15.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.4985, allocations: 8 kB / 0.5282 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/0.4985, allocations: 4.156 kB / 0.5282 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009967/0.4995, allocations: 455 kB / 0.5287 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/0.5002, allocations: 183.7 kB / 0.5289 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008042/0.5083, allocations: 8.146 MB / 0.5368 GB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007762/0.5091, allocations: 39.97 kB / 0.5368 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.5092, allocations: 32 kB / 0.5369 GB, free: 6.492 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002301/0.5094, allocations: 130.2 kB / 0.537 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.5096, allocations: 98.78 kB / 0.5371 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.5119, allocations: 1.404 MB / 0.5385 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.5119, allocations: 12 kB / 0.5385 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5119, allocations: 0 / 0.5385 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.512, allocations: 3.984 kB / 0.5385 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005203/0.5172, allocations: 3.134 MB / 0.5415 GB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.5172, allocations: 4 kB / 0.5415 GB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/0.5178, allocations: 127.9 kB / 0.5417 GB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009017/0.5187, allocations: 443.1 kB / 0.5421 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/0.5187, allocations: 4 kB / 0.5421 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007556/0.5263, allocations: 8.094 MB / 0.55 GB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5263, allocations: 0 / 0.55 GB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003147/0.5295, allocations: 2.192 MB / 0.5521 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/0.53, allocations: 283.8 kB / 0.5524 GB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.5301, allocations: 0 / 0.5524 GB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.5305, allocations: 31.95 kB / 0.5524 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.5307, allocations: 88.58 kB / 0.5525 GB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/0.5308, allocations: 28.12 kB / 0.5526 GB, free: 5.801 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007361/0.5315, allocations: 0.5342 MB / 0.5531 GB, free: 5.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5315, allocations: 0 / 0.5531 GB, free: 5.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001533/0.5331, allocations: 356 kB / 0.5534 GB, free: 4.922 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002948/0.5334, allocations: 155 kB / 0.5536 GB, free: 4.762 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.5356, allocations: 1.74 MB / 0.5553 GB, free: 2.965 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5357, allocations: 8.125 kB / 0.5553 GB, free: 2.957 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.5371, allocations: 1.208 MB / 0.5564 GB, free: 1.695 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.5382, allocations: 238.1 kB / 0.5567 GB, free: 1.469 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/0.5432, allocations: 2.832 MB / 0.5594 GB, free: 14.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/0.5445, allocations: 1.753 MB / 0.5612 GB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005053/0.545, allocations: 176.5 kB / 0.5613 GB, free: 12.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.5452, allocations: 59.42 kB / 0.5614 GB, free: 12.57 MB / 442.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5452, allocations: 4 kB / 0.5614 GB, free: 12.56 MB / 442.7 MB Notification: Performance of Templates: time 0.2221/0.7673, allocations: 17.22 MB / 0.5782 GB, free: 103 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches