Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000904/0.0009041, allocations: 92.48 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.416e-05/1.417e-05, allocations: 7.938 kB / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 50.42 MB / 387.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.293/0.404, allocations: 88.18 MB / 475.7 MB, free: 6.621 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.4042, allocations: 82.73 kB / 475.7 MB, free: 6.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03552/0.4398, allocations: 14.27 MB / 490 MB, free: 8.188 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4398, allocations: 0 / 490 MB, free: 8.188 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.091e-05/0.4399, allocations: 19.98 kB / 490 MB, free: 8.168 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.001412/0.4413, allocations: 0.8839 MB / 490.9 MB, free: 7.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.4413, allocations: 12.03 kB / 490.9 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.4415, allocations: 90.95 kB / 491 MB, free: 7.129 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006974/0.4422, allocations: 0.4922 MB / 491.5 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.4422, allocations: 24 kB / 491.5 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.652e-05/0.4423, allocations: 44 kB / 491.6 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000786/0.4431, allocations: 482.5 kB / 492.1 MB, free: 6.055 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009677/0.4441, allocations: 0.6106 MB / 492.7 MB, free: 5.414 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.4441, allocations: 0 / 492.7 MB, free: 5.414 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/0.4442, allocations: 12 kB / 492.7 MB, free: 5.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.4442, allocations: 12 kB / 492.7 MB, free: 5.391 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/0.4475, allocations: 2.547 MB / 495.2 MB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/0.4482, allocations: 0.5056 MB / 495.7 MB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.4486, allocations: 254.5 kB / 496 MB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.4486, allocations: 4.438 kB / 496 MB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004717/0.4491, allocations: 340.6 kB / 496.3 MB, free: 1.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 1.893e-06/0.4491, allocations: 0 / 496.3 MB, free: 1.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.0007752/0.4499, allocations: 0.4955 MB / 496.8 MB, free: 1.105 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.45, allocations: 141.1 kB / 497 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.4503, allocations: 369.1 kB / 497.3 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.4504, allocations: 37.69 kB / 497.4 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.4506, allocations: 316.1 kB / 497.7 MB, free: 220 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.4507, allocations: 165.6 kB / 497.8 MB, free: 52 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.4508, allocations: 0 / 497.8 MB, free: 52 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4509, allocations: 366.8 kB / 498.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.4512, allocations: 177.5 kB / 498.4 MB, free: 15.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.4515, allocations: 337.4 kB / 498.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.4518, allocations: 190 kB / 498.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.4518, allocations: 4 kB / 498.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008662/0.4527, allocations: 0.6082 MB / 499.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005128/0.4532, allocations: 1.579 MB / 0.4893 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4532, allocations: 4 kB / 0.4893 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004154/0.4536, allocations: 144.8 kB / 0.4895 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.454, allocations: 91.83 kB / 0.4896 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.4564, allocations: 2.282 MB / 0.4918 GB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.4569, allocations: 79.53 kB / 0.4919 GB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.457, allocations: 24 kB / 0.4919 GB, free: 9.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.457, allocations: 4 kB / 0.4919 GB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000856/0.4579, allocations: 0.5177 MB / 0.4924 GB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4579, allocations: 4.047 kB / 0.4924 GB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003727/0.4583, allocations: 156.6 kB / 0.4925 GB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.4586, allocations: 80.31 kB / 0.4926 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.4609, allocations: 2.288 MB / 0.4949 GB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.4613, allocations: 63.56 kB / 0.4949 GB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.4614, allocations: 20 kB / 0.4949 GB, free: 6.625 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: 29 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_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 (63): * Single equations (assignments): 62 * 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.0001843/0.4616, allocations: 146.1 kB / 0.4951 GB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.36e-05/0.4617, allocations: 55.33 kB / 0.4951 GB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.4618, allocations: 57.59 kB / 0.4952 GB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4618, allocations: 12 kB / 0.4952 GB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4618, allocations: 4 kB / 0.4952 GB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4618, allocations: 3.984 kB / 0.4952 GB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.4635, allocations: 1.23 MB / 0.4964 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4635, allocations: 0 / 0.4964 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.4637, allocations: 51.91 kB / 0.4964 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003299/0.4641, allocations: 136.8 kB / 0.4966 GB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.4641, allocations: 8 kB / 0.4966 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.4662, allocations: 2.157 MB / 0.4987 GB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4663, allocations: 7.875 kB / 0.4987 GB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.4674, allocations: 0.8586 MB / 0.4995 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.4676, allocations: 180.5 kB / 0.4997 GB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.101e-05/0.4676, allocations: 4 kB / 0.4997 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.468, allocations: 35.97 kB / 0.4997 GB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.4681, allocations: 84.33 kB / 0.4998 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.4682, allocations: 16 kB / 0.4998 GB, free: 1.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002834/0.4685, allocations: 279 kB / 0.5001 GB, free: 1.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4685, allocations: 0 / 0.5001 GB, free: 1.109 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009288/0.4694, allocations: 314.9 kB / 0.5004 GB, free: 0.8008 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.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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.0001666/0.4696, allocations: 129.4 kB / 0.5005 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.4711, allocations: 1.119 MB / 0.5016 GB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4711, allocations: 3.938 kB / 0.5016 GB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.4716, allocations: 424.6 kB / 0.502 GB, free: 15.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.4721, allocations: 83.64 kB / 0.5021 GB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.4736, allocations: 0.8877 MB / 0.503 GB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.4741, allocations: 0.959 MB / 0.5039 GB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003648/0.4744, allocations: 112.6 kB / 0.504 GB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.929e-05/0.4745, allocations: 31.44 kB / 0.5041 GB, free: 12.98 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4745, allocations: 0 / 0.5041 GB, free: 12.98 MB / 394.7 MB Notification: Performance of Templates: time 0.01467/0.4892, allocations: 9.813 MB / 0.5136 GB, free: 3.324 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches