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.001419/0.001419, allocations: 201.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008423/0.0008423, allocations: 92.72 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.871e-05, allocations: 4 kB / 343.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09502/0.09506, allocations: 51.48 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3239/0.419, allocations: 86.12 MB / 481.3 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.4192, allocations: 87.69 kB / 481.4 MB, free: 7.035 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02385/0.4431, allocations: 10.57 MB / 492 MB, free: 14.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4431, allocations: 0 / 492 MB, free: 14.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.378e-05/0.4432, allocations: 8 kB / 492 MB, free: 14.27 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001175/0.4443, allocations: 0.7313 MB / 492.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4444, allocations: 12.03 kB / 492.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.4447, allocations: 67.34 kB / 492.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.4451, allocations: 386.2 kB / 493.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.4452, allocations: 23.59 kB / 493.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.4453, allocations: 29.84 kB / 493.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004782/0.4457, allocations: 307.2 kB / 493.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/0.4464, allocations: 422.7 kB / 493.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.4464, allocations: 7.906 kB / 493.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.4464, allocations: 0 / 493.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.4465, allocations: 15.98 kB / 493.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002243/0.4487, allocations: 1.582 MB / 495.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007188/0.4494, allocations: 374.6 kB / 495.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.4496, allocations: 113.5 kB / 496 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.4496, allocations: 2.938 kB / 496 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003333/0.45, allocations: 242.9 kB / 496.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.433e-06/0.45, allocations: 0 / 496.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005887/0.4506, allocations: 322.6 kB / 496.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.4507, allocations: 135.8 kB / 496.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.4509, allocations: 275.6 kB / 497 MB, free: 9.992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.451, allocations: 32.81 kB / 497 MB, free: 9.957 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.4511, allocations: 257.9 kB / 497.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.4512, allocations: 99.72 kB / 497.3 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/0.4512, allocations: 3.312 kB / 497.3 MB, free: 9.668 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4514, allocations: 344.9 kB / 497.7 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.4515, allocations: 109.4 kB / 497.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.4518, allocations: 262.2 kB / 498 MB, free: 9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.452, allocations: 130.7 kB / 498.2 MB, free: 8.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.452, allocations: 4 kB / 498.2 MB, free: 8.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000537/0.4525, allocations: 397.9 kB / 498.6 MB, free: 8.598 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005122/0.453, allocations: 1.656 MB / 0.4885 GB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.453, allocations: 5.969 kB / 0.4885 GB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.4532, allocations: 47.84 kB / 0.4885 GB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.4535, allocations: 79.2 kB / 0.4886 GB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.4547, allocations: 1.451 MB / 0.49 GB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.455, allocations: 63.73 kB / 0.4901 GB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.4551, allocations: 15.69 kB / 0.4901 GB, free: 5.168 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.4551, allocations: 4 kB / 0.4901 GB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004676/0.4556, allocations: 319.6 kB / 0.4904 GB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4556, allocations: 4 kB / 0.4904 GB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/0.4557, allocations: 43.22 kB / 0.4905 GB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.456, allocations: 75.52 kB / 0.4905 GB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.4571, allocations: 1.454 MB / 0.492 GB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.4573, allocations: 55.78 kB / 0.492 GB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.4574, allocations: 15.19 kB / 0.492 GB, free: 3.277 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_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 (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.0001487/0.4575, allocations: 141.1 kB / 0.4922 GB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.4576, allocations: 39.53 kB / 0.4922 GB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.997e-05/0.4577, allocations: 36.56 kB / 0.4922 GB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.4577, allocations: 4 kB / 0.4922 GB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.4577, allocations: 0 / 0.4922 GB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4577, allocations: 7.984 kB / 0.4922 GB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.4587, allocations: 0.8168 MB / 0.493 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4588, allocations: 1.875 kB / 0.493 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.459, allocations: 47.91 kB / 0.4931 GB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.4591, allocations: 43.02 kB / 0.4931 GB, free: 2.309 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.4591, allocations: 4 kB / 0.4931 GB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009788/0.4601, allocations: 1.366 MB / 0.4945 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4601, allocations: 0 / 0.4945 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.4608, allocations: 0.5511 MB / 0.495 GB, free: 496 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.461, allocations: 137.5 kB / 0.4951 GB, free: 356 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.461, allocations: 4 kB / 0.4951 GB, free: 352 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.4613, allocations: 44.02 kB / 0.4952 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.4614, allocations: 30.83 kB / 0.4952 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.4615, allocations: 15.8 kB / 0.4952 GB, free: 272 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00019/0.4617, allocations: 210.2 kB / 0.4954 GB, free: 104 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4617, allocations: 0 / 0.4954 GB, free: 104 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007123/0.4624, allocations: 191.2 kB / 0.4956 GB, free: 15.91 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 (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.0001903/0.4626, allocations: 124.2 kB / 0.4957 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008861/0.4635, allocations: 0.6935 MB / 0.4964 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4635, allocations: 0 / 0.4964 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.4638, allocations: 263.4 kB / 0.4967 GB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.4641, allocations: 53.58 kB / 0.4967 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.4653, allocations: 0.62 MB / 0.4973 GB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.4657, allocations: 0.8626 MB / 0.4982 GB, free: 13.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000299/0.466, allocations: 95.47 kB / 0.4983 GB, free: 13.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.4661, allocations: 26.62 kB / 0.4983 GB, free: 13.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4661, allocations: 0 / 0.4983 GB, free: 13.41 MB / 378.7 MB Notification: Performance of Templates: time 0.009221/0.4753, allocations: 5.141 MB / 0.5033 GB, free: 8.395 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