Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_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.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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002025/0.002026, allocations: 181.8 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.004/2.004, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00107/0.00107, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.823e-05/2.85e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09245/0.0925, allocations: 47.58 MB / 369.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4019/0.4945, allocations: 84.42 MB / 453.5 MB, free: 8.816 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.4949, allocations: 78.33 kB / 453.6 MB, free: 8.773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04061/0.5355, allocations: 9.642 MB / 463.2 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5355, allocations: 0 / 463.2 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.927e-05/0.5356, allocations: 8 kB / 463.3 MB, free: 0.5977 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001649/0.5372, allocations: 0.6829 MB / 463.9 MB, free: 15.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5373, allocations: 8.031 kB / 463.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.5375, allocations: 51.44 kB / 464 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007661/0.5383, allocations: 372.4 kB / 464.4 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.5383, allocations: 36.02 kB / 464.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.5384, allocations: 43.53 kB / 464.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.5395, allocations: 437.9 kB / 464.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.5396, allocations: 0 / 464.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.375e-05/0.5396, allocations: 15.44 kB / 464.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.5397, allocations: 8 kB / 464.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000789/0.5405, allocations: 295.1 kB / 465.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003851/0.5443, allocations: 1.562 MB / 466.7 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/0.5451, allocations: 231 kB / 467 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.5453, allocations: 89.25 kB / 467 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.5454, allocations: 3.859 kB / 467.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005255/0.5459, allocations: 224.8 kB / 467.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.796e-06/0.5459, allocations: 0 / 467.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.001354/0.5473, allocations: 294.5 kB / 467.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.5475, allocations: 110.8 kB / 467.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009102/0.5484, allocations: 302.6 kB / 468 MB, free: 12.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.875e-05/0.5485, allocations: 41.69 kB / 468 MB, free: 12.01 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.5488, allocations: 294.5 kB / 468.3 MB, free: 11.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.5489, allocations: 82.89 kB / 468.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.5489, allocations: 8 kB / 468.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.5491, allocations: 322.8 kB / 468.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.5494, allocations: 104.9 kB / 468.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.5498, allocations: 247.1 kB / 469 MB, free: 10.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.5502, allocations: 134 kB / 469.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.5502, allocations: 0 / 469.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000997/0.5512, allocations: 384.5 kB / 469.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006307/0.5518, allocations: 1.666 MB / 471.2 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.5519, allocations: 4 kB / 471.2 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003104/0.5522, allocations: 44.83 kB / 471.3 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.5527, allocations: 67.84 kB / 471.3 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.5544, allocations: 1.495 MB / 472.8 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006959/0.5552, allocations: 75.7 kB / 472.9 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.5552, allocations: 23.95 kB / 472.9 MB, free: 6.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.5552, allocations: 7.938 kB / 472.9 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008719/0.5561, allocations: 340.3 kB / 473.3 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.5561, allocations: 4 kB / 473.3 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/0.5564, allocations: 48.83 kB / 473.3 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.5567, allocations: 60.39 kB / 473.4 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.5584, allocations: 1.487 MB / 474.9 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.5589, allocations: 63.84 kB / 474.9 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.559, allocations: 20 kB / 474.9 MB, free: 4.574 MB / 346.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (46): * Single equations (assignments): 45 * 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.000217/0.5592, allocations: 143.5 kB / 475.1 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.5593, allocations: 35.61 kB / 475.1 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.5595, allocations: 44.19 kB / 475.2 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.5595, allocations: 4 kB / 475.2 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5595, allocations: 0 / 475.2 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5595, allocations: 0 / 475.2 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.5613, allocations: 0.823 MB / 476 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.5613, allocations: 4 kB / 476 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.5616, allocations: 19.98 kB / 476 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002101/0.5618, allocations: 40.84 kB / 476 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.5618, allocations: 11.94 kB / 476.1 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.5634, allocations: 1.413 MB / 477.5 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5635, allocations: 3.938 kB / 477.5 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.5646, allocations: 0.4963 MB / 478 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.5649, allocations: 136.7 kB / 478.1 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/0.565, allocations: 12.06 kB / 478.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/0.5654, allocations: 35.97 kB / 478.2 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.5656, allocations: 27.95 kB / 478.2 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.5656, allocations: 11.98 kB / 478.2 MB, free: 1.074 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004013/0.566, allocations: 234.2 kB / 478.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5661, allocations: 4 kB / 478.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001058/0.5671, allocations: 191.4 kB / 478.6 MB, free: 0.6562 MB / 346.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (25): * Single equations (assignments): 19 * 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.0002206/0.5674, allocations: 122.9 kB / 478.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.5689, allocations: 0.6852 MB / 479.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.5689, allocations: 0 / 479.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004613/0.5694, allocations: 243.7 kB / 479.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.5699, allocations: 53.81 kB / 479.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.5719, allocations: 0.5752 MB / 480.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.5724, allocations: 0.835 MB / 481.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.5726, allocations: 35.38 kB / 481.2 MB, free: 14 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5726, allocations: 0 / 481.2 MB, free: 14 MB / 362.7 MB Notification: Performance of Templates: time 0.01433/0.5869, allocations: 6.609 MB / 487.8 MB, free: 7.395 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_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/Rectifier1Pulse/Thyristor1Pulse_R/Thyristor1Pulse_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches