Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_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.001348/0.001348, allocations: 195.7 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 226.5 MB / 245.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007835/0.0007836, allocations: 99.33 kB / 297.4 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002171/0.0002171, allocations: 8 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.182, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09215/0.2741, allocations: 86.83 MB / 495.5 MB, free: 4.742 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.2744, allocations: 96.45 kB / 495.6 MB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02658/0.301, allocations: 10.68 MB / 0.4944 GB, free: 9.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.301, allocations: 0 / 0.4944 GB, free: 9.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.278e-05/0.3011, allocations: 12 kB / 0.4944 GB, free: 9.922 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.001231/0.3023, allocations: 0.7741 MB / 0.4952 GB, free: 9.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3023, allocations: 12.03 kB / 0.4952 GB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.3026, allocations: 76.11 kB / 0.4953 GB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.3031, allocations: 400.7 kB / 0.4957 GB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.3031, allocations: 37.38 kB / 0.4957 GB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/0.3032, allocations: 48.38 kB / 0.4957 GB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008875/0.3041, allocations: 0.512 MB / 0.4962 GB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.3041, allocations: 8.188 kB / 0.4962 GB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/0.3042, allocations: 23.94 kB / 0.4963 GB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.3042, allocations: 8 kB / 0.4963 GB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008119/0.305, allocations: 403.8 kB / 0.4967 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.3075, allocations: 1.674 MB / 0.4983 GB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009827/0.3085, allocations: 456.5 kB / 0.4987 GB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.3088, allocations: 156.8 kB / 0.4989 GB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.3088, allocations: 4 kB / 0.4989 GB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005127/0.3093, allocations: 296.1 kB / 0.4992 GB, free: 4.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.954e-06/0.3094, allocations: 0 / 0.4992 GB, free: 4.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001436/0.3108, allocations: 0.6608 MB / 0.4998 GB, free: 4.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.3109, allocations: 136.5 kB / 0.4999 GB, free: 4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.3112, allocations: 345.5 kB / 0.5003 GB, free: 3.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.3113, allocations: 37.7 kB / 0.5003 GB, free: 3.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.3115, allocations: 255.9 kB / 0.5005 GB, free: 3.352 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.171e-05/0.3115, allocations: 98.7 kB / 0.5006 GB, free: 3.254 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.3116, allocations: 4 kB / 0.5006 GB, free: 3.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3117, allocations: 350.8 kB / 0.501 GB, free: 2.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.312, allocations: 156.8 kB / 0.5011 GB, free: 2.746 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.3125, allocations: 315 kB / 0.5014 GB, free: 2.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006809/0.3132, allocations: 433.4 kB / 0.5018 GB, free: 1.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3132, allocations: 7.938 kB / 0.5018 GB, free: 1.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008897/0.3141, allocations: 0.5058 MB / 0.5023 GB, free: 1.367 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.3142, allocations: 216.4 kB / 0.5025 GB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3142, allocations: 4 kB / 0.5026 GB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/0.3144, allocations: 44.83 kB / 0.5026 GB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.3147, allocations: 87.83 kB / 0.5027 GB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1575/0.4722, allocations: 1.493 MB / 0.5041 GB, free: 92.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.4727, allocations: 70.97 kB / 0.5042 GB, free: 92.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.4728, allocations: 17.97 kB / 0.5042 GB, free: 92.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/0.4728, allocations: 3.781 kB / 0.5042 GB, free: 92.66 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009206/0.4737, allocations: 430.6 kB / 0.5046 GB, free: 92.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4737, allocations: 4.656 kB / 0.5046 GB, free: 92.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.4739, allocations: 46.06 kB / 0.5047 GB, free: 92.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.4742, allocations: 77.25 kB / 0.5048 GB, free: 92.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008758/0.4751, allocations: 1.496 MB / 0.5062 GB, free: 91.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.4754, allocations: 61.08 kB / 0.5063 GB, free: 91.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.4755, allocations: 20.16 kB / 0.5063 GB, free: 91.32 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.0002983/0.4758, allocations: 284 kB / 0.5066 GB, free: 91.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.4758, allocations: 42.31 kB / 0.5066 GB, free: 91.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.838e-05/0.4759, allocations: 41.05 kB / 0.5066 GB, free: 91.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4759, allocations: 3.531 kB / 0.5067 GB, free: 91.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4759, allocations: 0.5625 kB / 0.5067 GB, free: 91.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.476, allocations: 3.906 kB / 0.5067 GB, free: 91.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.4773, allocations: 0.9841 MB / 0.5076 GB, free: 90.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4773, allocations: 5.219 kB / 0.5076 GB, free: 90.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.4775, allocations: 44.56 kB / 0.5077 GB, free: 90.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/0.4777, allocations: 41.73 kB / 0.5077 GB, free: 90.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.4777, allocations: 7.078 kB / 0.5077 GB, free: 90.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007913/0.4785, allocations: 1.414 MB / 0.5091 GB, free: 89.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4785, allocations: 2.375 kB / 0.5091 GB, free: 89.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.4796, allocations: 0.6867 MB / 0.5098 GB, free: 89.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.4797, allocations: 147.2 kB / 0.5099 GB, free: 89.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.4798, allocations: 11.78 kB / 0.5099 GB, free: 89.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.4801, allocations: 50.33 kB / 0.51 GB, free: 89.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.779e-05/0.4802, allocations: 34.42 kB / 0.51 GB, free: 89.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.4802, allocations: 16 kB / 0.51 GB, free: 89.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002377/0.4805, allocations: 235.2 kB / 0.5102 GB, free: 89.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4805, allocations: 3.812 kB / 0.5102 GB, free: 89.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007558/0.4812, allocations: 210.8 kB / 0.5104 GB, free: 89.21 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.0001547/0.4814, allocations: 129.4 kB / 0.5106 GB, free: 89.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.4829, allocations: 0.8351 MB / 0.5114 GB, free: 88.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4829, allocations: 4.156 kB / 0.5114 GB, free: 88.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004599/0.4834, allocations: 308.5 kB / 0.5117 GB, free: 88.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.4838, allocations: 70.12 kB / 0.5117 GB, free: 88.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.4851, allocations: 1.091 MB / 0.5128 GB, free: 88.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.4853, allocations: 0.8517 MB / 0.5136 GB, free: 87.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.4854, allocations: 32.84 kB / 0.5137 GB, free: 87.48 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4854, allocations: 0 / 0.5137 GB, free: 87.48 MB / 378.7 MB Notification: Performance of Templates: time 0.006737/0.4922, allocations: 7.486 MB / 0.521 GB, free: 86.92 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches