Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008609/0.0008608, allocations: 92.08 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002754, allocations: 11.94 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2106, allocations: 50.41 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1028/0.3134, allocations: 86.7 MB / 488.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.3137, allocations: 79.95 kB / 488.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.304/0.6177, allocations: 32.82 MB / 0.5089 GB, free: 86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.6178, allocations: 0 / 0.5089 GB, free: 86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000118/0.6179, allocations: 60.52 kB / 0.5089 GB, free: 85.99 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.003497/0.6214, allocations: 2.112 MB / 0.511 GB, free: 85.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6214, allocations: 9.969 kB / 0.511 GB, free: 85.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.6218, allocations: 233.2 kB / 0.5112 GB, free: 84.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.6238, allocations: 1.219 MB / 0.5124 GB, free: 84.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.77e-05/0.6239, allocations: 153.7 kB / 0.5126 GB, free: 84.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/0.6241, allocations: 203.8 kB / 0.5128 GB, free: 84.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/0.6275, allocations: 2.585 MB / 0.5153 GB, free: 84.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.6275, allocations: 0 / 0.5153 GB, free: 84.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.6277, allocations: 90.06 kB / 0.5154 GB, free: 84.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.6277, allocations: 55.72 kB / 0.5154 GB, free: 84.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002614/0.6304, allocations: 1.947 MB / 0.5173 GB, free: 84.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009254/0.6396, allocations: 7.517 MB / 0.5247 GB, free: 80.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.6413, allocations: 2.356 MB / 0.527 GB, free: 78.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.6414, allocations: 12.09 kB / 0.527 GB, free: 78.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.6414, allocations: 43.47 kB / 0.527 GB, free: 78.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 3.056e-06/0.6415, allocations: 7.25 kB / 0.527 GB, free: 78.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.006096/0.6476, allocations: 4.285 MB / 0.5312 GB, free: 76.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.6476, allocations: 59 kB / 0.5313 GB, free: 76.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008015/0.6484, allocations: 0.7611 MB / 0.532 GB, free: 75.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/0.6485, allocations: 41.7 kB / 0.5321 GB, free: 75.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.6488, allocations: 0.8302 MB / 0.5329 GB, free: 75.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.649, allocations: 327 kB / 0.5332 GB, free: 74.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.649, allocations: 20 kB / 0.5332 GB, free: 74.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.6491, allocations: 343.6 kB / 0.5335 GB, free: 74.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005975/0.6497, allocations: 0.5015 MB / 0.534 GB, free: 73.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006591/0.6503, allocations: 0.6781 MB / 0.5347 GB, free: 73.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006767/0.651, allocations: 0.5769 MB / 0.5352 GB, free: 72.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.651, allocations: 4 kB / 0.5352 GB, free: 72.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002/0.653, allocations: 1.639 MB / 0.5368 GB, free: 71.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.6531, allocations: 7.094 kB / 0.5368 GB, free: 71.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.6531, allocations: 12 kB / 0.5369 GB, free: 71.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008867/0.654, allocations: 459.7 kB / 0.5373 GB, free: 71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/0.6546, allocations: 181.5 kB / 0.5375 GB, free: 70.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006116/0.6608, allocations: 8.605 MB / 0.5459 GB, free: 62.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000685/0.6615, allocations: 57.45 kB / 0.5459 GB, free: 62.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.849e-05/0.6616, allocations: 32 kB / 0.546 GB, free: 62.36 MB / 378.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 () * Number of clocked 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.001046/0.6626, allocations: 0.6362 MB / 0.5466 GB, free: 61.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.6628, allocations: 106.5 kB / 0.5467 GB, free: 61.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.6648, allocations: 1.544 MB / 0.5482 GB, free: 60.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.6648, allocations: 12 kB / 0.5482 GB, free: 60.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6648, allocations: 4 kB / 0.5482 GB, free: 60.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.6648, allocations: 6.656 kB / 0.5482 GB, free: 60.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004732/0.6695, allocations: 3.529 MB / 0.5517 GB, free: 57.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.6696, allocations: 0 / 0.5517 GB, free: 57.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/0.6701, allocations: 127.8 kB / 0.5518 GB, free: 56.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008353/0.6709, allocations: 462.6 kB / 0.5522 GB, free: 56.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.671, allocations: 23.98 kB / 0.5522 GB, free: 56.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005816/0.6768, allocations: 8.519 MB / 0.5606 GB, free: 47.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6768, allocations: 4.031 kB / 0.5606 GB, free: 47.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.6795, allocations: 2.364 MB / 0.5629 GB, free: 45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/0.68, allocations: 283.8 kB / 0.5631 GB, free: 44.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.6802, allocations: 20 kB / 0.5632 GB, free: 44.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.6806, allocations: 47.95 kB / 0.5632 GB, free: 44.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.6808, allocations: 88.86 kB / 0.5633 GB, free: 44.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/0.6808, allocations: 24 kB / 0.5633 GB, free: 44.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006545/0.6815, allocations: 0.6005 MB / 0.5639 GB, free: 43.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6815, allocations: 0 / 0.5639 GB, free: 43.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001461/0.683, allocations: 396 kB / 0.5643 GB, free: 43.55 MB / 378.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 () * Number of clocked 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.0002941/0.6833, allocations: 174.1 kB / 0.5644 GB, free: 43.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.6854, allocations: 1.893 MB / 0.5663 GB, free: 41.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6854, allocations: 0 / 0.5663 GB, free: 41.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.6868, allocations: 1.297 MB / 0.5676 GB, free: 40.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009984/0.6878, allocations: 275.9 kB / 0.5678 GB, free: 39.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/0.6933, allocations: 4.381 MB / 0.5721 GB, free: 35.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.6946, allocations: 1.757 MB / 0.5738 GB, free: 33.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004859/0.6951, allocations: 184 kB / 0.574 GB, free: 33.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.6952, allocations: 55.44 kB / 0.574 GB, free: 33.39 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6952, allocations: 0 / 0.574 GB, free: 33.39 MB / 378.7 MB Notification: Performance of Templates: time 0.0267/0.7219, allocations: 19.02 MB / 0.5926 GB, free: 14.73 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches