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_Characteristic.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_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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001686/0.001686, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.897/1.897, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001096/0.001096, allocations: 92.36 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003728, allocations: 8 kB / 327 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3262, allocations: 47.57 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.134/0.4603, allocations: 84.72 MB / 459.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/0.4607, allocations: 91.89 kB / 459.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04325/0.5039, allocations: 9.772 MB / 469.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.504, allocations: 0 / 469.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.674e-05/0.5041, allocations: 8 kB / 469.1 MB, free: 2.141 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002299/0.5064, allocations: 0.7505 MB / 469.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.5065, allocations: 11.97 kB / 469.9 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.5066, allocations: 63.28 kB / 470 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008424/0.5075, allocations: 371.1 kB / 470.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.962e-05/0.5076, allocations: 32.98 kB / 470.4 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.5077, allocations: 44 kB / 470.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.5092, allocations: 482.9 kB / 470.9 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.5093, allocations: 3.906 kB / 470.9 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/0.5093, allocations: 19.98 kB / 470.9 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.5094, allocations: 8 kB / 470.9 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.5109, allocations: 375.8 kB / 471.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00434/0.5152, allocations: 1.585 MB / 472.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.5171, allocations: 417.8 kB / 473.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.833e-05/0.5172, allocations: 240 / 473.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000881/0.5181, allocations: 281 kB / 473.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.645e-06/0.5181, allocations: 0 / 473.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.002511/0.5206, allocations: 0.6199 MB / 474.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.977e-05/0.5208, allocations: 118.8 kB / 474.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005043/0.5213, allocations: 283.6 kB / 474.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.193e-05/0.5214, allocations: 37.7 kB / 474.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.5216, allocations: 294.6 kB / 474.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.5218, allocations: 94.64 kB / 475 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.5218, allocations: 8 kB / 475 MB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.522, allocations: 322.8 kB / 475.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/0.5226, allocations: 148.8 kB / 475.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007112/0.5233, allocations: 290.8 kB / 475.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006002/0.5239, allocations: 159.9 kB / 475.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.5239, allocations: 0 / 475.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001543/0.5255, allocations: 474.8 kB / 476.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007509/0.5263, allocations: 1.667 MB / 478 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.5263, allocations: 8 kB / 478 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003257/0.5266, allocations: 40.84 kB / 478.1 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.5273, allocations: 83.83 kB / 478.1 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.5293, allocations: 1.499 MB / 479.6 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006623/0.53, allocations: 71.64 kB / 479.7 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.53, allocations: 20 kB / 479.7 MB, free: 6.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.5301, allocations: 0.9375 kB / 479.7 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/0.5316, allocations: 408.8 kB / 480.1 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.5316, allocations: 4 kB / 480.1 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/0.5318, allocations: 40.84 kB / 480.2 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.5323, allocations: 79.77 kB / 480.2 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.5342, allocations: 1.495 MB / 481.7 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006972/0.535, allocations: 67.72 kB / 481.8 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.535, allocations: 12 kB / 481.8 MB, free: 4.672 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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0004876/0.5355, allocations: 279.2 kB / 482.1 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.5357, allocations: 35.62 kB / 482.1 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.5358, allocations: 43.95 kB / 482.2 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.5358, allocations: 4 kB / 482.2 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5358, allocations: 0 / 482.2 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.5358, allocations: 3.984 kB / 482.2 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.5382, allocations: 0.9292 MB / 483.1 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5383, allocations: 0 / 483.1 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.5387, allocations: 43.97 kB / 483.2 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/0.5389, allocations: 44.89 kB / 483.2 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.539, allocations: 11.98 kB / 483.2 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.5407, allocations: 1.425 MB / 484.6 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5408, allocations: 0 / 484.6 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.5429, allocations: 0.6441 MB / 485.3 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.5432, allocations: 132.6 kB / 485.4 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.5433, allocations: 8 kB / 485.4 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.5438, allocations: 47.95 kB / 485.5 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.544, allocations: 39.94 kB / 485.5 MB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.544, allocations: 7.984 kB / 485.5 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003916/0.5444, allocations: 219.1 kB / 485.7 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5444, allocations: 0 / 485.7 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001098/0.5455, allocations: 199.3 kB / 485.9 MB, free: 344 kB / 362.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 22 * 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.0002307/0.5458, allocations: 127.5 kB / 486 MB, free: 208 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.5482, allocations: 0.7956 MB / 486.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.5482, allocations: 0 / 486.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008284/0.5491, allocations: 300 kB / 487.1 MB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.5497, allocations: 56 kB / 487.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.5523, allocations: 1.014 MB / 488.2 MB, free: 13.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.5529, allocations: 0.8473 MB / 489 MB, free: 13.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.5531, allocations: 27.44 kB / 489.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5532, allocations: 0 / 489.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of Templates: time 0.01547/0.5686, allocations: 6.751 MB / 495.8 MB, free: 6.336 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_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_Characteristic/Thyristor1Pulse_R_Characteristic.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches