Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008645/0.0008648, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.447/1.447, allocations: 205.4 MB / 224.2 MB, free: 9.02 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.0007569/0.0007569, allocations: 82.36 kB / 272.5 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002972, allocations: 8 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1942, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0913/0.2855, allocations: 84.72 MB / 461.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.2858, allocations: 91.92 kB / 461.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05358/0.3394, allocations: 20.38 MB / 482.2 MB, free: 7.176 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3394, allocations: 0 / 482.2 MB, free: 7.176 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001044/0.3395, allocations: 31.94 kB / 482.3 MB, free: 7.145 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003138/0.3427, allocations: 1.408 MB / 483.7 MB, free: 5.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3427, allocations: 12.02 kB / 483.7 MB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003426/0.3431, allocations: 143.2 kB / 483.8 MB, free: 5.527 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.345, allocations: 1.036 MB / 484.9 MB, free: 4.449 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.948e-05/0.3451, allocations: 74.38 kB / 484.9 MB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.3453, allocations: 96.38 kB / 485 MB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/0.3477, allocations: 1.424 MB / 486.4 MB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.3478, allocations: 12.02 kB / 486.5 MB, free: 2.789 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.3479, allocations: 47.92 kB / 486.5 MB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-05/0.348, allocations: 46 kB / 486.6 MB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.3502, allocations: 1.23 MB / 487.8 MB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006193/0.3564, allocations: 4.337 MB / 492.1 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.3583, allocations: 1.968 MB / 494.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.3595, allocations: 0.7471 MB / 494.8 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.257e-05/0.3595, allocations: 8.656 kB / 494.8 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009095/0.3604, allocations: 0.5975 MB / 495.4 MB, free: 9.465 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 2.344e-06/0.3605, allocations: 0 / 495.4 MB, free: 9.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.006775/0.3672, allocations: 2.781 MB / 498.2 MB, free: 6.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.683e-05/0.3673, allocations: 119.4 kB / 498.3 MB, free: 6.512 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.3684, allocations: 0.813 MB / 499.2 MB, free: 5.691 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.828e-05/0.3685, allocations: 41.7 kB / 499.2 MB, free: 5.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/0.3688, allocations: 479.8 kB / 499.7 MB, free: 5.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.369, allocations: 248.5 kB / 499.9 MB, free: 4.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.3691, allocations: 12 kB / 499.9 MB, free: 4.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3693, allocations: 398.7 kB / 0.4886 GB, free: 4.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006196/0.3699, allocations: 405.7 kB / 0.489 GB, free: 4.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007003/0.3706, allocations: 0.5368 MB / 0.4895 GB, free: 3.527 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.3719, allocations: 0.9144 MB / 0.4904 GB, free: 2.566 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3719, allocations: 4 kB / 0.4904 GB, free: 2.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002175/0.3741, allocations: 1.303 MB / 0.4917 GB, free: 1.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.3741, allocations: 8 kB / 0.4917 GB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3741, allocations: 4 kB / 0.4917 GB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.3752, allocations: 480.2 kB / 0.4921 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.3756, allocations: 99.81 kB / 0.4922 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.17/0.5456, allocations: 5.108 MB / 0.4972 GB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000672/0.5463, allocations: 92.17 kB / 0.4973 GB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.5464, allocations: 22.78 kB / 0.4973 GB, free: 101.5 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 (54): * Single equations (assignments): 53 * 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 30} Notification: Performance of prepare postOptimizeDAE: time 0.0007001/0.5471, allocations: 461.5 kB / 0.4978 GB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.5473, allocations: 83.56 kB / 0.4978 GB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.5474, allocations: 117 kB / 0.498 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.5475, allocations: 12.59 kB / 0.498 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5475, allocations: 0.5938 kB / 0.498 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.5475, allocations: 4.594 kB / 0.498 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/0.5514, allocations: 2.628 MB / 0.5005 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5514, allocations: 0 / 0.5005 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.5517, allocations: 62.61 kB / 0.5006 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009178/0.5526, allocations: 466.2 kB / 0.501 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.5527, allocations: 13.84 kB / 0.5011 GB, free: 101 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005657/0.5584, allocations: 5.069 MB / 0.506 GB, free: 98.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5584, allocations: 3.281 kB / 0.506 GB, free: 98.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.5606, allocations: 1.924 MB / 0.5079 GB, free: 97.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003293/0.561, allocations: 279.4 kB / 0.5082 GB, free: 97.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.861e-05/0.5611, allocations: 11.56 kB / 0.5082 GB, free: 97.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.5615, allocations: 50.8 kB / 0.5082 GB, free: 97.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.5616, allocations: 68.91 kB / 0.5083 GB, free: 97.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.5617, allocations: 24.59 kB / 0.5083 GB, free: 97.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006029/0.5623, allocations: 0.5824 MB / 0.5089 GB, free: 96.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5623, allocations: 0 / 0.5089 GB, free: 96.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008655/0.5632, allocations: 356.4 kB / 0.5092 GB, free: 96.86 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 (40): * Single equations (assignments): 36 * 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 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001681/0.5634, allocations: 126 kB / 0.5093 GB, free: 96.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.565, allocations: 1.278 MB / 0.5106 GB, free: 96.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5651, allocations: 0 / 0.5106 GB, free: 96.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009815/0.566, allocations: 0.8316 MB / 0.5114 GB, free: 95.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009985/0.5671, allocations: 255.2 kB / 0.5116 GB, free: 95.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.5701, allocations: 2.661 MB / 0.5142 GB, free: 94.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007344/0.5709, allocations: 1.321 MB / 0.5155 GB, free: 93.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003711/0.5713, allocations: 142.6 kB / 0.5157 GB, free: 93.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.5714, allocations: 51.38 kB / 0.5157 GB, free: 93.59 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5714, allocations: 0 / 0.5157 GB, free: 93.59 MB / 378.7 MB Notification: Performance of Templates: time 0.02174/0.5932, allocations: 17.98 MB / 0.5333 GB, free: 81.41 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches