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_RL.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_RL,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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,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_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001682/0.001682, allocations: 172 kB / 14.1 MB, free: 1.223 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.385/1.385, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007833/0.0007833, allocations: 78.67 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.482e-05, allocations: 7.984 kB / 322.5 MB, free: 17.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08627/0.08631, allocations: 47.57 MB / 370 MB, free: 1.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3309/0.4173, allocations: 87.84 MB / 457.9 MB, free: 5.551 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.4175, allocations: 82.45 kB / 458 MB, free: 5.508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03627/0.4538, allocations: 13.94 MB / 471.9 MB, free: 8.902 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4539, allocations: 0 / 471.9 MB, free: 8.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.997e-05/0.4539, allocations: 19.94 kB / 471.9 MB, free: 8.883 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.001537/0.4555, allocations: 0.88 MB / 472.8 MB, free: 7.945 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.4555, allocations: 12.03 kB / 472.8 MB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.4557, allocations: 86.97 kB / 472.9 MB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000905/0.4566, allocations: 0.5017 MB / 473.4 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/0.4567, allocations: 57.3 kB / 473.4 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.4568, allocations: 68 kB / 473.5 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.458, allocations: 0.6826 MB / 474.2 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.458, allocations: 7.938 kB / 474.2 MB, free: 6.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.388e-05/0.4581, allocations: 28 kB / 474.2 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.4581, allocations: 16 kB / 474.2 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008229/0.4589, allocations: 497.1 kB / 474.7 MB, free: 5.934 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.4627, allocations: 2.658 MB / 477.4 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.4637, allocations: 0.5838 MB / 478 MB, free: 2.562 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007579/0.4645, allocations: 382 kB / 478.3 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.4646, allocations: 4.438 kB / 478.4 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005675/0.4651, allocations: 342.2 kB / 478.7 MB, free: 1.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 3.135e-06/0.4652, allocations: 4 kB / 478.7 MB, free: 1.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.001022/0.4662, allocations: 0.5429 MB / 479.2 MB, free: 1.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/0.4663, allocations: 115.4 kB / 479.3 MB, free: 1.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.4668, allocations: 435.8 kB / 479.8 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.4669, allocations: 37.7 kB / 479.8 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.4672, allocations: 316.3 kB / 480.1 MB, free: 356 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.4673, allocations: 173.6 kB / 480.3 MB, free: 180 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.4674, allocations: 16 kB / 480.3 MB, free: 164 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4676, allocations: 374.7 kB / 480.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.4679, allocations: 185.5 kB / 480.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.4684, allocations: 349.5 kB / 481.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.4687, allocations: 207.2 kB / 481.4 MB, free: 15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4687, allocations: 0 / 481.4 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001116/0.4698, allocations: 0.6837 MB / 482.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005814/0.4704, allocations: 1.578 MB / 483.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4705, allocations: 4 kB / 483.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005076/0.471, allocations: 165.6 kB / 483.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.4713, allocations: 95.81 kB / 483.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/0.4749, allocations: 3.591 MB / 487.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/0.4755, allocations: 99.45 kB / 487.6 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.4756, allocations: 20 kB / 487.6 MB, free: 8.363 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.4756, allocations: 4 kB / 487.6 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/0.4766, allocations: 0.608 MB / 488.2 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4766, allocations: 4.5 kB / 488.2 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003961/0.477, allocations: 169.6 kB / 488.4 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.4774, allocations: 83.84 kB / 488.5 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.4806, allocations: 3.599 MB / 492.1 MB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.4811, allocations: 75.44 kB / 492.2 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.4811, allocations: 31.95 kB / 492.2 MB, free: 3.512 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 (65): * Single equations (assignments): 63 * 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.0002114/0.4814, allocations: 153.4 kB / 492.3 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.4815, allocations: 63.23 kB / 492.4 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.4817, allocations: 69.58 kB / 492.5 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4817, allocations: 8 kB / 492.5 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4817, allocations: 0 / 492.5 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.4817, allocations: 3.984 kB / 492.5 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.4837, allocations: 1.41 MB / 493.9 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4838, allocations: 8 kB / 493.9 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.484, allocations: 51.91 kB / 494 MB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003818/0.4844, allocations: 145.7 kB / 494.1 MB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.4845, allocations: 11.98 kB / 494.1 MB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003214/0.4877, allocations: 3.51 MB / 497.6 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.4877, allocations: 4.031 kB / 497.6 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.4891, allocations: 0.9249 MB / 498.5 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.4894, allocations: 196.2 kB / 498.7 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.907e-05/0.4895, allocations: 19.94 kB / 498.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.4898, allocations: 43.97 kB / 498.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.49, allocations: 72.44 kB / 498.9 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.4901, allocations: 19.98 kB / 498.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003903/0.4905, allocations: 325.8 kB / 499.2 MB, free: 12.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4905, allocations: 4 kB / 499.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001141/0.4916, allocations: 343.1 kB / 499.5 MB, free: 11.76 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 (41): * Single equations (assignments): 34 * 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.0002234/0.4919, allocations: 141.1 kB / 499.7 MB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001957/0.4938, allocations: 1.371 MB / 0.4893 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4938, allocations: 0 / 0.4893 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00066/0.4945, allocations: 0.544 MB / 0.4898 GB, free: 9.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.4951, allocations: 100.9 kB / 0.4899 GB, free: 9.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.497, allocations: 0.9737 MB / 0.4909 GB, free: 8.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005494/0.4976, allocations: 0.9475 MB / 0.4918 GB, free: 7.543 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004356/0.498, allocations: 108.8 kB / 0.4919 GB, free: 7.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.039e-05/0.4981, allocations: 35.44 kB / 0.492 GB, free: 7.398 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4981, allocations: 7.938 kB / 0.492 GB, free: 7.391 MB / 378.7 MB Notification: Performance of Templates: time 0.0191/0.5172, allocations: 10.9 MB / 0.5026 GB, free: 12.48 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_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_RL/ThyristorBridge2Pulse_RL.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches