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.0009173/0.0009173, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008456/0.0008455, allocations: 86.7 kB / 262.5 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.179e-05/1.207e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08056/0.08059, allocations: 47.6 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3094/0.3901, allocations: 87.65 MB / 450.7 MB, free: 8.062 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.3904, allocations: 79.89 kB / 450.8 MB, free: 8.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03597/0.4264, allocations: 14.08 MB / 464.9 MB, free: 12.33 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4264, allocations: 0 / 464.9 MB, free: 12.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.534e-05/0.4265, allocations: 15.94 kB / 464.9 MB, free: 12.31 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.001827/0.4283, allocations: 0.9022 MB / 465.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4284, allocations: 12.03 kB / 465.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/0.4286, allocations: 94.92 kB / 465.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008704/0.4295, allocations: 0.4955 MB / 466.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.4296, allocations: 30.5 kB / 466.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.4297, allocations: 43.98 kB / 466.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008518/0.4305, allocations: 471 kB / 467 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.4316, allocations: 0.6146 MB / 467.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.4316, allocations: 3.906 kB / 467.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.4317, allocations: 4 kB / 467.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.4317, allocations: 16 kB / 467.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003811/0.4355, allocations: 2.568 MB / 470.2 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009313/0.4365, allocations: 0.552 MB / 470.7 MB, free: 7.539 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006256/0.4371, allocations: 367.1 kB / 471.1 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/0.4372, allocations: 12.42 kB / 471.1 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005267/0.4377, allocations: 335.3 kB / 471.4 MB, free: 7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=58): time 3.036e-06/0.4377, allocations: 0 / 471.4 MB, free: 7 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.0008584/0.4386, allocations: 0.4973 MB / 471.9 MB, free: 6.629 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/0.4387, allocations: 123 kB / 472 MB, free: 6.488 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.4392, allocations: 365 kB / 472.4 MB, free: 6.207 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.4393, allocations: 33.2 kB / 472.4 MB, free: 6.172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.4395, allocations: 327.8 kB / 472.7 MB, free: 5.926 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.4397, allocations: 179.3 kB / 472.9 MB, free: 5.773 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.4397, allocations: 0 / 472.9 MB, free: 5.773 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4399, allocations: 372 kB / 473.3 MB, free: 5.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.4402, allocations: 176.9 kB / 473.4 MB, free: 5.324 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.4405, allocations: 339.4 kB / 473.8 MB, free: 5.027 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.4409, allocations: 192 kB / 474 MB, free: 4.906 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4409, allocations: 0 / 474 MB, free: 4.906 MB / 346.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00103/0.4419, allocations: 0.6263 MB / 474.6 MB, free: 4.434 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00063/0.4426, allocations: 1.581 MB / 476.2 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.4426, allocations: 4 kB / 476.2 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004828/0.4431, allocations: 158.1 kB / 476.3 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.4435, allocations: 94.7 kB / 476.4 MB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003404/0.4469, allocations: 3.5 MB / 479.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006126/0.4475, allocations: 75.61 kB / 480 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.4476, allocations: 23.25 kB / 480 MB, free: 15.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.4476, allocations: 4 kB / 480 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000944/0.4485, allocations: 0.5375 MB / 480.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.4486, allocations: 4.5 kB / 480.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003732/0.449, allocations: 155.8 kB / 480.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.4493, allocations: 91.28 kB / 480.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00312/0.4524, allocations: 3.505 MB / 484.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/0.4529, allocations: 55.56 kB / 484.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.453, allocations: 26.38 kB / 484.4 MB, free: 11.26 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.0002548/0.4532, allocations: 141.3 kB / 484.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.4534, allocations: 63.39 kB / 484.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.4535, allocations: 59.81 kB / 484.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4535, allocations: 4 kB / 484.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4536, allocations: 0 / 484.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.4536, allocations: 7.922 kB / 484.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.4556, allocations: 1.281 MB / 485.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.4556, allocations: 0 / 485.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.4559, allocations: 51.97 kB / 486 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003804/0.4563, allocations: 153.5 kB / 486.1 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/0.4563, allocations: 11.98 kB / 486.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/0.4593, allocations: 3.363 MB / 489.5 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.4593, allocations: 11.98 kB / 489.5 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.4605, allocations: 0.8905 MB / 490.4 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.4608, allocations: 188.3 kB / 490.6 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.4609, allocations: 4 kB / 490.6 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.4612, allocations: 27.97 kB / 490.6 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.4614, allocations: 84.44 kB / 490.7 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.4615, allocations: 16 kB / 490.7 MB, free: 4.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003255/0.4618, allocations: 275 kB / 491 MB, free: 4.402 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4618, allocations: 0 / 491 MB, free: 4.402 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001234/0.463, allocations: 315 kB / 491.3 MB, free: 4.094 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0002225/0.4633, allocations: 133.4 kB / 491.4 MB, free: 3.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.4651, allocations: 1.307 MB / 492.7 MB, free: 2.605 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4651, allocations: 0 / 492.7 MB, free: 2.605 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006077/0.4657, allocations: 0.5013 MB / 493.2 MB, free: 2.086 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.4662, allocations: 79.86 kB / 493.3 MB, free: 2.012 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.4681, allocations: 0.9458 MB / 494.3 MB, free: 1.035 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.4686, allocations: 0.963 MB / 495.2 MB, free: 40 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003844/0.469, allocations: 108.6 kB / 495.3 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/0.4691, allocations: 35.44 kB / 495.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4691, allocations: 3.938 kB / 495.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of Templates: time 0.01642/0.4855, allocations: 9.834 MB / 0.4934 GB, free: 6.043 MB / 378.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