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.0009943/0.0009943, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008048/0.0008048, allocations: 92.16 kB / 292.1 MB, free: 5.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.3e-05/4.303e-05, allocations: 4 kB / 350.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/0.09601, allocations: 51.48 MB / 402 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3147/0.4107, allocations: 86.6 MB / 488.6 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.411, allocations: 95.42 kB / 488.7 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0259/0.4369, allocations: 10.51 MB / 499.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4369, allocations: 1.031 kB / 499.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.764e-05/0.437, allocations: 16 kB / 499.3 MB, free: 10.01 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001055/0.438, allocations: 0.7031 MB / 500 MB, free: 9.266 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4381, allocations: 16.02 kB / 500 MB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.4383, allocations: 71.34 kB / 0.4883 GB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.4388, allocations: 377.4 kB / 0.4887 GB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.4389, allocations: 40.61 kB / 0.4887 GB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/0.439, allocations: 47.98 kB / 0.4888 GB, free: 8.688 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007169/0.4397, allocations: 464 kB / 0.4892 GB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4397, allocations: 8 kB / 0.4892 GB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.4398, allocations: 20 kB / 0.4892 GB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.4398, allocations: 10.25 kB / 0.4893 GB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/0.4403, allocations: 319.8 kB / 0.4896 GB, free: 7.867 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.4427, allocations: 1.657 MB / 0.4912 GB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005263/0.4432, allocations: 279.2 kB / 0.4914 GB, free: 5.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.4434, allocations: 104.8 kB / 0.4915 GB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.4434, allocations: 8 kB / 0.4916 GB, free: 5.727 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003523/0.4438, allocations: 240.8 kB / 0.4918 GB, free: 5.473 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.4438, allocations: 0 / 0.4918 GB, free: 5.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005837/0.4444, allocations: 313.9 kB / 0.4921 GB, free: 5.156 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.4445, allocations: 140.5 kB / 0.4922 GB, free: 4.988 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.4448, allocations: 327.4 kB / 0.4925 GB, free: 4.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.4449, allocations: 33.7 kB / 0.4926 GB, free: 4.621 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.4451, allocations: 256.4 kB / 0.4928 GB, free: 4.363 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.4451, allocations: 94.73 kB / 0.4929 GB, free: 4.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.4452, allocations: 4 kB / 0.4929 GB, free: 4.266 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4453, allocations: 350.8 kB / 0.4932 GB, free: 3.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.4455, allocations: 116.8 kB / 0.4933 GB, free: 3.797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.4457, allocations: 271.7 kB / 0.4936 GB, free: 3.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.4459, allocations: 131.9 kB / 0.4937 GB, free: 3.332 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.446, allocations: 4 kB / 0.4937 GB, free: 3.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000589/0.4465, allocations: 431 kB / 0.4941 GB, free: 2.902 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005089/0.4471, allocations: 1.662 MB / 0.4958 GB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.4471, allocations: 5.5 kB / 0.4958 GB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.4473, allocations: 48.83 kB / 0.4958 GB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.4475, allocations: 67.91 kB / 0.4959 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.4487, allocations: 1.504 MB / 0.4974 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.4491, allocations: 75.55 kB / 0.4974 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.4491, allocations: 24.06 kB / 0.4974 GB, free: 15.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/0.4492, allocations: 4 kB / 0.4975 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005214/0.4497, allocations: 365.5 kB / 0.4978 GB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4497, allocations: 8.062 kB / 0.4978 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.4498, allocations: 48.83 kB / 0.4979 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.45, allocations: 63.91 kB / 0.4979 GB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.4511, allocations: 1.495 MB / 0.4994 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.4514, allocations: 51.81 kB / 0.4994 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.4514, allocations: 24.19 kB / 0.4994 GB, free: 13.08 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 () * 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.0001288/0.4515, allocations: 144 kB / 0.4996 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.4516, allocations: 43.47 kB / 0.4996 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.209e-05/0.4517, allocations: 41.25 kB / 0.4997 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4517, allocations: 4 kB / 0.4997 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.4517, allocations: 0 / 0.4997 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.4517, allocations: 7.938 kB / 0.4997 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.4529, allocations: 0.8893 MB / 0.5005 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4529, allocations: 0 / 0.5005 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.4531, allocations: 23.98 kB / 0.5006 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.4532, allocations: 36.84 kB / 0.5006 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.4532, allocations: 7.984 kB / 0.5006 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.4542, allocations: 1.406 MB / 0.502 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4542, allocations: 0 / 0.502 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006859/0.4549, allocations: 0.5593 MB / 0.5025 GB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.4551, allocations: 144.6 kB / 0.5027 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.4551, allocations: 8 kB / 0.5027 GB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.4554, allocations: 39.97 kB / 0.5027 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.4555, allocations: 31.95 kB / 0.5027 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.4555, allocations: 11.98 kB / 0.5028 GB, free: 9.441 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002483/0.4558, allocations: 244.7 kB / 0.503 GB, free: 9.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4558, allocations: 0 / 0.503 GB, free: 9.203 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006816/0.4565, allocations: 207.4 kB / 0.5032 GB, free: 9 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) * 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.0001711/0.4567, allocations: 128.8 kB / 0.5033 GB, free: 8.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009421/0.4576, allocations: 0.7238 MB / 0.504 GB, free: 8.125 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4576, allocations: 4.25 kB / 0.504 GB, free: 8.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.4579, allocations: 262.4 kB / 0.5043 GB, free: 7.852 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.4583, allocations: 55.19 kB / 0.5043 GB, free: 7.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.4594, allocations: 0.6019 MB / 0.5049 GB, free: 7.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.4597, allocations: 0.873 MB / 0.5058 GB, free: 6.281 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002936/0.46, allocations: 95.47 kB / 0.5059 GB, free: 6.191 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.4601, allocations: 23.44 kB / 0.5059 GB, free: 6.168 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4601, allocations: 0 / 0.5059 GB, free: 6.168 MB / 378.7 MB Notification: Performance of Templates: time 0.009807/0.4699, allocations: 5.43 MB / 0.5112 GB, free: 0.8477 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