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.001637/0.001637, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007917/0.0007916, allocations: 94.47 kB / 292.1 MB, free: 6.043 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.722e-05, allocations: 4.203 kB / 350.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 51.49 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3055/0.4068, allocations: 87.45 MB / 489.5 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.407, allocations: 78.38 kB / 489.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08166/0.4887, allocations: 32.95 MB / 0.5103 GB, free: 2.723 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4887, allocations: 0 / 0.5103 GB, free: 2.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001544/0.4889, allocations: 51.94 kB / 0.5103 GB, free: 2.672 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.004807/0.4937, allocations: 1.954 MB / 0.5122 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4938, allocations: 8.031 kB / 0.5122 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.4948, allocations: 277.1 kB / 0.5125 GB, free: 392 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002692/0.4975, allocations: 1.212 MB / 0.5137 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.4977, allocations: 156.2 kB / 0.5138 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000495/0.4982, allocations: 204 kB / 0.514 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00516/0.5034, allocations: 2.536 MB / 0.5165 GB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.5034, allocations: 0 / 0.5165 GB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001993/0.5036, allocations: 89.69 kB / 0.5166 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.5037, allocations: 52 kB / 0.5166 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00316/0.5068, allocations: 1.875 MB / 0.5185 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.518, allocations: 7.508 MB / 0.5258 GB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.5202, allocations: 2.328 MB / 0.5281 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.5215, allocations: 0.8994 MB / 0.5289 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.323e-05/0.5215, allocations: 12.78 kB / 0.5289 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.5216, allocations: 51.34 kB / 0.529 GB, free: 14.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.416e-06/0.5216, allocations: 0 / 0.529 GB, free: 14.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.004649/0.5262, allocations: 2.931 MB / 0.5319 GB, free: 11.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.5263, allocations: 64.19 kB / 0.5319 GB, free: 11.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.5274, allocations: 0.7618 MB / 0.5327 GB, free: 10.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.5275, allocations: 41.7 kB / 0.5327 GB, free: 10.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/0.528, allocations: 0.8256 MB / 0.5335 GB, free: 10.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.5283, allocations: 327.2 kB / 0.5338 GB, free: 9.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.5283, allocations: 21.88 kB / 0.5338 GB, free: 9.758 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5284, allocations: 345.9 kB / 0.5342 GB, free: 9.414 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006573/0.5291, allocations: 481.7 kB / 0.5346 GB, free: 8.941 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007636/0.5299, allocations: 0.6517 MB / 0.5353 GB, free: 8.223 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007477/0.5306, allocations: 0.5553 MB / 0.5358 GB, free: 7.672 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5306, allocations: 0 / 0.5358 GB, free: 7.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002355/0.533, allocations: 1.593 MB / 0.5374 GB, free: 6.055 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/0.5331, allocations: 8 kB / 0.5374 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.5331, allocations: 4 kB / 0.5374 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.5341, allocations: 460.2 kB / 0.5378 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/0.5348, allocations: 179.7 kB / 0.538 GB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007882/0.5427, allocations: 8.448 MB / 0.5462 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007057/0.5435, allocations: 51.95 kB / 0.5463 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.5436, allocations: 36.25 kB / 0.5463 GB, free: 12.34 MB / 426.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.0002263/0.5438, allocations: 168.8 kB / 0.5465 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.5441, allocations: 102.7 kB / 0.5466 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/0.5465, allocations: 1.494 MB / 0.548 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.5465, allocations: 8 kB / 0.548 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.5465, allocations: 0 / 0.548 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.5465, allocations: 3.984 kB / 0.548 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006539/0.5531, allocations: 3.466 MB / 0.5514 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/0.5531, allocations: 4 kB / 0.5514 GB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.5537, allocations: 127.8 kB / 0.5516 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.5548, allocations: 463 kB / 0.552 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.385e-05/0.5548, allocations: 20 kB / 0.552 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008052/0.5629, allocations: 8.357 MB / 0.5602 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.563, allocations: 4.031 kB / 0.5602 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004232/0.5672, allocations: 2.269 MB / 0.5624 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006729/0.5679, allocations: 279.8 kB / 0.5627 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/0.5682, allocations: 23.98 kB / 0.5627 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006068/0.5688, allocations: 47.95 kB / 0.5627 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/0.5691, allocations: 88.61 kB / 0.5628 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.781e-05/0.5692, allocations: 24.12 kB / 0.5628 GB, free: 10.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009698/0.5701, allocations: 0.5928 MB / 0.5634 GB, free: 10.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.352e-06/0.5702, allocations: 0 / 0.5634 GB, free: 10.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001806/0.572, allocations: 399.9 kB / 0.5638 GB, free: 9.699 MB / 442.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.0003964/0.5724, allocations: 163.1 kB / 0.564 GB, free: 9.531 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002735/0.5751, allocations: 1.827 MB / 0.5657 GB, free: 7.645 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5751, allocations: 0 / 0.5657 GB, free: 7.645 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.5769, allocations: 1.263 MB / 0.567 GB, free: 6.312 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.5784, allocations: 274.1 kB / 0.5672 GB, free: 6.047 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006653/0.5851, allocations: 2.891 MB / 0.5701 GB, free: 3.117 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/0.5871, allocations: 1.749 MB / 0.5718 GB, free: 1.328 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007299/0.5879, allocations: 184.7 kB / 0.5719 GB, free: 1.145 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.5881, allocations: 63.42 kB / 0.572 GB, free: 1.082 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5881, allocations: 0 / 0.572 GB, free: 1.082 MB / 442.7 MB Notification: Performance of Templates: time 0.2279/0.8161, allocations: 19.08 MB / 0.5906 GB, free: 100.6 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