Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.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_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001033/0.001033, allocations: 198.9 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.198/1.198, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008409/0.0008409, allocations: 105.3 kB / 297.3 MB, free: 6.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002379/0.0002379, allocations: 4 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2087, allocations: 51.48 MB / 409.4 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09931/0.3081, allocations: 86.86 MB / 496.3 MB, free: 3.781 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.3084, allocations: 87.94 kB / 496.4 MB, free: 3.695 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02726/0.3356, allocations: 10.69 MB / 0.4952 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3357, allocations: 0 / 0.4952 GB, free: 8.969 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.958e-05/0.3357, allocations: 8 kB / 0.4952 GB, free: 8.961 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001452/0.3372, allocations: 0.7817 MB / 0.4959 GB, free: 8.125 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3372, allocations: 8.031 kB / 0.496 GB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.3375, allocations: 71.27 kB / 0.496 GB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.3382, allocations: 395.6 kB / 0.4964 GB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.3382, allocations: 36.98 kB / 0.4964 GB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.257e-05/0.3383, allocations: 44 kB / 0.4965 GB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009175/0.3392, allocations: 0.5114 MB / 0.497 GB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.3393, allocations: 3.938 kB / 0.497 GB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/0.3393, allocations: 20 kB / 0.497 GB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3393, allocations: 12 kB / 0.497 GB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000835/0.3402, allocations: 407.7 kB / 0.4974 GB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/0.3429, allocations: 1.67 MB / 0.499 GB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.3439, allocations: 461.1 kB / 0.4995 GB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.3439, allocations: 4 kB / 0.4995 GB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005383/0.3445, allocations: 295.8 kB / 0.4998 GB, free: 4.047 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 3.306e-06/0.3445, allocations: 3.984 kB / 0.4998 GB, free: 4.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001443/0.3459, allocations: 0.6602 MB / 0.5004 GB, free: 3.355 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.346, allocations: 132.5 kB / 0.5005 GB, free: 3.195 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.3464, allocations: 308.7 kB / 0.5008 GB, free: 2.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.3464, allocations: 37.7 kB / 0.5009 GB, free: 2.848 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.3466, allocations: 256 kB / 0.5011 GB, free: 2.594 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/0.3467, allocations: 94.7 kB / 0.5012 GB, free: 2.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.3467, allocations: 12 kB / 0.5012 GB, free: 2.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3469, allocations: 346.8 kB / 0.5015 GB, free: 2.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.3472, allocations: 160.8 kB / 0.5017 GB, free: 1.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.3477, allocations: 310.8 kB / 0.502 GB, free: 1.613 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.3481, allocations: 179 kB / 0.5022 GB, free: 1.441 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3482, allocations: 3.938 kB / 0.5022 GB, free: 1.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009339/0.3491, allocations: 0.5141 MB / 0.5027 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1705/0.5196, allocations: 1.647 MB / 0.5043 GB, free: 92.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.5196, allocations: 6.938 kB / 0.5043 GB, free: 92.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003475/0.52, allocations: 47.58 kB / 0.5043 GB, free: 92.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.5205, allocations: 84.48 kB / 0.5044 GB, free: 92.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.5219, allocations: 1.506 MB / 0.5059 GB, free: 91.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/0.5224, allocations: 74.81 kB / 0.5059 GB, free: 91.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.5225, allocations: 18.72 kB / 0.506 GB, free: 91.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.5225, allocations: 4.062 kB / 0.506 GB, free: 91.02 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009651/0.5235, allocations: 427.2 kB / 0.5064 GB, free: 91.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.5235, allocations: 4.594 kB / 0.5064 GB, free: 91.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.5237, allocations: 47.42 kB / 0.5064 GB, free: 91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.524, allocations: 72.94 kB / 0.5065 GB, free: 91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.5251, allocations: 1.507 MB / 0.508 GB, free: 89.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/0.5255, allocations: 64.02 kB / 0.508 GB, free: 89.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.5256, allocations: 17.81 kB / 0.508 GB, free: 89.68 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 (49): * Single equations (assignments): 48 * 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.0003797/0.526, allocations: 285.3 kB / 0.5083 GB, free: 89.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.018e-05/0.5261, allocations: 42.64 kB / 0.5084 GB, free: 89.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.997e-05/0.5262, allocations: 41.42 kB / 0.5084 GB, free: 89.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5262, allocations: 3.906 kB / 0.5084 GB, free: 89.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5262, allocations: 0 / 0.5084 GB, free: 89.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.5262, allocations: 3.109 kB / 0.5084 GB, free: 89.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.5278, allocations: 0.9867 MB / 0.5094 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5278, allocations: 0 / 0.5094 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.5281, allocations: 50.31 kB / 0.5094 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/0.5283, allocations: 39.67 kB / 0.5095 GB, free: 89.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.5283, allocations: 7.266 kB / 0.5095 GB, free: 89.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009209/0.5292, allocations: 1.43 MB / 0.5109 GB, free: 87.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.5292, allocations: 2.453 kB / 0.5109 GB, free: 87.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.5304, allocations: 0.6802 MB / 0.5115 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.5306, allocations: 145.8 kB / 0.5117 GB, free: 87.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.5306, allocations: 9.344 kB / 0.5117 GB, free: 87.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/0.531, allocations: 49.97 kB / 0.5117 GB, free: 87.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.5311, allocations: 38.77 kB / 0.5118 GB, free: 87.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.5311, allocations: 11.03 kB / 0.5118 GB, free: 87.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002506/0.5314, allocations: 233.9 kB / 0.512 GB, free: 87.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5314, allocations: 0 / 0.512 GB, free: 87.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008619/0.5323, allocations: 208.9 kB / 0.5122 GB, free: 87.53 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 (30): * Single equations (assignments): 24 * 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.0001766/0.5324, allocations: 139.4 kB / 0.5123 GB, free: 87.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.5343, allocations: 0.8419 MB / 0.5131 GB, free: 87.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5343, allocations: 0 / 0.5131 GB, free: 87.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004605/0.5347, allocations: 313.4 kB / 0.5134 GB, free: 87.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.5351, allocations: 66.55 kB / 0.5135 GB, free: 87.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.5368, allocations: 1.052 MB / 0.5145 GB, free: 86.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.537, allocations: 0.8689 MB / 0.5154 GB, free: 85.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002447/0.5373, allocations: 77 kB / 0.5155 GB, free: 85.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.359e-05/0.5374, allocations: 30.22 kB / 0.5155 GB, free: 85.75 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5374, allocations: 4 kB / 0.5155 GB, free: 85.75 MB / 378.7 MB Notification: Performance of Templates: time 0.008431/0.5458, allocations: 5.161 MB / 0.5205 GB, free: 85.51 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_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_Characteristic/Thyristor1Pulse_R_Characteristic.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches