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.001045/0.001045, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.28/1.28, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0007389/0.0007388, allocations: 86.42 kB / 272.5 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002979, allocations: 8 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1956, allocations: 47.59 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08729/0.2829, allocations: 84.6 MB / 461.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.2831, allocations: 87.95 kB / 461.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02574/0.3089, allocations: 9.666 MB / 471.4 MB, free: 2.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3089, allocations: 0 / 471.4 MB, free: 2.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.857e-05/0.309, allocations: 16 kB / 471.4 MB, free: 2.16 MB / 346.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.001182/0.3102, allocations: 0.7194 MB / 472.1 MB, free: 1.387 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3102, allocations: 12.03 kB / 472.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.3103, allocations: 52.28 kB / 472.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.3108, allocations: 384.2 kB / 472.6 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.3109, allocations: 29.38 kB / 472.6 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.122e-05/0.311, allocations: 40.38 kB / 472.6 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.3121, allocations: 463.5 kB / 473.1 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.3121, allocations: 4.094 kB / 473.1 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.3121, allocations: 19.94 kB / 473.1 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3122, allocations: 15.98 kB / 473.1 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006534/0.3128, allocations: 335.8 kB / 473.5 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.3152, allocations: 1.562 MB / 475 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.3156, allocations: 239.8 kB / 475.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.3158, allocations: 100.8 kB / 475.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3159, allocations: 7.859 kB / 475.4 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003595/0.3162, allocations: 228.9 kB / 475.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.814e-06/0.3162, allocations: 0 / 475.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001047/0.3173, allocations: 0.5034 MB / 476.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.3174, allocations: 118.8 kB / 476.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.3178, allocations: 356.4 kB / 476.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.3178, allocations: 33.7 kB / 476.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.318, allocations: 240.1 kB / 476.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/0.3181, allocations: 86.89 kB / 476.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/0.3181, allocations: 8 kB / 476.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3182, allocations: 346.8 kB / 477.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.3185, allocations: 124.8 kB / 477.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.3189, allocations: 274.5 kB / 477.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/0.3194, allocations: 353.4 kB / 478 MB, free: 11.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3194, allocations: 4 kB / 478 MB, free: 11.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008481/0.3203, allocations: 457.8 kB / 478.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001592/0.3205, allocations: 216.4 kB / 478.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3205, allocations: 4 kB / 478.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000213/0.3207, allocations: 44.83 kB / 478.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.3209, allocations: 67.84 kB / 478.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.3223, allocations: 1.502 MB / 480.3 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.3227, allocations: 75.7 kB / 480.3 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.3228, allocations: 20 kB / 480.4 MB, free: 8.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.3228, allocations: 4 kB / 480.4 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006631/0.3235, allocations: 360.5 kB / 480.7 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3235, allocations: 4 kB / 480.7 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.3236, allocations: 48.95 kB / 480.8 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.3238, allocations: 64.38 kB / 480.8 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.3251, allocations: 1.491 MB / 482.3 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.3254, allocations: 67.72 kB / 482.4 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.3254, allocations: 16 kB / 482.4 MB, free: 6.383 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,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 () * Number of clocked 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.0003207/0.3258, allocations: 279.1 kB / 482.7 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.3258, allocations: 31.62 kB / 482.7 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.244e-05/0.3259, allocations: 40.06 kB / 482.7 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.326, allocations: 4 kB / 482.8 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.326, allocations: 0 / 482.8 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.326, allocations: 3.984 kB / 482.8 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.3273, allocations: 0.8427 MB / 483.6 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3273, allocations: 0 / 483.6 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.3274, allocations: 23.92 kB / 483.6 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001309/0.3276, allocations: 44.78 kB / 483.7 MB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.3276, allocations: 11.92 kB / 483.7 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.3289, allocations: 1.409 MB / 485.1 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3289, allocations: 0 / 485.1 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007858/0.3297, allocations: 0.5244 MB / 485.6 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.3298, allocations: 136.7 kB / 485.7 MB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.3299, allocations: 4.094 kB / 485.8 MB, free: 2.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.3302, allocations: 40.16 kB / 485.8 MB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.3303, allocations: 35.88 kB / 485.8 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.3303, allocations: 16 kB / 485.8 MB, free: 2.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003108/0.3306, allocations: 247 kB / 486.1 MB, free: 2.465 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3306, allocations: 3.938 kB / 486.1 MB, free: 2.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007402/0.3314, allocations: 195.4 kB / 486.3 MB, free: 2.27 MB / 362.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) * Number of clocked states: 0 () * 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.0001952/0.3316, allocations: 123 kB / 486.4 MB, free: 2.141 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.3329, allocations: 0.7165 MB / 487.1 MB, free: 1.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3329, allocations: 1.312 kB / 487.1 MB, free: 1.398 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.3333, allocations: 258.4 kB / 487.4 MB, free: 1.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.3337, allocations: 54 kB / 487.4 MB, free: 1.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.3352, allocations: 0.9415 MB / 488.4 MB, free: 112 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.3357, allocations: 0.8311 MB / 489.2 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002611/0.336, allocations: 71.41 kB / 489.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/0.336, allocations: 31.38 kB / 489.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.336, allocations: 0 / 489.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of Templates: time 0.009321/0.3454, allocations: 4.699 MB / 494 MB, free: 10.48 MB / 378.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/jenkins1/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