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_Characteristic.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_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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.395/1.395, allocations: 223.2 MB / 240.3 MB, free: 10.17 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.0009594/0.0009591, allocations: 99.08 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000243/0.000243, allocations: 11.98 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2517, allocations: 50.41 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.3651, allocations: 86.04 MB / 487.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.3654, allocations: 83.95 kB / 487.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02806/0.3934, allocations: 10.53 MB / 498.2 MB, free: 15.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3935, allocations: 0 / 498.2 MB, free: 15.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.28e-05/0.3935, allocations: 12 kB / 498.2 MB, free: 15.75 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.001377/0.3949, allocations: 0.7729 MB / 499 MB, free: 14.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3949, allocations: 15.95 kB / 499 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.395, allocations: 55.34 kB / 499 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.3956, allocations: 379.8 kB / 499.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.3957, allocations: 33 kB / 499.4 MB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-05/0.3958, allocations: 51.94 kB / 499.5 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009064/0.3967, allocations: 0.5115 MB / 500 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3967, allocations: 3.906 kB / 500 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/0.3968, allocations: 23.92 kB / 0.4883 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.3968, allocations: 8 kB / 0.4883 GB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007812/0.3976, allocations: 411.7 kB / 0.4887 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.4003, allocations: 1.666 MB / 0.4903 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.4013, allocations: 454.8 kB / 0.4908 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.4014, allocations: 4 kB / 0.4908 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005712/0.402, allocations: 284.3 kB / 0.491 GB, free: 10.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.294e-06/0.402, allocations: 4 kB / 0.491 GB, free: 10.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001569/0.4036, allocations: 0.664 MB / 0.4917 GB, free: 10.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.4037, allocations: 136.5 kB / 0.4918 GB, free: 10.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.4041, allocations: 283.6 kB / 0.4921 GB, free: 9.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.4041, allocations: 45.69 kB / 0.4921 GB, free: 9.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.4044, allocations: 244 kB / 0.4924 GB, free: 9.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.315e-05/0.4045, allocations: 94.7 kB / 0.4925 GB, free: 9.352 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.4045, allocations: 8 kB / 0.4925 GB, free: 9.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4047, allocations: 350.8 kB / 0.4928 GB, free: 8.992 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.405, allocations: 152.8 kB / 0.4929 GB, free: 8.844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.4055, allocations: 311.7 kB / 0.4932 GB, free: 8.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.4059, allocations: 172.4 kB / 0.4934 GB, free: 8.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4059, allocations: 0 / 0.4934 GB, free: 8.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009566/0.4068, allocations: 0.5175 MB / 0.4939 GB, free: 7.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000808/0.4076, allocations: 1.658 MB / 0.4955 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.4077, allocations: 4 kB / 0.4955 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.4079, allocations: 44.83 kB / 0.4956 GB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.4083, allocations: 83.83 kB / 0.4957 GB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.41, allocations: 1.502 MB / 0.4971 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.4104, allocations: 75.98 kB / 0.4972 GB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.4105, allocations: 20 kB / 0.4972 GB, free: 4.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.4105, allocations: 6.812 kB / 0.4972 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008664/0.4114, allocations: 436.6 kB / 0.4976 GB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.4114, allocations: 4 kB / 0.4976 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001332/0.4115, allocations: 48.78 kB / 0.4977 GB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.4119, allocations: 83.77 kB / 0.4978 GB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.4134, allocations: 1.503 MB / 0.4992 GB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.4138, allocations: 63.72 kB / 0.4993 GB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.4138, allocations: 20 kB / 0.4993 GB, free: 1.836 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.0005703/0.4144, allocations: 285.1 kB / 0.4996 GB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.4145, allocations: 31.62 kB / 0.4996 GB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.4146, allocations: 39.95 kB / 0.4997 GB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.4146, allocations: 4 kB / 0.4997 GB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4146, allocations: 4 kB / 0.4997 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.4147, allocations: 3.984 kB / 0.4997 GB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.4165, allocations: 0.9801 MB / 0.5006 GB, free: 436 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.4165, allocations: 368 / 0.5006 GB, free: 436 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.4167, allocations: 55.91 kB / 0.5007 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/0.4169, allocations: 44.81 kB / 0.5007 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.4169, allocations: 8 kB / 0.5007 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2474/0.6644, allocations: 1.414 MB / 0.5021 GB, free: 96.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6644, allocations: 1.25 kB / 0.5021 GB, free: 96.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.666, allocations: 0.6817 MB / 0.5028 GB, free: 96.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.6662, allocations: 138.3 kB / 0.5029 GB, free: 96.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.6662, allocations: 13.69 kB / 0.5029 GB, free: 96.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.6666, allocations: 47.39 kB / 0.503 GB, free: 96.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.6667, allocations: 34.59 kB / 0.503 GB, free: 96.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.6667, allocations: 16.48 kB / 0.503 GB, free: 96.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002995/0.6671, allocations: 223.1 kB / 0.5032 GB, free: 96.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6671, allocations: 3.031 kB / 0.5032 GB, free: 96.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009626/0.668, allocations: 209.3 kB / 0.5034 GB, free: 96.52 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.0001899/0.6682, allocations: 127.9 kB / 0.5036 GB, free: 96.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.6699, allocations: 0.838 MB / 0.5044 GB, free: 96.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.6699, allocations: 1.75 kB / 0.5044 GB, free: 96.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004874/0.6704, allocations: 308.5 kB / 0.5047 GB, free: 96.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.6708, allocations: 63.17 kB / 0.5047 GB, free: 96.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.6728, allocations: 1.05 MB / 0.5058 GB, free: 95.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.6733, allocations: 0.8658 MB / 0.5066 GB, free: 94.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002988/0.6736, allocations: 74.36 kB / 0.5067 GB, free: 94.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.433e-05/0.6737, allocations: 35.8 kB / 0.5067 GB, free: 94.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.643e-06/0.6737, allocations: 0 / 0.5067 GB, free: 94.89 MB / 378.7 MB Notification: Performance of Templates: time 0.008764/0.6825, allocations: 5.09 MB / 0.5117 GB, free: 94.75 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches