Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 181 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008957/0.0008953, allocations: 92.97 kB / 291.5 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 11.94 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3429, allocations: 50.4 MB / 401.5 MB, free: 32.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1663/0.5093, allocations: 85.86 MB / 487.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004327/0.5098, allocations: 83.95 kB / 487.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03426/0.5441, allocations: 10.4 MB / 497.8 MB, free: 144 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5442, allocations: 3.938 kB / 497.9 MB, free: 140 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.68e-05/0.5443, allocations: 16 kB / 497.9 MB, free: 124 kB / 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.001403/0.5457, allocations: 0.7504 MB / 498.6 MB, free: 15.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.5457, allocations: 8.031 kB / 498.6 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.5458, allocations: 51.44 kB / 498.7 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.5465, allocations: 387 kB / 499.1 MB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.5465, allocations: 37 kB / 499.1 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/0.5466, allocations: 40 kB / 499.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008459/0.5474, allocations: 499.8 kB / 499.6 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.5475, allocations: 7.938 kB / 499.6 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.5475, allocations: 16 kB / 499.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.5476, allocations: 11.94 kB / 499.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/0.5482, allocations: 367.8 kB / 0.4883 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002703/0.5509, allocations: 1.65 MB / 0.4899 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006082/0.5516, allocations: 293.5 kB / 0.4902 GB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.5516, allocations: 8 kB / 0.4902 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000421/0.552, allocations: 233.4 kB / 0.4904 GB, free: 11.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.5521, allocations: 0 / 0.4904 GB, free: 11.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.001222/0.5533, allocations: 0.538 MB / 0.4909 GB, free: 11.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.639e-05/0.5534, allocations: 140.5 kB / 0.4911 GB, free: 10.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004747/0.5539, allocations: 328.8 kB / 0.4914 GB, free: 10.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.5539, allocations: 41.69 kB / 0.4914 GB, free: 10.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.5541, allocations: 252.3 kB / 0.4917 GB, free: 10.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.679e-05/0.5542, allocations: 90.8 kB / 0.4918 GB, free: 10.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.5542, allocations: 8 kB / 0.4918 GB, free: 10.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5544, allocations: 350.7 kB / 0.4921 GB, free: 9.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.5546, allocations: 140.8 kB / 0.4922 GB, free: 9.633 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.555, allocations: 287.8 kB / 0.4925 GB, free: 9.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.5553, allocations: 147.9 kB / 0.4926 GB, free: 9.133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.5553, allocations: 4 kB / 0.4927 GB, free: 9.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008239/0.5562, allocations: 478.5 kB / 0.4931 GB, free: 8.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007604/0.5569, allocations: 1.659 MB / 0.4947 GB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.557, allocations: 4 kB / 0.4947 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002842/0.5573, allocations: 52.83 kB / 0.4948 GB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.5576, allocations: 67.84 kB / 0.4948 GB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.559, allocations: 1.514 MB / 0.4963 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.5595, allocations: 75.7 kB / 0.4964 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.5595, allocations: 20 kB / 0.4964 GB, free: 5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.5595, allocations: 4 kB / 0.4964 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006222/0.5601, allocations: 392.6 kB / 0.4968 GB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5602, allocations: 7.938 kB / 0.4968 GB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.5603, allocations: 44.83 kB / 0.4968 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.5605, allocations: 67.84 kB / 0.4969 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.5618, allocations: 1.495 MB / 0.4984 GB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.5622, allocations: 71.66 kB / 0.4984 GB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.5622, allocations: 19.94 kB / 0.4985 GB, free: 2.77 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.0003935/0.5626, allocations: 288.1 kB / 0.4987 GB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.5627, allocations: 35.62 kB / 0.4988 GB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.159e-05/0.5628, allocations: 40.06 kB / 0.4988 GB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5628, allocations: 4 kB / 0.4988 GB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5628, allocations: 4 kB / 0.4988 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.5628, allocations: 3.984 kB / 0.4988 GB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.5641, allocations: 0.8903 MB / 0.4997 GB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.5642, allocations: 0 / 0.4997 GB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.5643, allocations: 35.92 kB / 0.4997 GB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001448/0.5645, allocations: 40.83 kB / 0.4998 GB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.5645, allocations: 4 kB / 0.4998 GB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2625/0.827, allocations: 1.421 MB / 0.5011 GB, free: 97.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8271, allocations: 0.5938 kB / 0.5011 GB, free: 97.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.8285, allocations: 0.5583 MB / 0.5017 GB, free: 97.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.8287, allocations: 144.8 kB / 0.5018 GB, free: 97.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.8288, allocations: 10.06 kB / 0.5018 GB, free: 97.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.8291, allocations: 37.78 kB / 0.5019 GB, free: 97.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.8292, allocations: 32.59 kB / 0.5019 GB, free: 97.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.8292, allocations: 11.75 kB / 0.5019 GB, free: 97.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004035/0.8296, allocations: 259.4 kB / 0.5022 GB, free: 96.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8296, allocations: 0 / 0.5022 GB, free: 96.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009989/0.8306, allocations: 203.1 kB / 0.5024 GB, free: 96.93 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.0002256/0.8309, allocations: 129 kB / 0.5025 GB, free: 96.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.8323, allocations: 0.7588 MB / 0.5032 GB, free: 96.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8323, allocations: 0 / 0.5032 GB, free: 96.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.8327, allocations: 264.1 kB / 0.5035 GB, free: 96.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.833, allocations: 55.78 kB / 0.5035 GB, free: 96.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.8346, allocations: 0.9932 MB / 0.5045 GB, free: 96.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.8351, allocations: 0.8665 MB / 0.5053 GB, free: 95.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003165/0.8354, allocations: 73.94 kB / 0.5054 GB, free: 95.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.054e-05/0.8355, allocations: 33.36 kB / 0.5054 GB, free: 95.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.8355, allocations: 0 / 0.5054 GB, free: 95.32 MB / 378.7 MB Notification: Performance of Templates: time 0.008365/0.8439, allocations: 4.918 MB / 0.5103 GB, free: 95.19 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches