Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 227.2 MB / 245 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007981/0.0007981, allocations: 103.8 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002286/0.0002287, allocations: 11.98 kB / 358 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2224, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1034/0.3258, allocations: 86.66 MB / 496.1 MB, free: 3.957 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/0.3263, allocations: 89.19 kB / 496.2 MB, free: 3.871 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02821/0.3545, allocations: 10.55 MB / 0.4949 GB, free: 9.285 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3545, allocations: 0 / 0.4949 GB, free: 9.285 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.687e-05/0.3546, allocations: 11.98 kB / 0.4949 GB, free: 9.273 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00145/0.356, allocations: 0.766 MB / 0.4956 GB, free: 8.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3561, allocations: 8.031 kB / 0.4956 GB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.3564, allocations: 79.2 kB / 0.4957 GB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006187/0.357, allocations: 383.6 kB / 0.4961 GB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.3571, allocations: 33 kB / 0.4961 GB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.926e-05/0.3571, allocations: 48 kB / 0.4961 GB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008276/0.358, allocations: 495.7 kB / 0.4966 GB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.358, allocations: 3.984 kB / 0.4966 GB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.3581, allocations: 20 kB / 0.4966 GB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.3581, allocations: 12 kB / 0.4966 GB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000689/0.3588, allocations: 367.7 kB / 0.497 GB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002725/0.3615, allocations: 1.65 MB / 0.4986 GB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.3621, allocations: 296.9 kB / 0.4989 GB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.3622, allocations: 4 kB / 0.4989 GB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003998/0.3626, allocations: 244.9 kB / 0.4991 GB, free: 4.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.624e-06/0.3626, allocations: 0 / 0.4991 GB, free: 4.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.001151/0.3637, allocations: 0.5353 MB / 0.4997 GB, free: 4.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.3639, allocations: 136.5 kB / 0.4998 GB, free: 3.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.3643, allocations: 340.7 kB / 0.5001 GB, free: 3.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.3643, allocations: 41.69 kB / 0.5001 GB, free: 3.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.3645, allocations: 256.3 kB / 0.5004 GB, free: 3.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.3646, allocations: 90.8 kB / 0.5005 GB, free: 3.223 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.3646, allocations: 12 kB / 0.5005 GB, free: 3.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3648, allocations: 346.8 kB / 0.5008 GB, free: 2.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.365, allocations: 132.8 kB / 0.5009 GB, free: 2.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.3654, allocations: 295.7 kB / 0.5012 GB, free: 2.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.3657, allocations: 159 kB / 0.5014 GB, free: 2.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3657, allocations: 0 / 0.5014 GB, free: 2.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007923/0.3665, allocations: 482 kB / 0.5018 GB, free: 1.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1751/0.5416, allocations: 1.657 MB / 0.5035 GB, free: 93.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/0.5417, allocations: 5.031 kB / 0.5035 GB, free: 93.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003747/0.5421, allocations: 45.91 kB / 0.5035 GB, free: 93.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.5425, allocations: 70.36 kB / 0.5036 GB, free: 93.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.5439, allocations: 1.506 MB / 0.505 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.5444, allocations: 77 kB / 0.5051 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.082e-05/0.5445, allocations: 19.39 kB / 0.5051 GB, free: 91.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5446, allocations: 6.125 kB / 0.5051 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009076/0.5455, allocations: 392.5 kB / 0.5055 GB, free: 91.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.5455, allocations: 5.219 kB / 0.5055 GB, free: 91.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.5456, allocations: 49.16 kB / 0.5056 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.5459, allocations: 65.53 kB / 0.5056 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.5469, allocations: 1.504 MB / 0.5071 GB, free: 90.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.5473, allocations: 63.92 kB / 0.5072 GB, free: 90.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.5474, allocations: 17 kB / 0.5072 GB, free: 90.5 MB / 378.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: 21 ($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,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003515/0.5477, allocations: 288.1 kB / 0.5075 GB, free: 90.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.5479, allocations: 38.86 kB / 0.5075 GB, free: 90.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.548, allocations: 43.2 kB / 0.5075 GB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.548, allocations: 4.25 kB / 0.5075 GB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.548, allocations: 0 / 0.5075 GB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.548, allocations: 1.875 kB / 0.5075 GB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.5496, allocations: 0.8978 MB / 0.5084 GB, free: 89.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5496, allocations: 2.734 kB / 0.5084 GB, free: 89.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.5498, allocations: 31.42 kB / 0.5084 GB, free: 89.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/0.5499, allocations: 38.69 kB / 0.5085 GB, free: 89.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.55, allocations: 8.922 kB / 0.5085 GB, free: 89.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009225/0.5509, allocations: 1.423 MB / 0.5099 GB, free: 88.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5509, allocations: 1.375 kB / 0.5099 GB, free: 88.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008192/0.5517, allocations: 0.572 MB / 0.5104 GB, free: 88.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.5519, allocations: 141.9 kB / 0.5106 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.552, allocations: 6.062 kB / 0.5106 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.5523, allocations: 42.33 kB / 0.5106 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.5524, allocations: 32.67 kB / 0.5107 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.5524, allocations: 12.55 kB / 0.5107 GB, free: 88.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003342/0.5527, allocations: 263.7 kB / 0.5109 GB, free: 88.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.5528, allocations: 0 / 0.5109 GB, free: 88.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008583/0.5536, allocations: 213.6 kB / 0.5111 GB, free: 88.34 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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000177/0.5538, allocations: 132.8 kB / 0.5112 GB, free: 88.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.5551, allocations: 0.751 MB / 0.512 GB, free: 87.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5551, allocations: 4.156 kB / 0.512 GB, free: 87.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.5555, allocations: 262.5 kB / 0.5122 GB, free: 87.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.5559, allocations: 51.66 kB / 0.5123 GB, free: 87.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.5575, allocations: 1.011 MB / 0.5133 GB, free: 87.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.5578, allocations: 0.8624 MB / 0.5141 GB, free: 86.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002484/0.5581, allocations: 79.69 kB / 0.5142 GB, free: 86.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/0.5582, allocations: 29.66 kB / 0.5142 GB, free: 86.66 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5582, allocations: 0 / 0.5142 GB, free: 86.66 MB / 378.7 MB Notification: Performance of Templates: time 0.008196/0.5664, allocations: 4.998 MB / 0.5191 GB, free: 86.44 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R/Thyristor1Pulse_R.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches