Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002229/0.002229, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 92.44 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.087e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3362, allocations: 47.55 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.4748, allocations: 84.58 MB / 446.9 MB, free: 1.719 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.4751, allocations: 71.97 kB / 447 MB, free: 1.648 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1323/0.6074, allocations: 31.81 MB / 478.8 MB, free: 1.738 MB / 363.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6075, allocations: 0 / 478.8 MB, free: 1.738 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.000169/0.6077, allocations: 55.94 kB / 478.8 MB, free: 1.684 MB / 363.1 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.006598/0.6143, allocations: 1.945 MB / 480.8 MB, free: 15.68 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.6143, allocations: 15.97 kB / 480.8 MB, free: 15.66 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009938/0.6154, allocations: 233.3 kB / 481 MB, free: 15.43 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003601/0.619, allocations: 1.212 MB / 482.2 MB, free: 14.18 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.6191, allocations: 68 kB / 482.3 MB, free: 14.11 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004925/0.6196, allocations: 116 kB / 482.4 MB, free: 14 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005515/0.6252, allocations: 1.773 MB / 484.2 MB, free: 12.22 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006849/0.6321, allocations: 2.231 MB / 486.4 MB, free: 9.844 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.16e-05/0.6322, allocations: 3.938 kB / 486.4 MB, free: 9.84 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/0.6324, allocations: 4 kB / 486.4 MB, free: 9.836 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-05/0.6325, allocations: 52 kB / 486.5 MB, free: 9.785 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01937/0.6519, allocations: 7.144 MB / 493.6 MB, free: 2.48 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/0.6554, allocations: 2.288 MB / 495.9 MB, free: 15.96 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00238/0.6578, allocations: 0.8836 MB / 496.8 MB, free: 15.07 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.6579, allocations: 12.77 kB / 496.8 MB, free: 15.06 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.658, allocations: 47.28 kB / 496.9 MB, free: 15 MB / 395.1 MB Notification: Performance of pre-optimization done (n=96): time 4.007e-06/0.658, allocations: 0 / 496.9 MB, free: 15 MB / 395.1 MB Notification: Performance of matching and sorting (n=97): time 0.007644/0.6657, allocations: 2.798 MB / 499.7 MB, free: 12.13 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.6658, allocations: 64.19 kB / 499.7 MB, free: 12.06 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.6673, allocations: 0.6836 MB / 0.4887 GB, free: 11.37 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.6675, allocations: 25.7 kB / 0.4887 GB, free: 11.34 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006977/0.6682, allocations: 0.8357 MB / 0.4895 GB, free: 10.49 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/0.6686, allocations: 311.3 kB / 0.4898 GB, free: 10.18 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.6687, allocations: 0 / 0.4898 GB, free: 10.18 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.6689, allocations: 354.8 kB / 0.4902 GB, free: 9.824 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.67, allocations: 470.4 kB / 0.4906 GB, free: 9.363 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.6713, allocations: 0.6282 MB / 0.4912 GB, free: 8.672 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.6727, allocations: 0.5371 MB / 0.4917 GB, free: 8.133 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.6727, allocations: 4 kB / 0.4917 GB, free: 8.129 MB / 395.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00381/0.6765, allocations: 1.441 MB / 0.4932 GB, free: 6.668 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.6766, allocations: 11.95 kB / 0.4932 GB, free: 6.656 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.821e-05/0.6766, allocations: 7.984 kB / 0.4932 GB, free: 6.648 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/0.6784, allocations: 451 kB / 0.4936 GB, free: 6.195 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.6799, allocations: 183.7 kB / 0.4938 GB, free: 6.016 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2841/0.964, allocations: 8.147 MB / 0.5017 GB, free: 102.9 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.9652, allocations: 27.95 kB / 0.5018 GB, free: 102.9 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.9654, allocations: 36.55 kB / 0.5018 GB, free: 102.9 MB / 395.1 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.0002974/0.9657, allocations: 127.4 kB / 0.5019 GB, free: 102.8 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000363/0.9661, allocations: 99.19 kB / 0.502 GB, free: 102.8 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/0.9702, allocations: 1.399 MB / 0.5034 GB, free: 102.7 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.518e-05/0.9703, allocations: 12.08 kB / 0.5034 GB, free: 102.7 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.9703, allocations: 3.297 kB / 0.5034 GB, free: 102.7 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/0.9703, allocations: 4.875 kB / 0.5034 GB, free: 102.7 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009903/0.9802, allocations: 3.131 MB / 0.5065 GB, free: 102.4 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-05/0.9803, allocations: 2.922 kB / 0.5065 GB, free: 102.4 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.9815, allocations: 132.8 kB / 0.5066 GB, free: 102.4 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/0.9834, allocations: 447.1 kB / 0.507 GB, free: 102.3 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/0.9837, allocations: 4.828 kB / 0.507 GB, free: 102.3 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/0.9951, allocations: 8.071 MB / 0.5149 GB, free: 97.29 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.9952, allocations: 1.75 kB / 0.5149 GB, free: 97.29 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005175/1, allocations: 2.2 MB / 0.517 GB, free: 97.05 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008164/1.001, allocations: 276.8 kB / 0.5173 GB, free: 96.95 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/1.001, allocations: 2.844 kB / 0.5173 GB, free: 96.95 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007832/1.002, allocations: 34.08 kB / 0.5173 GB, free: 96.95 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/1.003, allocations: 85.17 kB / 0.5174 GB, free: 96.94 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.125e-05/1.003, allocations: 26.84 kB / 0.5175 GB, free: 96.94 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001036/1.004, allocations: 0.5323 MB / 0.518 GB, free: 96.85 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.01e-07/1.004, allocations: 0 / 0.518 GB, free: 96.85 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002467/1.006, allocations: 361.7 kB / 0.5183 GB, free: 96.85 MB / 395.1 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.0004777/1.007, allocations: 152.2 kB / 0.5185 GB, free: 96.76 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003504/1.01, allocations: 1.749 MB / 0.5202 GB, free: 96.24 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.01, allocations: 1.625 kB / 0.5202 GB, free: 96.24 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002398/1.013, allocations: 1.209 MB / 0.5214 GB, free: 95.57 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/1.015, allocations: 243.4 kB / 0.5216 GB, free: 95.52 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008245/1.023, allocations: 2.827 MB / 0.5243 GB, free: 94.46 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002019/1.025, allocations: 1.718 MB / 0.526 GB, free: 93.55 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/1.026, allocations: 65.55 kB / 0.5261 GB, free: 93.55 MB / 395.1 MB Notification: Performance of SimCode: time 1.413e-06/1.026, allocations: 0 / 0.5261 GB, free: 93.55 MB / 395.1 MB Notification: Performance of Templates: time 0.107/1.133, allocations: 55.71 MB / 0.5805 GB, free: 55.77 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches