Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 171.9 kB / 14.1 MB, free: 1.219 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.532/1.532, allocations: 205.2 MB / 219.8 MB, free: 14.28 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.000818/0.0008185, allocations: 82.67 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.626e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09606, allocations: 47.58 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/0.4363, allocations: 88.08 MB / 458.1 MB, free: 5.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.4366, allocations: 89 kB / 458.2 MB, free: 5.219 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03653/0.4731, allocations: 14.21 MB / 472.4 MB, free: 8.422 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4732, allocations: 0 / 472.4 MB, free: 8.422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.827e-05/0.4732, allocations: 27.88 kB / 472.4 MB, free: 8.395 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001554/0.4748, allocations: 0.8894 MB / 473.3 MB, free: 7.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.4748, allocations: 16.02 kB / 473.3 MB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.475, allocations: 90.92 kB / 473.4 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007592/0.4758, allocations: 0.4908 MB / 473.9 MB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/0.4758, allocations: 61.94 kB / 474 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.4759, allocations: 72 kB / 474.1 MB, free: 6.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.4771, allocations: 0.7109 MB / 474.8 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.4771, allocations: 7.906 kB / 474.8 MB, free: 5.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.4772, allocations: 24 kB / 474.8 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.4772, allocations: 16 kB / 474.8 MB, free: 5.895 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008645/0.4781, allocations: 0.505 MB / 475.3 MB, free: 5.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/0.4819, allocations: 2.701 MB / 478 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.483, allocations: 0.5912 MB / 478.6 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007874/0.4838, allocations: 414 kB / 479 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.393e-05/0.4838, allocations: 8.438 kB / 479 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005458/0.4844, allocations: 354.2 kB / 479.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=58): time 2.034e-06/0.4844, allocations: 0 / 479.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.000966/0.4853, allocations: 0.5391 MB / 479.9 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/0.4854, allocations: 123.3 kB / 480 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005159/0.486, allocations: 439.7 kB / 480.5 MB, free: 60 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/0.486, allocations: 49.69 kB / 480.5 MB, free: 4 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.4863, allocations: 320.3 kB / 480.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.4865, allocations: 181.4 kB / 481 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.4865, allocations: 20 kB / 481 MB, free: 15.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4867, allocations: 366.8 kB / 481.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.487, allocations: 193.5 kB / 481.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.4874, allocations: 345.5 kB / 481.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.4878, allocations: 203.2 kB / 482.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4878, allocations: 3.984 kB / 482.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001096/0.4889, allocations: 0.6916 MB / 482.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005822/0.4895, allocations: 1.574 MB / 484.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4895, allocations: 4 kB / 484.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005031/0.49, allocations: 165.6 kB / 484.5 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.4904, allocations: 95.83 kB / 484.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003447/0.4939, allocations: 3.591 MB / 488.2 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000563/0.4944, allocations: 91.67 kB / 488.3 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.4945, allocations: 28 kB / 488.3 MB, free: 7.688 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.4945, allocations: 4 kB / 488.3 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001037/0.4956, allocations: 0.6163 MB / 489 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4956, allocations: 4 kB / 489 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003942/0.496, allocations: 169.7 kB / 489.1 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.4963, allocations: 91.81 kB / 489.2 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003328/0.4996, allocations: 3.59 MB / 492.8 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.5001, allocations: 79.5 kB / 492.9 MB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.5002, allocations: 20 kB / 492.9 MB, free: 2.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,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_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002518/0.5004, allocations: 173.5 kB / 493.1 MB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.5006, allocations: 59.25 kB / 493.1 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.5008, allocations: 73.55 kB / 493.2 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.5008, allocations: 8 kB / 493.2 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5008, allocations: 3.938 kB / 493.2 MB, free: 2.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.5008, allocations: 0 / 493.2 MB, free: 2.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.5029, allocations: 1.415 MB / 494.6 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5029, allocations: 0 / 494.6 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.5032, allocations: 51.91 kB / 494.7 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003839/0.5036, allocations: 157.6 kB / 494.8 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.5036, allocations: 15.98 kB / 494.8 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003186/0.5068, allocations: 3.516 MB / 498.4 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5068, allocations: 4.031 kB / 498.4 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.5083, allocations: 0.9444 MB / 499.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.5086, allocations: 188.3 kB / 499.5 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.511e-05/0.5086, allocations: 16 kB / 499.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.509, allocations: 39.97 kB / 499.6 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.5092, allocations: 84.38 kB / 499.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.5092, allocations: 16 kB / 499.6 MB, free: 11.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004096/0.5096, allocations: 329.6 kB / 500 MB, free: 11.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5096, allocations: 0 / 500 MB, free: 11.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001169/0.5108, allocations: 351 kB / 0.4886 GB, free: 11.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002144/0.511, allocations: 145.1 kB / 0.4887 GB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001938/0.513, allocations: 1.383 MB / 0.4901 GB, free: 9.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.513, allocations: 0 / 0.4901 GB, free: 9.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006507/0.5136, allocations: 0.544 MB / 0.4906 GB, free: 8.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.5142, allocations: 103.2 kB / 0.4907 GB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.516, allocations: 0.9972 MB / 0.4917 GB, free: 7.754 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.5165, allocations: 0.9592 MB / 0.4926 GB, free: 6.766 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003957/0.5169, allocations: 112.9 kB / 0.4927 GB, free: 6.652 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.19e-05/0.517, allocations: 39.53 kB / 0.4928 GB, free: 6.613 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.517, allocations: 3.938 kB / 0.4928 GB, free: 6.609 MB / 378.7 MB Notification: Performance of Templates: time 0.01797/0.535, allocations: 11.02 MB / 0.5035 GB, free: 11.57 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV/ThyristorBridge2Pulse_RLV.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches