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_RL.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001467, allocations: 182.1 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 1.973/1.973, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001049/0.001048, allocations: 86.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.096e-05, allocations: 0 / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0935/0.09357, allocations: 47.57 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4129/0.5065, allocations: 87.37 MB / 456.5 MB, free: 5.883 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/0.5069, allocations: 87.94 kB / 456.6 MB, free: 5.836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05468/0.5616, allocations: 12.97 MB / 469.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5616, allocations: 0 / 469.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.556e-05/0.5617, allocations: 12 kB / 469.5 MB, free: 10.71 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002137/0.5638, allocations: 0.8369 MB / 470.4 MB, free: 9.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.5639, allocations: 12.03 kB / 470.4 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.5641, allocations: 86.95 kB / 470.5 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.5653, allocations: 474 kB / 470.9 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.107e-05/0.5654, allocations: 49.31 kB / 471 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.5655, allocations: 60 kB / 471 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.5671, allocations: 0.6068 MB / 471.7 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.5672, allocations: 3.906 kB / 471.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.325e-05/0.5673, allocations: 31.92 kB / 471.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.5673, allocations: 12 kB / 471.7 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.5685, allocations: 437.1 kB / 472.1 MB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005478/0.574, allocations: 2.282 MB / 474.4 MB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.5755, allocations: 462.6 kB / 474.9 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007406/0.5763, allocations: 246.4 kB / 475.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.825e-05/0.5764, allocations: 7.984 kB / 475.1 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007125/0.5771, allocations: 292.8 kB / 475.4 MB, free: 4.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 3.306e-06/0.5771, allocations: 0 / 475.4 MB, free: 4.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.001276/0.5784, allocations: 429.4 kB / 475.8 MB, free: 4.152 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.5785, allocations: 136.5 kB / 476 MB, free: 3.988 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/0.5794, allocations: 411 kB / 476.4 MB, free: 3.586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.384e-05/0.5795, allocations: 41.69 kB / 476.4 MB, free: 3.539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.5798, allocations: 342.9 kB / 476.7 MB, free: 3.199 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.58, allocations: 138.1 kB / 476.9 MB, free: 3.062 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.58, allocations: 16 kB / 476.9 MB, free: 3.047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5802, allocations: 338.8 kB / 477.2 MB, free: 2.707 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.5806, allocations: 153 kB / 477.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/0.5813, allocations: 300.2 kB / 477.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/0.5817, allocations: 167.6 kB / 477.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5818, allocations: 0 / 477.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001359/0.5831, allocations: 0.517 MB / 478.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007021/0.5839, allocations: 1.654 MB / 480 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.5839, allocations: 4 kB / 480 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004963/0.5844, allocations: 92.8 kB / 480.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/0.5851, allocations: 95.78 kB / 480.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.5876, allocations: 1.741 MB / 481.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008594/0.5885, allocations: 87.55 kB / 482 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.5886, allocations: 24 kB / 482 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.5886, allocations: 7.938 kB / 482 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001313/0.5899, allocations: 480.2 kB / 482.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.59, allocations: 4 kB / 482.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003514/0.5903, allocations: 80.7 kB / 482.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/0.5909, allocations: 87.83 kB / 482.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.5933, allocations: 1.714 MB / 484.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.594, allocations: 75.7 kB / 484.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/0.594, allocations: 20.44 kB / 484.5 MB, free: 10.96 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 (61): * Single equations (assignments): 60 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002598/0.5943, allocations: 160 kB / 484.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.5945, allocations: 59.3 kB / 484.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.5947, allocations: 56.88 kB / 484.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.5947, allocations: 4 kB / 484.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5947, allocations: 4 kB / 484.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.5948, allocations: 3.984 kB / 484.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.5975, allocations: 1.252 MB / 486 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5975, allocations: 0 / 486 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004531/0.598, allocations: 47.97 kB / 486.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000353/0.5984, allocations: 72.75 kB / 486.1 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.5984, allocations: 11.98 kB / 486.1 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.6007, allocations: 1.644 MB / 487.8 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6007, allocations: 0 / 487.8 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.6026, allocations: 0.7498 MB / 488.5 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.603, allocations: 168.4 kB / 488.7 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.6031, allocations: 15.98 kB / 488.7 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.6037, allocations: 47.97 kB / 488.8 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.6039, allocations: 52.02 kB / 488.8 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.604, allocations: 23.97 kB / 488.8 MB, free: 6.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005815/0.6046, allocations: 305.2 kB / 489.1 MB, free: 6.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6046, allocations: 0 / 489.1 MB, free: 6.051 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001299/0.6059, allocations: 283.1 kB / 489.4 MB, free: 5.773 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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 (39): * Single equations (assignments): 33 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002452/0.6061, allocations: 126.5 kB / 489.5 MB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.6083, allocations: 0.916 MB / 490.5 MB, free: 4.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.6083, allocations: 0 / 490.5 MB, free: 4.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007101/0.609, allocations: 342.8 kB / 490.8 MB, free: 4.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007841/0.6098, allocations: 92.66 kB / 490.9 MB, free: 4.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.6123, allocations: 0.846 MB / 491.7 MB, free: 3.379 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007389/0.6131, allocations: 0.9183 MB / 492.6 MB, free: 2.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.6134, allocations: 43.44 kB / 492.7 MB, free: 2.391 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.6134, allocations: 0 / 492.7 MB, free: 2.391 MB / 362.7 MB Notification: Performance of Templates: time 0.02046/0.6339, allocations: 9.597 MB / 0.4905 GB, free: 8.781 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_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_RL/ThyristorCenterTap2Pulse_RL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches