Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002145/0.002145, allocations: 179.2 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 2.001/2.001, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.00107/0.00107, allocations: 84.05 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.318e-05, allocations: 4 kB / 314.8 MB, free: 9.133 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3219, allocations: 47.57 MB / 362.4 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.4566, allocations: 86.98 MB / 449.3 MB, free: 15.31 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.457, allocations: 87.94 kB / 449.4 MB, free: 15.22 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04553/0.5025, allocations: 10.79 MB / 460.2 MB, free: 4.441 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5026, allocations: 4 kB / 460.2 MB, free: 4.438 MB / 347.1 MB Notification: Performance of Transformations before backend: time 6.789e-05/0.5027, allocations: 16 kB / 460.2 MB, free: 4.422 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002483/0.5052, allocations: 0.8608 MB / 461.1 MB, free: 3.512 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.5052, allocations: 12.03 kB / 461.1 MB, free: 3.5 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002878/0.5055, allocations: 87.05 kB / 461.2 MB, free: 3.414 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.5069, allocations: 0.4884 MB / 461.7 MB, free: 2.883 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/0.5069, allocations: 20 kB / 461.7 MB, free: 2.863 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.5071, allocations: 39.91 kB / 461.7 MB, free: 2.824 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001397/0.5085, allocations: 446.5 kB / 462.2 MB, free: 2.387 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.5102, allocations: 0.5668 MB / 462.7 MB, free: 1.793 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.5103, allocations: 4 kB / 462.7 MB, free: 1.789 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.071e-05/0.5104, allocations: 7.984 kB / 462.8 MB, free: 1.781 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.5104, allocations: 19.94 kB / 462.8 MB, free: 1.762 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006175/0.5166, allocations: 2.458 MB / 465.2 MB, free: 15.2 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.5184, allocations: 0.536 MB / 465.8 MB, free: 14.65 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/0.5191, allocations: 250.6 kB / 466 MB, free: 14.41 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.492e-05/0.5191, allocations: 4.438 kB / 466 MB, free: 14.4 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008196/0.52, allocations: 308.6 kB / 466.3 MB, free: 14.08 MB / 363.1 MB Notification: Performance of pre-optimization done (n=55): time 6.342e-06/0.52, allocations: 4 kB / 466.3 MB, free: 14.07 MB / 363.1 MB Notification: Performance of matching and sorting (n=55): time 0.001413/0.5214, allocations: 483.2 kB / 466.8 MB, free: 13.59 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.237e-05/0.5216, allocations: 116.1 kB / 466.9 MB, free: 13.45 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007418/0.5223, allocations: 365.1 kB / 467.3 MB, free: 13.09 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.5224, allocations: 29.7 kB / 467.3 MB, free: 13.05 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.5228, allocations: 355.1 kB / 467.6 MB, free: 12.71 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.523, allocations: 157.7 kB / 467.8 MB, free: 12.55 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.5231, allocations: 0 / 467.8 MB, free: 12.55 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5232, allocations: 334.8 kB / 468.1 MB, free: 12.21 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/0.5237, allocations: 165.5 kB / 468.3 MB, free: 12.05 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006078/0.5243, allocations: 319.2 kB / 468.6 MB, free: 11.68 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.5248, allocations: 178.1 kB / 468.8 MB, free: 11.51 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.5249, allocations: 0 / 468.8 MB, free: 11.51 MB / 363.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001544/0.5264, allocations: 0.5347 MB / 469.3 MB, free: 10.97 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00075/0.5272, allocations: 1.582 MB / 470.9 MB, free: 9.262 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.5273, allocations: 4 kB / 470.9 MB, free: 9.258 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007953/0.5281, allocations: 136.8 kB / 471 MB, free: 9.121 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/0.5287, allocations: 87.83 kB / 471.1 MB, free: 9.035 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004298/0.5331, allocations: 2.247 MB / 473.4 MB, free: 6.676 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/0.534, allocations: 71.73 kB / 473.4 MB, free: 6.605 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.655e-05/0.5341, allocations: 24 kB / 473.4 MB, free: 6.582 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.5341, allocations: 7.953 kB / 473.5 MB, free: 6.574 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001404/0.5356, allocations: 498.2 kB / 473.9 MB, free: 6.086 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5356, allocations: 4 kB / 473.9 MB, free: 6.082 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006469/0.5363, allocations: 142.4 kB / 474.1 MB, free: 5.941 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.5369, allocations: 79.84 kB / 474.2 MB, free: 5.863 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00412/0.541, allocations: 2.24 MB / 476.4 MB, free: 3.516 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006151/0.5417, allocations: 59.61 kB / 476.5 MB, free: 3.457 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.329e-05/0.5418, allocations: 24 kB / 476.5 MB, free: 3.434 MB / 363.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002993/0.5421, allocations: 139.9 kB / 476.6 MB, free: 3.297 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.5423, allocations: 51.38 kB / 476.7 MB, free: 3.246 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.5425, allocations: 57.06 kB / 476.7 MB, free: 3.191 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.5425, allocations: 4 kB / 476.7 MB, free: 3.188 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5425, allocations: 0 / 476.7 MB, free: 3.188 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.5426, allocations: 11.98 kB / 476.7 MB, free: 3.176 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/0.5455, allocations: 1.179 MB / 477.9 MB, free: 1.949 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.5456, allocations: 0 / 477.9 MB, free: 1.949 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.546, allocations: 35.98 kB / 478 MB, free: 1.914 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006786/0.5467, allocations: 148.6 kB / 478.1 MB, free: 1.766 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/0.5468, allocations: 7.984 kB / 478.1 MB, free: 1.758 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004158/0.551, allocations: 2.217 MB / 480.3 MB, free: 15.42 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.5511, allocations: 3.938 kB / 480.3 MB, free: 15.41 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.5532, allocations: 0.8079 MB / 481.1 MB, free: 14.59 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/0.5536, allocations: 180.3 kB / 481.3 MB, free: 14.39 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.5538, allocations: 0 / 481.3 MB, free: 14.39 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006453/0.5544, allocations: 39.95 kB / 481.4 MB, free: 14.35 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/0.5547, allocations: 56.48 kB / 481.4 MB, free: 14.3 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.5548, allocations: 15.98 kB / 481.4 MB, free: 14.28 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0005329/0.5553, allocations: 271 kB / 481.7 MB, free: 14.02 MB / 379.1 MB Notification: Performance of sort global known variables: time 6.72e-07/0.5553, allocations: 0 / 481.7 MB, free: 14.02 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001648/0.557, allocations: 291.1 kB / 482 MB, free: 13.73 MB / 379.1 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: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003063/0.5573, allocations: 135.4 kB / 482.1 MB, free: 13.59 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002883/0.5602, allocations: 1.054 MB / 483.2 MB, free: 12.52 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.5603, allocations: 0 / 483.2 MB, free: 12.52 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.5613, allocations: 416.6 kB / 483.6 MB, free: 12.11 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000921/0.5623, allocations: 83.86 kB / 483.6 MB, free: 12.03 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.5653, allocations: 0.8542 MB / 484.5 MB, free: 11.14 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007813/0.5661, allocations: 0.9349 MB / 485.4 MB, free: 10.17 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.5664, allocations: 43.42 kB / 485.5 MB, free: 10.13 MB / 379.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5664, allocations: 0 / 485.5 MB, free: 10.13 MB / 379.1 MB Notification: Performance of Templates: time 0.02391/0.5903, allocations: 10.17 MB / 495.6 MB, free: 15.98 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/HalfControlledBridge2Pulse/HalfControlledBridge2Pulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches