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.001427/0.001427, allocations: 177.1 kB / 13.64 MB, free: 1.672 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.34/1.34, allocations: 221.4 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008075/0.0008075, allocations: 90.34 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.12e-05, allocations: 4 kB / 343.8 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09038/0.09042, allocations: 50.41 MB / 394.3 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2741/0.3645, allocations: 85.79 MB / 480 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.3648, allocations: 87.78 kB / 480.1 MB, free: 1.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02821/0.393, allocations: 10.38 MB / 490.5 MB, free: 7.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.393, allocations: 0 / 490.5 MB, free: 7.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.203e-05/0.3931, allocations: 16 kB / 490.5 MB, free: 7.266 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001293/0.3944, allocations: 0.6884 MB / 491.2 MB, free: 6.531 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3944, allocations: 15.97 kB / 491.2 MB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.3946, allocations: 55.34 kB / 491.3 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/0.3952, allocations: 379.1 kB / 491.7 MB, free: 6.055 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/0.3953, allocations: 37 kB / 491.7 MB, free: 6.016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.555e-05/0.3954, allocations: 47.98 kB / 491.7 MB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009205/0.3963, allocations: 467.9 kB / 492.2 MB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.3963, allocations: 3.906 kB / 492.2 MB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-05/0.3964, allocations: 16 kB / 492.2 MB, free: 5.477 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.3964, allocations: 12 kB / 492.2 MB, free: 5.465 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006161/0.3971, allocations: 323.8 kB / 492.5 MB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.3995, allocations: 1.646 MB / 494.2 MB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.4, allocations: 297.1 kB / 494.5 MB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.4002, allocations: 100.8 kB / 494.6 MB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.4003, allocations: 4 kB / 494.6 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/0.4006, allocations: 229 kB / 494.8 MB, free: 2.762 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.4006, allocations: 0 / 494.8 MB, free: 2.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006153/0.4012, allocations: 325.8 kB / 495.1 MB, free: 2.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.4013, allocations: 140.5 kB / 495.3 MB, free: 2.266 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.4017, allocations: 307.5 kB / 495.6 MB, free: 1.953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.4017, allocations: 49.69 kB / 495.6 MB, free: 1.898 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.4019, allocations: 248.4 kB / 495.8 MB, free: 1.648 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.402, allocations: 90.7 kB / 495.9 MB, free: 1.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.402, allocations: 12 kB / 495.9 MB, free: 1.547 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4021, allocations: 346.8 kB / 496.3 MB, free: 1.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.4023, allocations: 112.8 kB / 496.4 MB, free: 1.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.4026, allocations: 268.2 kB / 496.7 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.4028, allocations: 135.9 kB / 496.8 MB, free: 0.625 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4029, allocations: 3.938 kB / 496.8 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006285/0.4035, allocations: 429.8 kB / 497.2 MB, free: 196 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006389/0.4041, allocations: 1.664 MB / 498.9 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4042, allocations: 7.938 kB / 498.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/0.4044, allocations: 40.84 kB / 498.9 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.4046, allocations: 75.83 kB / 499 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.4059, allocations: 1.491 MB / 0.4888 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.4063, allocations: 83.61 kB / 0.4888 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.4064, allocations: 16.14 kB / 0.4889 GB, free: 12.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.4064, allocations: 7.953 kB / 0.4889 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005523/0.4069, allocations: 372.3 kB / 0.4892 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.407, allocations: 4 kB / 0.4892 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.4071, allocations: 40.84 kB / 0.4893 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.4073, allocations: 68.38 kB / 0.4893 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.4085, allocations: 1.487 MB / 0.4908 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.4088, allocations: 63.81 kB / 0.4908 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.4088, allocations: 12 kB / 0.4909 GB, free: 10.37 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 () * 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.0001577/0.409, allocations: 151.9 kB / 0.491 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.4091, allocations: 39.52 kB / 0.491 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.828e-05/0.4092, allocations: 44.19 kB / 0.4911 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4092, allocations: 4 kB / 0.4911 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4092, allocations: 0 / 0.4911 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4092, allocations: 0 / 0.4911 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.4105, allocations: 0.8739 MB / 0.4919 GB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4106, allocations: 4 kB / 0.4919 GB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.4107, allocations: 32.02 kB / 0.492 GB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/0.4109, allocations: 44.81 kB / 0.492 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.4109, allocations: 8 kB / 0.492 GB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.4121, allocations: 1.413 MB / 0.4934 GB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4121, allocations: 0 / 0.4934 GB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007422/0.4129, allocations: 0.5359 MB / 0.4939 GB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.413, allocations: 144.6 kB / 0.4941 GB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.4131, allocations: 8.062 kB / 0.4941 GB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.4134, allocations: 39.97 kB / 0.4941 GB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.926e-05/0.4135, allocations: 32.14 kB / 0.4941 GB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.4135, allocations: 15.98 kB / 0.4942 GB, free: 6.742 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002702/0.4138, allocations: 242.1 kB / 0.4944 GB, free: 6.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4138, allocations: 4 kB / 0.4944 GB, free: 6.504 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008132/0.4146, allocations: 199.4 kB / 0.4946 GB, free: 6.309 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 (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.0001821/0.4148, allocations: 128.9 kB / 0.4947 GB, free: 6.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.4159, allocations: 0.7197 MB / 0.4954 GB, free: 5.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.4159, allocations: 11.94 kB / 0.4954 GB, free: 5.414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.4162, allocations: 239.7 kB / 0.4956 GB, free: 5.168 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.4166, allocations: 65.44 kB / 0.4957 GB, free: 5.102 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.4178, allocations: 0.5967 MB / 0.4963 GB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.4182, allocations: 0.8662 MB / 0.4971 GB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003229/0.4185, allocations: 91.19 kB / 0.4972 GB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.4186, allocations: 27.44 kB / 0.4972 GB, free: 3.477 MB / 378.7 MB Notification: Performance of SimCode: time 4.3e-07/0.4186, allocations: 3.938 kB / 0.4973 GB, free: 3.473 MB / 378.7 MB Notification: Performance of Templates: time 0.01016/0.4288, allocations: 5.33 MB / 0.5025 GB, free: 14.2 MB / 394.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