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_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 177 kB / 8.7 MB, free: 384 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.424/1.424, allocations: 205.3 MB / 214.4 MB, free: 1.734 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.0008258/0.0008259, allocations: 94.22 kB / 262.5 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.651e-05/1.653e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08346/0.08349, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2827/0.3663, allocations: 87.11 MB / 450.2 MB, free: 8.598 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.3665, allocations: 85.83 kB / 450.3 MB, free: 8.551 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03238/0.3989, allocations: 13.49 MB / 463.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3989, allocations: 0 / 463.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.803e-05/0.399, allocations: 19.98 kB / 463.8 MB, free: 13.32 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001403/0.4004, allocations: 0.8643 MB / 464.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4004, allocations: 8.031 kB / 464.7 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.4006, allocations: 87.05 kB / 464.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/0.4012, allocations: 498 kB / 465.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.4013, allocations: 20 kB / 465.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/0.4014, allocations: 43.98 kB / 465.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007103/0.4021, allocations: 452.8 kB / 465.7 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008733/0.403, allocations: 0.5808 MB / 466.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.403, allocations: 3.938 kB / 466.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.4031, allocations: 0 / 466.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.4031, allocations: 16 kB / 466.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003085/0.4062, allocations: 2.481 MB / 468.8 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008664/0.4071, allocations: 0.5349 MB / 469.4 MB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.4074, allocations: 239.8 kB / 469.6 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.4074, allocations: 4.438 kB / 469.6 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004425/0.4079, allocations: 329.1 kB / 469.9 MB, free: 8.309 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 5.53e-06/0.4079, allocations: 0 / 469.9 MB, free: 8.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.0007287/0.4086, allocations: 479.4 kB / 470.4 MB, free: 7.961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.4087, allocations: 118.9 kB / 470.5 MB, free: 7.824 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.409, allocations: 363.6 kB / 470.9 MB, free: 7.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.4091, allocations: 33.45 kB / 470.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.4093, allocations: 316.8 kB / 471.2 MB, free: 7.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.4094, allocations: 159.5 kB / 471.4 MB, free: 7.133 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.4094, allocations: 0 / 471.4 MB, free: 7.133 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4096, allocations: 362.4 kB / 471.7 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.4098, allocations: 169.3 kB / 471.9 MB, free: 6.699 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.4101, allocations: 318.6 kB / 472.2 MB, free: 6.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.4104, allocations: 181.5 kB / 472.4 MB, free: 6.297 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4104, allocations: 4 kB / 472.4 MB, free: 6.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008056/0.4112, allocations: 0.5833 MB / 472.9 MB, free: 5.855 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005426/0.4118, allocations: 1.577 MB / 474.5 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4118, allocations: 7.938 kB / 474.5 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004167/0.4122, allocations: 147.1 kB / 474.7 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.4125, allocations: 94.33 kB / 474.8 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.4149, allocations: 2.272 MB / 477 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.4153, allocations: 83.48 kB / 477.1 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.4153, allocations: 19.94 kB / 477.1 MB, free: 1.945 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.4153, allocations: 4 kB / 477.1 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007458/0.4161, allocations: 0.4904 MB / 477.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.4161, allocations: 4 kB / 477.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.4164, allocations: 150.8 kB / 477.8 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.4167, allocations: 84.08 kB / 477.9 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.4191, allocations: 2.277 MB / 480.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.4194, allocations: 55.7 kB / 480.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.4195, allocations: 26.88 kB / 480.2 MB, free: 15.39 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 (61): * Single equations (assignments): 60 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001986/0.4197, allocations: 149.7 kB / 480.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.4198, allocations: 55.33 kB / 480.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.4199, allocations: 53.64 kB / 480.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.4199, allocations: 8 kB / 480.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4199, allocations: 4 kB / 480.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.42, allocations: 3.984 kB / 480.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.4216, allocations: 1.196 MB / 481.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4216, allocations: 0 / 481.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.4218, allocations: 43.92 kB / 481.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003397/0.4222, allocations: 136.8 kB / 481.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.4222, allocations: 7.984 kB / 481.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.4245, allocations: 2.163 MB / 484 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4245, allocations: 0 / 484 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.4257, allocations: 0.8273 MB / 484.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.4259, allocations: 176.5 kB / 485 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.008e-05/0.426, allocations: 0 / 485 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.4263, allocations: 39.97 kB / 485.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.4265, allocations: 80.39 kB / 485.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.4265, allocations: 19.94 kB / 485.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002922/0.4268, allocations: 275 kB / 485.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.573e-06/0.4268, allocations: 0 / 485.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009591/0.4278, allocations: 306.9 kB / 485.7 MB, free: 10.02 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: 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_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001918/0.428, allocations: 125.4 kB / 485.9 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.4296, allocations: 1.079 MB / 486.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4296, allocations: 1.438 kB / 486.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005229/0.4301, allocations: 415.4 kB / 487.4 MB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.4306, allocations: 75.39 kB / 487.4 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.4322, allocations: 0.8564 MB / 488.3 MB, free: 7.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.4327, allocations: 0.9432 MB / 489.2 MB, free: 6.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003394/0.433, allocations: 100.5 kB / 489.3 MB, free: 6.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.4331, allocations: 35.44 kB / 489.4 MB, free: 6.309 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4331, allocations: 0 / 489.4 MB, free: 6.309 MB / 362.7 MB Notification: Performance of Templates: time 0.01456/0.4477, allocations: 9.559 MB / 498.9 MB, free: 12.73 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches