Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009525/0.0009524, allocations: 178.4 kB / 18.04 MB, free: 3.66 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.259/1.259, allocations: 205.4 MB / 224.2 MB, free: 8.918 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.0007221/0.0007221, allocations: 85.03 kB / 272.5 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 16 kB / 329.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1907, allocations: 47.56 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08677/0.2775, allocations: 84.14 MB / 461.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.2778, allocations: 87.95 kB / 461.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04927/0.3271, allocations: 21.07 MB / 482.3 MB, free: 7.066 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3271, allocations: 0 / 482.3 MB, free: 7.066 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.341e-05/0.3272, allocations: 28 kB / 482.4 MB, free: 7.039 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003217/0.3305, allocations: 1.529 MB / 483.9 MB, free: 5.449 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3305, allocations: 12.03 kB / 483.9 MB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004474/0.331, allocations: 151.2 kB / 484 MB, free: 5.289 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.3328, allocations: 0.9888 MB / 485 MB, free: 4.258 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.646e-05/0.3329, allocations: 78.41 kB / 485.1 MB, free: 4.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/0.3331, allocations: 104.4 kB / 485.2 MB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.3357, allocations: 1.533 MB / 486.7 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/0.3358, allocations: 4.172 kB / 486.7 MB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.3359, allocations: 59.86 kB / 486.8 MB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/0.3359, allocations: 42.02 kB / 486.8 MB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.3382, allocations: 1.378 MB / 488.2 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007433/0.3457, allocations: 4.973 MB / 493.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.3474, allocations: 1.464 MB / 494.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.3486, allocations: 0.7399 MB / 495.4 MB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.3487, allocations: 8.562 kB / 495.4 MB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.3497, allocations: 0.6161 MB / 496 MB, free: 8.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 3.727e-06/0.3497, allocations: 0 / 496 MB, free: 8.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.005841/0.3556, allocations: 2.505 MB / 498.5 MB, free: 6.312 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.3557, allocations: 85.77 kB / 498.6 MB, free: 6.207 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.3571, allocations: 0.9304 MB / 499.5 MB, free: 5.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.049e-05/0.3572, allocations: 41.7 kB / 499.6 MB, free: 5.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/0.3577, allocations: 0.5153 MB / 0.4884 GB, free: 4.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.3579, allocations: 236.6 kB / 0.4886 GB, free: 4.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.3579, allocations: 16 kB / 0.4886 GB, free: 4.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3581, allocations: 330 kB / 0.4889 GB, free: 4.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006714/0.3587, allocations: 425.7 kB / 0.4893 GB, free: 3.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007366/0.3595, allocations: 0.5525 MB / 0.4899 GB, free: 3.105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.3609, allocations: 0.9536 MB / 0.4908 GB, free: 2.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.3609, allocations: 3.938 kB / 0.4908 GB, free: 2.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002093/0.363, allocations: 1.296 MB / 0.4921 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.363, allocations: 4 kB / 0.4921 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.363, allocations: 7.938 kB / 0.4921 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008501/0.3639, allocations: 407.2 kB / 0.4925 GB, free: 388 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.3644, allocations: 111.8 kB / 0.4926 GB, free: 276 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1611/0.5255, allocations: 4.126 MB / 0.4966 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007302/0.5263, allocations: 88.73 kB / 0.4967 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.5264, allocations: 25.41 kB / 0.4967 GB, free: 101.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0008595/0.5273, allocations: 487.9 kB / 0.4972 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.5275, allocations: 90.12 kB / 0.4973 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.5278, allocations: 127 kB / 0.4974 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.5278, allocations: 11.23 kB / 0.4974 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5278, allocations: 0 / 0.4974 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.5278, allocations: 4.984 kB / 0.4974 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/0.5322, allocations: 2.617 MB / 0.5 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.5322, allocations: 1.406 kB / 0.5 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.5327, allocations: 84.2 kB / 0.5 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008219/0.5335, allocations: 389.9 kB / 0.5004 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.5336, allocations: 14.84 kB / 0.5004 GB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004885/0.5385, allocations: 4.092 MB / 0.5044 GB, free: 98.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5386, allocations: 0 / 0.5044 GB, free: 98.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.5419, allocations: 1.979 MB / 0.5064 GB, free: 98.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00062/0.5425, allocations: 290.7 kB / 0.5066 GB, free: 97.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.5428, allocations: 11.25 kB / 0.5067 GB, free: 97.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/0.5435, allocations: 53.81 kB / 0.5067 GB, free: 97.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/0.5438, allocations: 77.2 kB / 0.5068 GB, free: 97.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/0.5439, allocations: 19.91 kB / 0.5068 GB, free: 97.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001436/0.5453, allocations: 0.6646 MB / 0.5074 GB, free: 97.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5453, allocations: 0 / 0.5074 GB, free: 97.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001489/0.5468, allocations: 347.1 kB / 0.5078 GB, free: 97.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002068/0.5471, allocations: 132.9 kB / 0.5079 GB, free: 97.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.5491, allocations: 1.296 MB / 0.5092 GB, free: 96.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.5491, allocations: 0 / 0.5092 GB, free: 96.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.5503, allocations: 0.8238 MB / 0.51 GB, free: 96.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.5516, allocations: 244.6 kB / 0.5102 GB, free: 96.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.557, allocations: 2.986 MB / 0.5131 GB, free: 94.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.5581, allocations: 1.387 MB / 0.5145 GB, free: 94.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006276/0.5588, allocations: 169.4 kB / 0.5146 GB, free: 94.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.559, allocations: 54.39 kB / 0.5147 GB, free: 94.12 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.559, allocations: 0 / 0.5147 GB, free: 94.12 MB / 378.7 MB Notification: Performance of Templates: time 0.02452/0.5835, allocations: 16.7 MB / 0.531 GB, free: 84.08 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches