Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001127/0.001126, allocations: 180 kB / 17.01 MB, free: 5.125 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.817/1.817, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008287/0.0008287, allocations: 104 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002488/0.0002489, allocations: 4 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2731, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.3818, allocations: 87.72 MB / 463.5 MB, free: 8.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/0.3822, allocations: 87.94 kB / 463.6 MB, free: 8.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02772/0.4099, allocations: 10.92 MB / 474.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.4099, allocations: 0 / 474.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.209e-05/0.41, allocations: 16 kB / 474.6 MB, free: 13.84 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001627/0.4116, allocations: 0.9421 MB / 475.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.4117, allocations: 8.031 kB / 475.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.4118, allocations: 79.06 kB / 475.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007332/0.4126, allocations: 0.4939 MB / 476.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/0.4126, allocations: 49.31 kB / 476.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.181e-05/0.4127, allocations: 68 kB / 476.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.4139, allocations: 0.6825 MB / 476.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.4139, allocations: 4 kB / 476.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.373e-05/0.414, allocations: 24 kB / 476.9 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.414, allocations: 16 kB / 476.9 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009071/0.4149, allocations: 0.5204 MB / 477.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003563/0.4185, allocations: 2.597 MB / 480.1 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.4196, allocations: 0.5737 MB / 480.6 MB, free: 7.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.4196, allocations: 4.438 kB / 480.6 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005797/0.4202, allocations: 349.6 kB / 481 MB, free: 7.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=55): time 2.335e-06/0.4202, allocations: 0 / 481 MB, free: 7.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.002439/0.4227, allocations: 0.9847 MB / 482 MB, free: 6.168 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.4228, allocations: 115.4 kB / 482.1 MB, free: 6.031 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.4233, allocations: 445 kB / 482.5 MB, free: 5.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.4233, allocations: 45.69 kB / 482.5 MB, free: 5.539 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.4236, allocations: 313 kB / 482.9 MB, free: 5.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.4237, allocations: 165.6 kB / 483 MB, free: 5.066 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.4238, allocations: 16 kB / 483 MB, free: 5.051 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.424, allocations: 370.8 kB / 483.4 MB, free: 4.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.4243, allocations: 193.2 kB / 483.6 MB, free: 4.488 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.4248, allocations: 352.1 kB / 483.9 MB, free: 4.086 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.4252, allocations: 222.1 kB / 484.1 MB, free: 3.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4252, allocations: 3.938 kB / 484.1 MB, free: 3.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001169/0.4264, allocations: 0.6824 MB / 484.8 MB, free: 3.172 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006755/0.4271, allocations: 1.578 MB / 486.4 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.4271, allocations: 4 kB / 486.4 MB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004628/0.4275, allocations: 156.7 kB / 486.6 MB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.4279, allocations: 83.84 kB / 486.6 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.4306, allocations: 2.362 MB / 489 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.431, allocations: 87.48 kB / 489.1 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.4311, allocations: 20 kB / 489.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.204e-06/0.4311, allocations: 4 kB / 489.1 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009101/0.432, allocations: 0.5765 MB / 489.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.432, allocations: 4 kB / 489.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003692/0.4324, allocations: 162.8 kB / 489.9 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.4327, allocations: 75.91 kB / 489.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/0.4352, allocations: 2.372 MB / 492.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.4355, allocations: 75.5 kB / 492.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.4356, allocations: 24 kB / 492.4 MB, free: 11.2 MB / 378.7 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 () * Number of clocked 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.0003493/0.4359, allocations: 309 kB / 492.7 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.75e-05/0.436, allocations: 55.34 kB / 492.8 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.4361, allocations: 69.58 kB / 492.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4362, allocations: 4 kB / 492.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.4362, allocations: 0 / 492.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.4362, allocations: 11.94 kB / 492.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.438, allocations: 1.327 MB / 494.2 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.438, allocations: 3.953 kB / 494.2 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.4382, allocations: 44 kB / 494.2 MB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003673/0.4386, allocations: 156.7 kB / 494.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.4386, allocations: 4 kB / 494.4 MB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002467/0.4411, allocations: 2.366 MB / 496.7 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4411, allocations: 4 kB / 496.7 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.4424, allocations: 0.8897 MB / 497.6 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.4426, allocations: 184.4 kB / 497.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.828e-05/0.4427, allocations: 8 kB / 497.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.443, allocations: 51.84 kB / 497.9 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.4432, allocations: 64.41 kB / 497.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.4432, allocations: 23.94 kB / 498 MB, free: 5.398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003883/0.4436, allocations: 346.9 kB / 498.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4436, allocations: 0 / 498.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009194/0.4446, allocations: 327.1 kB / 498.6 MB, free: 4.742 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: 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) * Number of clocked states: 0 () * 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.0001796/0.4447, allocations: 129.6 kB / 498.7 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.4465, allocations: 1.188 MB / 499.9 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4465, allocations: 0 / 499.9 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.4471, allocations: 447.8 kB / 0.4886 GB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.4476, allocations: 102.5 kB / 0.4887 GB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.4497, allocations: 1.427 MB / 0.4901 GB, free: 1.402 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.4502, allocations: 0.9427 MB / 0.491 GB, free: 440 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002975/0.4505, allocations: 80.8 kB / 0.4911 GB, free: 360 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.4506, allocations: 43.42 kB / 0.4912 GB, free: 316 kB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.4506, allocations: 0 / 0.4912 GB, free: 316 kB / 378.7 MB Notification: Performance of Templates: time 0.2212/0.6719, allocations: 9.87 MB / 0.5008 GB, free: 105 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat","/var/lib/jenkins/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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches