Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009745/0.0009745, allocations: 182.3 kB / 18.04 MB, free: 3.652 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.311/1.311, allocations: 205.4 MB / 224.2 MB, free: 9.012 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.000777/0.000777, allocations: 81.55 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 8 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1975, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08847/0.286, allocations: 83.42 MB / 460.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.2863, allocations: 95.94 kB / 460.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03721/0.3235, allocations: 13.48 MB / 474 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3236, allocations: 0 / 474 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.021e-05/0.3237, allocations: 16 kB / 474.1 MB, free: 15.41 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002669/0.3263, allocations: 1.023 MB / 475.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.3264, allocations: 8.031 kB / 475.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.3267, allocations: 91.81 kB / 475.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.3278, allocations: 0.6391 MB / 475.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.3279, allocations: 49.69 kB / 475.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.328, allocations: 64.38 kB / 475.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.3298, allocations: 0.9158 MB / 476.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.3299, allocations: 3.938 kB / 476.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.3299, allocations: 31.98 kB / 476.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.33, allocations: 25.31 kB / 476.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.3313, allocations: 0.7663 MB / 477.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004171/0.3354, allocations: 2.824 MB / 480.5 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009041/0.3364, allocations: 0.7373 MB / 481.2 MB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005869/0.337, allocations: 363.6 kB / 481.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.337, allocations: 12.31 kB / 481.6 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006058/0.3376, allocations: 381.9 kB / 482 MB, free: 7.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.736e-06/0.3376, allocations: 0 / 482 MB, free: 7.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002657/0.3403, allocations: 1.243 MB / 483.2 MB, free: 5.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.3404, allocations: 106.8 kB / 483.3 MB, free: 5.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007458/0.3411, allocations: 0.5605 MB / 483.9 MB, free: 5.207 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.206e-05/0.3412, allocations: 37.7 kB / 483.9 MB, free: 5.164 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.3415, allocations: 351.9 kB / 484.3 MB, free: 4.812 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.3416, allocations: 142.1 kB / 484.4 MB, free: 4.672 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.3417, allocations: 8 kB / 484.4 MB, free: 4.664 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3418, allocations: 362.8 kB / 484.8 MB, free: 4.301 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.3422, allocations: 221 kB / 485 MB, free: 4.086 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.3427, allocations: 352.9 kB / 485.3 MB, free: 3.684 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008136/0.3435, allocations: 0.5605 MB / 485.9 MB, free: 3.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.3435, allocations: 4 kB / 485.9 MB, free: 3.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00126/0.3448, allocations: 0.7628 MB / 486.6 MB, free: 2.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3448, allocations: 8 kB / 486.6 MB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.3449, allocations: 4 kB / 486.7 MB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005158/0.3454, allocations: 212 kB / 486.9 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.3457, allocations: 67.89 kB / 486.9 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/0.349, allocations: 2.783 MB / 489.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.3495, allocations: 63.61 kB / 489.8 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.3495, allocations: 20 kB / 489.8 MB, free: 15.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004822/0.35, allocations: 321.5 kB / 490.1 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3501, allocations: 55.34 kB / 490.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.3503, allocations: 73.27 kB / 490.2 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3503, allocations: 4 kB / 490.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3503, allocations: 0 / 490.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3503, allocations: 0 / 490.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.3531, allocations: 1.765 MB / 492 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3531, allocations: 4 kB / 492 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.3533, allocations: 51.91 kB / 492.1 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.3538, allocations: 204.7 kB / 492.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.3538, allocations: 4 kB / 492.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/0.3566, allocations: 2.662 MB / 494.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3566, allocations: 0 / 494.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.3583, allocations: 1.133 MB / 496.1 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/0.3586, allocations: 196.4 kB / 496.2 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.527e-05/0.3587, allocations: 11.94 kB / 496.3 MB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.359, allocations: 31.97 kB / 496.3 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.3592, allocations: 39.94 kB / 496.3 MB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.3592, allocations: 12 kB / 496.3 MB, free: 8.199 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005284/0.3597, allocations: 418.8 kB / 496.7 MB, free: 7.793 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3597, allocations: 0 / 496.7 MB, free: 7.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006899/0.3604, allocations: 203.5 kB / 496.9 MB, free: 7.594 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.3606, allocations: 123.8 kB / 497.1 MB, free: 7.465 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.3618, allocations: 0.7332 MB / 497.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3619, allocations: 0 / 497.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006791/0.3625, allocations: 486.9 kB / 498.3 MB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008155/0.3634, allocations: 138 kB / 498.4 MB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.3659, allocations: 1.678 MB / 0.4884 GB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.3665, allocations: 1.074 MB / 0.4894 GB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003002/0.3668, allocations: 100.7 kB / 0.4895 GB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.365e-05/0.3669, allocations: 35.44 kB / 0.4895 GB, free: 3.152 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3669, allocations: 0 / 0.4895 GB, free: 3.152 MB / 378.7 MB Notification: Performance of Templates: time 0.1724/0.5393, allocations: 9.21 MB / 0.4985 GB, free: 106.3 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches