Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 172.8 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008534/0.0008537, allocations: 86.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.916e-05, allocations: 0 / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.09862, allocations: 47.57 MB / 370 MB, free: 1.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3465/0.4452, allocations: 84.42 MB / 454.5 MB, free: 8.906 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.4455, allocations: 81.88 kB / 454.5 MB, free: 8.859 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02539/0.4709, allocations: 9.647 MB / 464.2 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.471, allocations: 0 / 464.2 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.899e-05/0.471, allocations: 8 kB / 464.2 MB, free: 0.6797 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001121/0.4721, allocations: 0.6791 MB / 464.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.4722, allocations: 12.03 kB / 464.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.4723, allocations: 51.44 kB / 464.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.4729, allocations: 370.9 kB / 465.3 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.4729, allocations: 32.78 kB / 465.3 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/0.473, allocations: 47.84 kB / 465.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007346/0.4737, allocations: 427.7 kB / 465.8 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.4738, allocations: 4 kB / 465.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.4738, allocations: 20 kB / 465.8 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.4738, allocations: 8 kB / 465.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.4743, allocations: 291 kB / 466.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.4767, allocations: 1.556 MB / 467.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.4771, allocations: 239 kB / 467.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.4773, allocations: 89.23 kB / 468 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.4773, allocations: 7.859 kB / 468 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003684/0.4777, allocations: 224.9 kB / 468.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.973e-06/0.4777, allocations: 0 / 468.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005915/0.4783, allocations: 290.5 kB / 468.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.4784, allocations: 118.8 kB / 468.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.4787, allocations: 306.6 kB / 468.9 MB, free: 11.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.4788, allocations: 41.7 kB / 468.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.479, allocations: 240 kB / 469.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.69e-05/0.479, allocations: 82.89 kB / 469.3 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.4791, allocations: 12 kB / 469.3 MB, free: 11.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4792, allocations: 346.8 kB / 469.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.4794, allocations: 96.86 kB / 469.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.4796, allocations: 255.1 kB / 470 MB, free: 10.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.4798, allocations: 118 kB / 470.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.4799, allocations: 4 kB / 470.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005828/0.4804, allocations: 408.4 kB / 470.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006308/0.4811, allocations: 1.659 MB / 472.1 MB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.4811, allocations: 4 kB / 472.1 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002241/0.4813, allocations: 48.84 kB / 472.2 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.4816, allocations: 67.83 kB / 472.3 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.4828, allocations: 1.487 MB / 473.7 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.4832, allocations: 71.72 kB / 473.8 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.4833, allocations: 31.88 kB / 473.8 MB, free: 6.414 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.4833, allocations: 4 kB / 473.8 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005049/0.4838, allocations: 340.4 kB / 474.2 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4838, allocations: 4 kB / 474.2 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000118/0.4839, allocations: 44.84 kB / 474.2 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.4841, allocations: 63.84 kB / 474.3 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.4852, allocations: 1.492 MB / 475.8 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.4855, allocations: 63.72 kB / 475.8 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.4855, allocations: 16 kB / 475.9 MB, free: 4.258 MB / 346.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (46): * Single equations (assignments): 45 * 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.0001481/0.4857, allocations: 147.5 kB / 476 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.4858, allocations: 35.56 kB / 476 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.638e-05/0.4859, allocations: 36.19 kB / 476.1 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.4859, allocations: 8 kB / 476.1 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4859, allocations: 0 / 476.1 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4859, allocations: 3.984 kB / 476.1 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.487, allocations: 0.8268 MB / 476.9 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.487, allocations: 128 / 476.9 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.4871, allocations: 23.98 kB / 476.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.4873, allocations: 44.84 kB / 477 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.4873, allocations: 11.94 kB / 477 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.4883, allocations: 1.413 MB / 478.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4883, allocations: 0 / 478.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/0.489, allocations: 0.4964 MB / 478.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.4892, allocations: 128.7 kB / 479 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.4892, allocations: 11.98 kB / 479 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.4895, allocations: 43.97 kB / 479.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.4896, allocations: 27.95 kB / 479.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.4897, allocations: 12.19 kB / 479.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002593/0.4899, allocations: 230.2 kB / 479.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4899, allocations: 0 / 479.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007199/0.4907, allocations: 199.4 kB / 479.5 MB, free: 340 kB / 346.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (25): * Single equations (assignments): 19 * 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.0001837/0.4908, allocations: 134.9 kB / 479.7 MB, free: 192 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009787/0.4918, allocations: 0.6915 MB / 480.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4919, allocations: 0 / 480.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.4921, allocations: 234.5 kB / 480.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.4925, allocations: 54.02 kB / 480.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.4936, allocations: 0.5618 MB / 481.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.494, allocations: 0.8469 MB / 482.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002762/0.4943, allocations: 83.48 kB / 482.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.4943, allocations: 27.42 kB / 482.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4943, allocations: 0 / 482.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of Templates: time 0.009315/0.5037, allocations: 5.062 MB / 487.2 MB, free: 8.551 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R/Thyristor1Pulse_R.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches