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.0009224/0.0009224, allocations: 176.8 kB / 17.4 MB, free: 4.406 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.586/1.586, allocations: 223.3 MB / 241.4 MB, free: 11.68 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.0009092/0.0009092, allocations: 93.89 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 15.94 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2323, allocations: 50.39 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09694/0.3293, allocations: 86.79 MB / 489.5 MB, free: 9.555 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.3296, allocations: 79.95 kB / 489.6 MB, free: 9.477 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2473/0.5769, allocations: 32.8 MB / 0.5102 GB, free: 86.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5769, allocations: 0 / 0.5102 GB, free: 86.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001379/0.5771, allocations: 60.42 kB / 0.5102 GB, free: 86.12 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.004258/0.5814, allocations: 2.088 MB / 0.5123 GB, free: 85.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.5814, allocations: 14.25 kB / 0.5123 GB, free: 85.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004916/0.5819, allocations: 231.2 kB / 0.5125 GB, free: 85.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.5836, allocations: 1.248 MB / 0.5137 GB, free: 84.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.105e-05/0.5837, allocations: 152.5 kB / 0.5139 GB, free: 84.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/0.584, allocations: 201.8 kB / 0.5141 GB, free: 84.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003264/0.5873, allocations: 2.612 MB / 0.5166 GB, free: 84.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.5873, allocations: 6.625 kB / 0.5166 GB, free: 84.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.5875, allocations: 84.97 kB / 0.5167 GB, free: 84.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.5875, allocations: 50.19 kB / 0.5167 GB, free: 84.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.5902, allocations: 1.944 MB / 0.5186 GB, free: 84.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008787/0.599, allocations: 7.522 MB / 0.526 GB, free: 80.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.6006, allocations: 2.351 MB / 0.5283 GB, free: 78.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.6018, allocations: 0.9262 MB / 0.5292 GB, free: 78.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.688e-05/0.6018, allocations: 17.95 kB / 0.5292 GB, free: 78.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.6019, allocations: 46.25 kB / 0.5293 GB, free: 78.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 3.637e-06/0.6019, allocations: 0 / 0.5293 GB, free: 78.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.00604/0.6079, allocations: 4.14 MB / 0.5333 GB, free: 75.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.608, allocations: 68.41 kB / 0.5334 GB, free: 75.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/0.6089, allocations: 0.8525 MB / 0.5342 GB, free: 75.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.6089, allocations: 41.7 kB / 0.5342 GB, free: 74.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.6093, allocations: 0.8233 MB / 0.535 GB, free: 74.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.6094, allocations: 328 kB / 0.5353 GB, free: 73.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.6095, allocations: 20 kB / 0.5354 GB, free: 73.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.313e-05/0.6096, allocations: 348.4 kB / 0.5357 GB, free: 73.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/0.6102, allocations: 0.4994 MB / 0.5362 GB, free: 73.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006571/0.6109, allocations: 0.6847 MB / 0.5369 GB, free: 72.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.6122, allocations: 1.22 MB / 0.538 GB, free: 71.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6122, allocations: 8 kB / 0.5381 GB, free: 71.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002014/0.6142, allocations: 1.641 MB / 0.5397 GB, free: 69.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.6142, allocations: 4 kB / 0.5397 GB, free: 69.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.6142, allocations: 11 kB / 0.5397 GB, free: 69.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008629/0.6151, allocations: 467.7 kB / 0.5401 GB, free: 69.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/0.6157, allocations: 172 kB / 0.5403 GB, free: 69.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006046/0.6218, allocations: 8.471 MB / 0.5486 GB, free: 61.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007235/0.6225, allocations: 49.52 kB / 0.5486 GB, free: 61.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.446e-05/0.6226, allocations: 39.19 kB / 0.5486 GB, free: 61.04 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.000979/0.6236, allocations: 0.636 MB / 0.5493 GB, free: 60.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.6238, allocations: 110.5 kB / 0.5494 GB, free: 60.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.6258, allocations: 1.546 MB / 0.5509 GB, free: 59.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.6258, allocations: 12 kB / 0.5509 GB, free: 59.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6258, allocations: 0 / 0.5509 GB, free: 59.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.6258, allocations: 3.984 kB / 0.5509 GB, free: 59.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004719/0.6306, allocations: 3.54 MB / 0.5543 GB, free: 55.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.6306, allocations: 0 / 0.5543 GB, free: 55.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.6311, allocations: 131.1 kB / 0.5545 GB, free: 55.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007988/0.6319, allocations: 453.4 kB / 0.5549 GB, free: 54.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.632, allocations: 27.92 kB / 0.5549 GB, free: 54.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005794/0.6378, allocations: 8.382 MB / 0.5631 GB, free: 45.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6378, allocations: 0 / 0.5631 GB, free: 45.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.6408, allocations: 2.331 MB / 0.5654 GB, free: 43.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/0.6414, allocations: 279.8 kB / 0.5657 GB, free: 43.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.6416, allocations: 23.98 kB / 0.5657 GB, free: 43.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/0.6421, allocations: 44.42 kB / 0.5657 GB, free: 43.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/0.6424, allocations: 96.75 kB / 0.5658 GB, free: 43.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.6425, allocations: 24 kB / 0.5658 GB, free: 43.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008714/0.6433, allocations: 0.6044 MB / 0.5664 GB, free: 42.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6433, allocations: 0 / 0.5664 GB, free: 42.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00169/0.645, allocations: 399.9 kB / 0.5668 GB, free: 42.09 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.0003288/0.6454, allocations: 169.2 kB / 0.567 GB, free: 41.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.6478, allocations: 1.891 MB / 0.5688 GB, free: 39.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6478, allocations: 320 / 0.5688 GB, free: 39.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.6491, allocations: 1.304 MB / 0.5701 GB, free: 38.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.6505, allocations: 276.7 kB / 0.5704 GB, free: 38.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006267/0.6568, allocations: 4.391 MB / 0.5746 GB, free: 33.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.6581, allocations: 1.714 MB / 0.5763 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006809/0.6588, allocations: 183.7 kB / 0.5765 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.659, allocations: 59.44 kB / 0.5766 GB, free: 31.96 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6591, allocations: 0 / 0.5766 GB, free: 31.96 MB / 378.7 MB Notification: Performance of Templates: time 0.03089/0.69, allocations: 19.34 MB / 0.5954 GB, free: 12.98 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/jenkins1/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