Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001542/0.001542, allocations: 182.2 kB / 16.4 MB, free: 5.723 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.925/1.925, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001102/0.001102, allocations: 89.36 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003818, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3451, allocations: 47.57 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.481, allocations: 84.52 MB / 459.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/0.4814, allocations: 83.95 kB / 459.1 MB, free: 12.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04001/0.5214, allocations: 9.665 MB / 468.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5214, allocations: 0 / 468.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.726e-05/0.5215, allocations: 8 kB / 468.8 MB, free: 2.445 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.001856/0.5234, allocations: 0.7271 MB / 469.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.5234, allocations: 8.031 kB / 469.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.5236, allocations: 55.34 kB / 469.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007754/0.5244, allocations: 375.1 kB / 470 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.713e-05/0.5244, allocations: 36.94 kB / 470 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.5246, allocations: 40 kB / 470 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.5258, allocations: 462.9 kB / 470.5 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.5259, allocations: 0 / 470.5 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/0.5259, allocations: 16 kB / 470.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.526, allocations: 8 kB / 470.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.5271, allocations: 339.8 kB / 470.9 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003861/0.531, allocations: 1.558 MB / 472.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/0.5318, allocations: 249.5 kB / 472.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.5318, allocations: 0 / 472.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005899/0.5324, allocations: 221 kB / 472.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.184e-06/0.5325, allocations: 0 / 472.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001785/0.5343, allocations: 0.5034 MB / 473.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/0.5344, allocations: 110.8 kB / 473.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006426/0.535, allocations: 327.4 kB / 473.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.118e-05/0.5351, allocations: 41.64 kB / 473.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.5354, allocations: 290.6 kB / 474.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.5355, allocations: 86.8 kB / 474.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.5355, allocations: 8 kB / 474.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5357, allocations: 326.8 kB / 474.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.5361, allocations: 124.8 kB / 474.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.5367, allocations: 271.1 kB / 474.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.5372, allocations: 137.1 kB / 475.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.5372, allocations: 0 / 475.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001271/0.5385, allocations: 440.8 kB / 475.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007618/0.5393, allocations: 1.664 MB / 477.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.5393, allocations: 4 kB / 477.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003264/0.5396, allocations: 44.83 kB / 477.2 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/0.5401, allocations: 67.84 kB / 477.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.542, allocations: 1.506 MB / 478.8 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/0.5428, allocations: 79.7 kB / 478.9 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.5428, allocations: 16 kB / 478.9 MB, free: 7.754 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.5429, allocations: 8.734 kB / 478.9 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001063/0.5439, allocations: 360.5 kB / 479.2 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.544, allocations: 4 kB / 479.2 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002201/0.5442, allocations: 49.36 kB / 479.3 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.5446, allocations: 63.84 kB / 479.3 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.5466, allocations: 1.491 MB / 480.8 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/0.5471, allocations: 59.66 kB / 480.9 MB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.5472, allocations: 20 kB / 480.9 MB, free: 5.562 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.0005142/0.5477, allocations: 283.6 kB / 481.2 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.5479, allocations: 35.62 kB / 481.2 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.548, allocations: 36.06 kB / 481.3 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.548, allocations: 4 kB / 481.3 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.548, allocations: 0 / 481.3 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.548, allocations: 3.984 kB / 481.3 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.5501, allocations: 0.8424 MB / 482.1 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5502, allocations: 0 / 482.1 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.5504, allocations: 28.05 kB / 482.1 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002339/0.5507, allocations: 44.83 kB / 482.2 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.5507, allocations: 15.89 kB / 482.2 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.5525, allocations: 1.417 MB / 483.6 MB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.5526, allocations: 0 / 483.6 MB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.5541, allocations: 0.5283 MB / 484.1 MB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.5544, allocations: 140.6 kB / 484.3 MB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/0.5545, allocations: 4 kB / 484.3 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.555, allocations: 39.97 kB / 484.3 MB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.5551, allocations: 27.95 kB / 484.3 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.5552, allocations: 16.36 kB / 484.4 MB, free: 1.867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005239/0.5557, allocations: 243 kB / 484.6 MB, free: 1.633 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5557, allocations: 0 / 484.6 MB, free: 1.633 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001203/0.5569, allocations: 195.4 kB / 484.8 MB, free: 1.441 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.0002705/0.5572, allocations: 127.3 kB / 484.9 MB, free: 1.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.5592, allocations: 0.7217 MB / 485.6 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5592, allocations: 0 / 485.6 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000538/0.5597, allocations: 262.7 kB / 485.9 MB, free: 300 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.5603, allocations: 47.81 kB / 485.9 MB, free: 256 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.5628, allocations: 0.9691 MB / 486.9 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.5634, allocations: 0.8432 MB / 487.8 MB, free: 14.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.5636, allocations: 27.44 kB / 487.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of SimCode: time 3.296e-06/0.5636, allocations: 0 / 487.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of Templates: time 0.01594/0.5796, allocations: 6.599 MB / 494.4 MB, free: 7.766 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches