Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001138/0.001138, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.945e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.0929, allocations: 47.58 MB / 369.1 MB, free: 2.18 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4117/0.5047, allocations: 87.08 MB / 456.2 MB, free: 6.156 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/0.5051, allocations: 90.25 kB / 456.3 MB, free: 6.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05315/0.5583, allocations: 12.64 MB / 468.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5583, allocations: 0 / 468.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.193e-05/0.5584, allocations: 16 kB / 468.9 MB, free: 11.32 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002146/0.5606, allocations: 0.8204 MB / 469.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.5606, allocations: 12.03 kB / 469.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.5609, allocations: 75.06 kB / 469.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.562, allocations: 474 kB / 470.3 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/0.5621, allocations: 45.31 kB / 470.3 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.5622, allocations: 52 kB / 470.4 MB, free: 9.758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.5638, allocations: 0.595 MB / 471 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.5638, allocations: 0 / 471 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.577e-05/0.5639, allocations: 24 kB / 471 MB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.564, allocations: 19.94 kB / 471 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.5652, allocations: 413.1 kB / 471.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005473/0.5707, allocations: 2.217 MB / 473.7 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.5722, allocations: 448.6 kB / 474.1 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007459/0.573, allocations: 233.8 kB / 474.3 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-05/0.5731, allocations: 12.25 kB / 474.3 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007255/0.5738, allocations: 294 kB / 474.6 MB, free: 5.359 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 3.216e-06/0.5738, allocations: 0 / 474.6 MB, free: 5.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.001281/0.5751, allocations: 417.6 kB / 475 MB, free: 4.941 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.5752, allocations: 140.5 kB / 475.2 MB, free: 4.773 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.5763, allocations: 403 kB / 475.6 MB, free: 4.379 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.5764, allocations: 41.69 kB / 475.6 MB, free: 4.332 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.5767, allocations: 339 kB / 475.9 MB, free: 3.996 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.5769, allocations: 126.2 kB / 476 MB, free: 3.871 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.577, allocations: 16.03 kB / 476.1 MB, free: 3.855 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5771, allocations: 330.8 kB / 476.4 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/0.5776, allocations: 149 kB / 476.5 MB, free: 3.375 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.5781, allocations: 296.2 kB / 476.8 MB, free: 3.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.5786, allocations: 164.2 kB / 477 MB, free: 2.859 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5786, allocations: 0 / 477 MB, free: 2.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001345/0.58, allocations: 0.5176 MB / 477.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006541/0.5807, allocations: 1.658 MB / 479.2 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.5807, allocations: 8 kB / 479.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005539/0.5813, allocations: 92.75 kB / 479.3 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/0.5819, allocations: 79.89 kB / 479.3 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/0.585, allocations: 1.842 MB / 481.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009053/0.586, allocations: 95.67 kB / 481.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-05/0.5861, allocations: 20 kB / 481.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.5861, allocations: 7.938 kB / 481.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001299/0.5874, allocations: 476.2 kB / 481.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.5874, allocations: 4 kB / 481.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/0.5878, allocations: 89.36 kB / 481.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/0.5884, allocations: 79.83 kB / 481.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/0.5911, allocations: 1.827 MB / 483.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/0.5918, allocations: 67.77 kB / 483.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.5919, allocations: 20 kB / 483.8 MB, free: 11.58 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (56): * Single equations (assignments): 55 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002706/0.5921, allocations: 151.9 kB / 484 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.5923, allocations: 51.34 kB / 484 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.5925, allocations: 60.81 kB / 484.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.5926, allocations: 8 kB / 484.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.5926, allocations: 3.953 kB / 484.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.5926, allocations: 3.984 kB / 484.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.5954, allocations: 1.222 MB / 485.3 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.5954, allocations: 0 / 485.3 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.5958, allocations: 43.95 kB / 485.4 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004157/0.5962, allocations: 80.75 kB / 485.5 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.5963, allocations: 12 kB / 485.5 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/0.599, allocations: 1.758 MB / 487.2 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.599, allocations: 0 / 487.2 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.6009, allocations: 0.7306 MB / 488 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/0.6013, allocations: 168.4 kB / 488.1 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.6014, allocations: 12 kB / 488.1 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005958/0.602, allocations: 43.95 kB / 488.2 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.6022, allocations: 59.88 kB / 488.2 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-05/0.6023, allocations: 8 kB / 488.2 MB, free: 6.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006075/0.6029, allocations: 309.2 kB / 488.5 MB, free: 6.625 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6029, allocations: 3.938 kB / 488.6 MB, free: 6.621 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001334/0.6043, allocations: 275.2 kB / 488.8 MB, free: 6.352 MB / 362.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: 18 (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_p.off,rectifier.thyristor_n.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_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.000289/0.6046, allocations: 133.4 kB / 489 MB, free: 6.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00236/0.607, allocations: 0.9112 MB / 489.9 MB, free: 5.277 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.607, allocations: 0 / 489.9 MB, free: 5.277 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008242/0.6079, allocations: 353.1 kB / 490.2 MB, free: 4.922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008298/0.6087, allocations: 88.45 kB / 490.3 MB, free: 4.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.6111, allocations: 0.7603 MB / 491.1 MB, free: 4.039 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.6117, allocations: 0.9177 MB / 492 MB, free: 3.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.612, allocations: 43.44 kB / 492 MB, free: 3.051 MB / 362.7 MB Notification: Performance of SimCode: time 3.486e-06/0.612, allocations: 3.938 kB / 492 MB, free: 3.047 MB / 362.7 MB Notification: Performance of Templates: time 0.02099/0.633, allocations: 9.352 MB / 0.4896 GB, free: 9.684 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_R/ThyristorCenterTap2Pulse_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches