Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009564/0.0009564, allocations: 195.7 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000723/0.000723, allocations: 92.64 kB / 297.4 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002135/0.0002135, allocations: 4 kB / 357.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1965, allocations: 51.29 MB / 408.7 MB, free: 27.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09817/0.2947, allocations: 87.49 MB / 496.1 MB, free: 4.137 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.2949, allocations: 79.95 kB / 496.2 MB, free: 4.059 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.241/0.536, allocations: 32.87 MB / 0.5167 GB, free: 85.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.536, allocations: 3.219 kB / 0.5167 GB, free: 85.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001317/0.5361, allocations: 53.73 kB / 0.5167 GB, free: 85.61 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.004468/0.5406, allocations: 2.089 MB / 0.5188 GB, free: 84.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.5407, allocations: 7.375 kB / 0.5188 GB, free: 84.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009751/0.5417, allocations: 270.8 kB / 0.519 GB, free: 84.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.5439, allocations: 1.252 MB / 0.5203 GB, free: 84.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.544, allocations: 153.4 kB / 0.5204 GB, free: 84.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004589/0.5445, allocations: 202.7 kB / 0.5206 GB, free: 84.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004448/0.5489, allocations: 2.607 MB / 0.5232 GB, free: 82.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.79e-05/0.549, allocations: 0 / 0.5232 GB, free: 82.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.5493, allocations: 92.88 kB / 0.5232 GB, free: 82.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/0.5493, allocations: 54.53 kB / 0.5233 GB, free: 82.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003235/0.5525, allocations: 1.946 MB / 0.5252 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/0.5632, allocations: 7.518 MB / 0.5325 GB, free: 77.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.565, allocations: 2.355 MB / 0.5348 GB, free: 74.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.5661, allocations: 0.9284 MB / 0.5357 GB, free: 73.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.441e-05/0.5662, allocations: 16.84 kB / 0.5358 GB, free: 73.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.5662, allocations: 47.55 kB / 0.5358 GB, free: 73.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 3.116e-06/0.5663, allocations: 0 / 0.5358 GB, free: 73.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.006488/0.5728, allocations: 4.142 MB / 0.5399 GB, free: 69.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.5728, allocations: 68.34 kB / 0.5399 GB, free: 69.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.5739, allocations: 0.8523 MB / 0.5407 GB, free: 68.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/0.574, allocations: 41.7 kB / 0.5408 GB, free: 68.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.5743, allocations: 0.8294 MB / 0.5416 GB, free: 67.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.5745, allocations: 326.9 kB / 0.5419 GB, free: 67.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.5745, allocations: 20 kB / 0.5419 GB, free: 67.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.5746, allocations: 345.9 kB / 0.5423 GB, free: 67.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006478/0.5753, allocations: 0.4938 MB / 0.5427 GB, free: 66.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/0.576, allocations: 0.685 MB / 0.5434 GB, free: 65.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.5773, allocations: 1.221 MB / 0.5446 GB, free: 64.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5773, allocations: 0 / 0.5446 GB, free: 64.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00223/0.5796, allocations: 1.651 MB / 0.5462 GB, free: 62.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.5796, allocations: 8 kB / 0.5462 GB, free: 62.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.5796, allocations: 4 kB / 0.5462 GB, free: 62.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009388/0.5806, allocations: 466.9 kB / 0.5467 GB, free: 62.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.5812, allocations: 179.7 kB / 0.5468 GB, free: 62.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006243/0.5875, allocations: 8.458 MB / 0.5551 GB, free: 53.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007388/0.5882, allocations: 47.95 kB / 0.5551 GB, free: 53.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.5884, allocations: 36.25 kB / 0.5552 GB, free: 53.17 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.001144/0.5896, allocations: 0.6469 MB / 0.5558 GB, free: 52.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.5898, allocations: 98.81 kB / 0.5559 GB, free: 52.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.5921, allocations: 1.553 MB / 0.5574 GB, free: 50.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.5921, allocations: 16 kB / 0.5574 GB, free: 50.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5921, allocations: 0 / 0.5574 GB, free: 50.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.5921, allocations: 3.984 kB / 0.5574 GB, free: 50.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005362/0.5975, allocations: 3.527 MB / 0.5609 GB, free: 47.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.5975, allocations: 7.984 kB / 0.5609 GB, free: 47.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/0.5981, allocations: 127.9 kB / 0.561 GB, free: 47.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008671/0.5989, allocations: 454.8 kB / 0.5615 GB, free: 46.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/0.599, allocations: 23.98 kB / 0.5615 GB, free: 46.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00598/0.605, allocations: 8.373 MB / 0.5697 GB, free: 37.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.605, allocations: 0 / 0.5697 GB, free: 37.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/0.608, allocations: 2.335 MB / 0.5719 GB, free: 35.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000493/0.6086, allocations: 283.8 kB / 0.5722 GB, free: 35.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.6087, allocations: 16 kB / 0.5722 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005106/0.6093, allocations: 47.95 kB / 0.5723 GB, free: 35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.6095, allocations: 88.8 kB / 0.5723 GB, free: 34.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.6095, allocations: 20.12 kB / 0.5724 GB, free: 34.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00078/0.6103, allocations: 0.6044 MB / 0.573 GB, free: 34.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6103, allocations: 0 / 0.573 GB, free: 34.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001544/0.6119, allocations: 403.9 kB / 0.5733 GB, free: 33.89 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.0003084/0.6122, allocations: 165.8 kB / 0.5735 GB, free: 33.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002302/0.6145, allocations: 1.889 MB / 0.5753 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6145, allocations: 0 / 0.5753 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.6159, allocations: 1.3 MB / 0.5766 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.6173, allocations: 286.2 kB / 0.5769 GB, free: 30.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005733/0.623, allocations: 4.374 MB / 0.5812 GB, free: 25.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.6243, allocations: 1.687 MB / 0.5828 GB, free: 24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.6245, allocations: 59.44 kB / 0.5829 GB, free: 23.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.283e-06/0.6245, allocations: 4 kB / 0.5829 GB, free: 23.94 MB / 378.7 MB Notification: Performance of Templates: time 0.05591/0.6804, allocations: 58.36 MB / 0.6399 GB, free: 13.6 MB / 426.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches