Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009127/0.0009128, allocations: 183.2 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.4 MB / 224.2 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007654/0.0007654, allocations: 81.56 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.0002882, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2008, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09098/0.2919, allocations: 85.42 MB / 462.4 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.2921, allocations: 75.97 kB / 462.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08016/0.3723, allocations: 32.05 MB / 494.6 MB, free: 10.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3723, allocations: 0 / 494.6 MB, free: 10.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001524/0.3725, allocations: 55.94 kB / 494.6 MB, free: 10.73 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.005088/0.3776, allocations: 2.074 MB / 496.7 MB, free: 8.586 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/0.3777, allocations: 12.02 kB / 496.7 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008025/0.3785, allocations: 242.2 kB / 496.9 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/0.3809, allocations: 1.244 MB / 498.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.381, allocations: 164.4 kB / 498.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004615/0.3815, allocations: 200.4 kB / 498.5 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004735/0.3862, allocations: 2.614 MB / 0.4894 GB, free: 3.926 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.3863, allocations: 0 / 0.4894 GB, free: 3.926 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/0.3866, allocations: 88 kB / 0.4895 GB, free: 3.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-05/0.3866, allocations: 56 kB / 0.4895 GB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003584/0.3902, allocations: 1.948 MB / 0.4914 GB, free: 1.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1642/0.5544, allocations: 7.523 MB / 0.4988 GB, free: 90.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.5562, allocations: 2.357 MB / 0.5011 GB, free: 89.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.5575, allocations: 0.9351 MB / 0.502 GB, free: 89.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.5576, allocations: 10.84 kB / 0.502 GB, free: 89.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.5576, allocations: 43.12 kB / 0.5021 GB, free: 89.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 3.636e-06/0.5577, allocations: 0 / 0.5021 GB, free: 89.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.006285/0.5639, allocations: 4.159 MB / 0.5061 GB, free: 88.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.564, allocations: 62.69 kB / 0.5062 GB, free: 88.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000918/0.5649, allocations: 0.8557 MB / 0.507 GB, free: 88.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.565, allocations: 40.27 kB / 0.5071 GB, free: 88.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.5653, allocations: 0.8214 MB / 0.5079 GB, free: 88.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.5655, allocations: 329.9 kB / 0.5082 GB, free: 87.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.5655, allocations: 18.44 kB / 0.5082 GB, free: 87.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.592e-05/0.5656, allocations: 342.2 kB / 0.5085 GB, free: 87.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006139/0.5662, allocations: 0.4985 MB / 0.509 GB, free: 87.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006706/0.5669, allocations: 0.6837 MB / 0.5097 GB, free: 87.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.5682, allocations: 1.22 MB / 0.5109 GB, free: 87.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.5682, allocations: 7.562 kB / 0.5109 GB, free: 87.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002113/0.5704, allocations: 1.64 MB / 0.5125 GB, free: 86.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.5704, allocations: 7.375 kB / 0.5125 GB, free: 86.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.5704, allocations: 11.53 kB / 0.5125 GB, free: 86.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008711/0.5713, allocations: 460.6 kB / 0.5129 GB, free: 86.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.5719, allocations: 183.2 kB / 0.5131 GB, free: 86.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005964/0.5779, allocations: 8.475 MB / 0.5214 GB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006198/0.5785, allocations: 47.17 kB / 0.5214 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.53e-05/0.5786, allocations: 36.22 kB / 0.5215 GB, free: 79.87 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.0009363/0.5796, allocations: 0.6385 MB / 0.5221 GB, free: 79.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.5797, allocations: 105.5 kB / 0.5222 GB, free: 79.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.5818, allocations: 1.549 MB / 0.5237 GB, free: 78.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.5818, allocations: 10.28 kB / 0.5237 GB, free: 78.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.5818, allocations: 0 / 0.5237 GB, free: 78.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.5818, allocations: 6.891 kB / 0.5237 GB, free: 78.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004573/0.5864, allocations: 3.549 MB / 0.5272 GB, free: 77.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.5864, allocations: 10.33 kB / 0.5272 GB, free: 77.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.5869, allocations: 124 kB / 0.5273 GB, free: 77.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007899/0.5877, allocations: 458.2 kB / 0.5277 GB, free: 77.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.5878, allocations: 23.39 kB / 0.5278 GB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005766/0.5936, allocations: 8.384 MB / 0.536 GB, free: 70.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5936, allocations: 0 / 0.536 GB, free: 70.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/0.5963, allocations: 2.339 MB / 0.5382 GB, free: 69.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000399/0.5967, allocations: 277.5 kB / 0.5385 GB, free: 69.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.5969, allocations: 19.19 kB / 0.5385 GB, free: 69.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.5973, allocations: 50.67 kB / 0.5386 GB, free: 69.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.5975, allocations: 90.36 kB / 0.5387 GB, free: 69.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.5975, allocations: 21.59 kB / 0.5387 GB, free: 69.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006359/0.5982, allocations: 0.6004 MB / 0.5393 GB, free: 69.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5982, allocations: 0 / 0.5393 GB, free: 69.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001276/0.5994, allocations: 395.9 kB / 0.5396 GB, free: 69.01 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.0002449/0.5997, allocations: 165.3 kB / 0.5398 GB, free: 68.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002162/0.6019, allocations: 1.892 MB / 0.5416 GB, free: 67.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.6019, allocations: 0 / 0.5416 GB, free: 67.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.6032, allocations: 1.307 MB / 0.5429 GB, free: 66.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.6044, allocations: 274.8 kB / 0.5432 GB, free: 66.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005281/0.6097, allocations: 4.393 MB / 0.5475 GB, free: 62.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.6108, allocations: 1.715 MB / 0.5491 GB, free: 60.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005621/0.6114, allocations: 182 kB / 0.5493 GB, free: 60.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.6116, allocations: 63.09 kB / 0.5494 GB, free: 60.6 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6116, allocations: 0 / 0.5494 GB, free: 60.6 MB / 378.7 MB Notification: Performance of Templates: time 0.02629/0.6379, allocations: 19.32 MB / 0.5683 GB, free: 42.75 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches