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.001127/0.001127, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.424/1.424, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008353/0.0008354, allocations: 90.62 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.141e-05, allocations: 7.984 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.09143, allocations: 47.57 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3441/0.4356, allocations: 85.23 MB / 455.2 MB, free: 8.082 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.4359, allocations: 69.22 kB / 455.3 MB, free: 8.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07767/0.5136, allocations: 32.14 MB / 487.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5136, allocations: 0 / 487.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001069/0.5137, allocations: 59.94 kB / 487.5 MB, free: 9.184 MB / 362.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.003481/0.5172, allocations: 1.935 MB / 489.4 MB, free: 7.188 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.5173, allocations: 12.03 kB / 489.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/0.5177, allocations: 229.3 kB / 489.7 MB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.52, allocations: 1.224 MB / 490.9 MB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.5202, allocations: 156.2 kB / 491.1 MB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.5205, allocations: 200 kB / 491.3 MB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004011/0.5245, allocations: 2.544 MB / 493.8 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.5245, allocations: 0 / 493.8 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.5247, allocations: 88 kB / 493.9 MB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-05/0.5248, allocations: 56 kB / 493.9 MB, free: 2.492 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003114/0.5279, allocations: 1.879 MB / 495.8 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/0.5389, allocations: 7.517 MB / 0.4915 GB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.5411, allocations: 2.327 MB / 0.4938 GB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.5425, allocations: 0.9035 MB / 0.4947 GB, free: 5.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.245e-05/0.5425, allocations: 8.781 kB / 0.4947 GB, free: 5.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.5426, allocations: 43.34 kB / 0.4947 GB, free: 5.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 2.896e-06/0.5426, allocations: 4 kB / 0.4947 GB, free: 5.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.004337/0.5469, allocations: 2.95 MB / 0.4976 GB, free: 2.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.547, allocations: 60.19 kB / 0.4977 GB, free: 2.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009563/0.5479, allocations: 0.7502 MB / 0.4984 GB, free: 1.508 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.548, allocations: 45.64 kB / 0.4985 GB, free: 1.457 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005391/0.5486, allocations: 0.8216 MB / 0.4993 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/0.5488, allocations: 327.3 kB / 0.4996 GB, free: 304 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.5489, allocations: 20 kB / 0.4996 GB, free: 284 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.549, allocations: 353.8 kB / 0.4999 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/0.5497, allocations: 485.8 kB / 0.5004 GB, free: 15.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008125/0.5505, allocations: 0.6506 MB / 0.501 GB, free: 14.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007683/0.5513, allocations: 0.5552 MB / 0.5016 GB, free: 14.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5513, allocations: 4 kB / 0.5016 GB, free: 14.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002289/0.5536, allocations: 1.585 MB / 0.5031 GB, free: 12.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.5536, allocations: 8 kB / 0.5031 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.5537, allocations: 4 kB / 0.5031 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.5547, allocations: 467.1 kB / 0.5036 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006569/0.5554, allocations: 183.7 kB / 0.5038 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007967/0.5634, allocations: 8.447 MB / 0.512 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/0.564, allocations: 47.97 kB / 0.5121 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.939e-05/0.5641, allocations: 35.98 kB / 0.5121 GB, free: 2.84 MB / 394.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.0002135/0.5643, allocations: 157.7 kB / 0.5122 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.5645, allocations: 98.88 kB / 0.5123 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.5668, allocations: 1.494 MB / 0.5138 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.5669, allocations: 8 kB / 0.5138 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5669, allocations: 7.953 kB / 0.5138 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.5669, allocations: 7.969 kB / 0.5138 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005537/0.5724, allocations: 3.494 MB / 0.5172 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.5725, allocations: 8 kB / 0.5172 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.573, allocations: 131.9 kB / 0.5174 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009257/0.574, allocations: 447 kB / 0.5178 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/0.574, allocations: 20 kB / 0.5178 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007874/0.5819, allocations: 8.361 MB / 0.526 GB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.582, allocations: 0 / 0.526 GB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/0.5852, allocations: 2.277 MB / 0.5282 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/0.5858, allocations: 279.8 kB / 0.5285 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.5859, allocations: 19.98 kB / 0.5285 GB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/0.5864, allocations: 55.91 kB / 0.5285 GB, free: 1.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.5866, allocations: 84.59 kB / 0.5286 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.5867, allocations: 27.94 kB / 0.5286 GB, free: 1.156 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007767/0.5875, allocations: 0.5889 MB / 0.5292 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5875, allocations: 0 / 0.5292 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001469/0.5889, allocations: 399.9 kB / 0.5296 GB, free: 188 kB / 410.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.0003098/0.5893, allocations: 167 kB / 0.5298 GB, free: 8 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.205/0.7943, allocations: 1.813 MB / 0.5315 GB, free: 112.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.7944, allocations: 0 / 0.5315 GB, free: 112.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001682/0.7961, allocations: 1.268 MB / 0.5328 GB, free: 112 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.7975, allocations: 265.1 kB / 0.533 GB, free: 112 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00593/0.8034, allocations: 2.893 MB / 0.5358 GB, free: 111.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00192/0.8054, allocations: 1.75 MB / 0.5375 GB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008205/0.8062, allocations: 184.4 kB / 0.5377 GB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.8064, allocations: 61.06 kB / 0.5378 GB, free: 110.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.673e-06/0.8064, allocations: 1.094 kB / 0.5378 GB, free: 110.6 MB / 410.7 MB Notification: Performance of Templates: time 0.03181/0.8382, allocations: 19.1 MB / 0.5564 GB, free: 109.6 MB / 410.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/jenkins/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