Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.HalfControlledBridge2Pulse,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_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,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_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001445/0.001445, 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.545/1.545, allocations: 205.3 MB / 214.4 MB, free: 1.672 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.0008181/0.0008182, allocations: 86.72 kB / 262.4 MB, free: 1.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.37e-05/1.371e-05, allocations: 4 kB / 315.5 MB, free: 22.69 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07894/0.07897, allocations: 47.58 MB / 363.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3023/0.3813, allocations: 87.21 MB / 450.3 MB, free: 8.504 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.3816, allocations: 85.2 kB / 450.4 MB, free: 8.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.027/0.4086, allocations: 10.8 MB / 461.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4087, allocations: 0 / 461.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.369e-05/0.4087, allocations: 19.98 kB / 461.2 MB, free: 15.47 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001572/0.4103, allocations: 0.8609 MB / 462.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.4104, allocations: 8.031 kB / 462.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.4105, allocations: 83.06 kB / 462.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008086/0.4114, allocations: 499.7 kB / 462.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.4114, allocations: 23.98 kB / 462.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-05/0.4115, allocations: 39.91 kB / 462.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007894/0.4123, allocations: 443.8 kB / 463.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000971/0.4133, allocations: 0.5734 MB / 463.7 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.4133, allocations: 4 kB / 463.7 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.4134, allocations: 0 / 463.7 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.4134, allocations: 19.94 kB / 463.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/0.4168, allocations: 2.461 MB / 466.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009635/0.4178, allocations: 0.5411 MB / 466.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.4181, allocations: 238.3 kB / 467 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.4181, allocations: 7.812 kB / 467 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004781/0.4186, allocations: 318.4 kB / 467.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 1.934e-06/0.4186, allocations: 4 kB / 467.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.0007985/0.4195, allocations: 477.9 kB / 467.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.4195, allocations: 111.4 kB / 467.9 MB, free: 10 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.42, allocations: 367.5 kB / 468.2 MB, free: 9.719 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.42, allocations: 37.62 kB / 468.3 MB, free: 9.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.4202, allocations: 311 kB / 468.6 MB, free: 9.445 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.4204, allocations: 157.5 kB / 468.7 MB, free: 9.312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.4204, allocations: 0 / 468.7 MB, free: 9.312 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4205, allocations: 364.2 kB / 469.1 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.4208, allocations: 162.5 kB / 469.2 MB, free: 8.879 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.4212, allocations: 317.2 kB / 469.5 MB, free: 8.594 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.4215, allocations: 179.5 kB / 469.7 MB, free: 8.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4215, allocations: 0 / 469.7 MB, free: 8.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008648/0.4223, allocations: 0.5635 MB / 470.3 MB, free: 8.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006898/0.423, allocations: 1.581 MB / 471.9 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4231, allocations: 4 kB / 471.9 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004466/0.4235, allocations: 139.2 kB / 472 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.4238, allocations: 87.7 kB / 472.1 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.4263, allocations: 2.249 MB / 474.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.4268, allocations: 71.59 kB / 474.4 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.4268, allocations: 23.5 kB / 474.4 MB, free: 4.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.4268, allocations: 7.953 kB / 474.4 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007716/0.4276, allocations: 497.9 kB / 474.9 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4276, allocations: 4 kB / 474.9 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/0.428, allocations: 141.2 kB / 475.1 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.4283, allocations: 78.97 kB / 475.1 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.4306, allocations: 2.26 MB / 477.4 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.4309, allocations: 59.61 kB / 477.5 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.431, allocations: 22.44 kB / 477.5 MB, free: 1.637 MB / 346.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: 27 ($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,rectifier.diode_n1.off,rectifier.diode_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 (59): * Single equations (assignments): 58 * 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.0001939/0.4312, allocations: 134.5 kB / 477.6 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.4313, allocations: 63.27 kB / 477.7 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.4314, allocations: 51.19 kB / 477.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.4314, allocations: 11.98 kB / 477.7 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4314, allocations: 0 / 477.7 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.4315, allocations: 4 kB / 477.7 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.4331, allocations: 1.177 MB / 478.9 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4331, allocations: 0 / 478.9 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.4333, allocations: 43.53 kB / 479 MB, free: 480 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003327/0.4337, allocations: 139.9 kB / 479.1 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.4337, allocations: 7.922 kB / 479.1 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.436, allocations: 2.227 MB / 481.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.436, allocations: 7.922 kB / 481.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.4371, allocations: 0.8072 MB / 482.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.4373, allocations: 176.4 kB / 482.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.026e-05/0.4374, allocations: 11.98 kB / 482.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.4377, allocations: 31.97 kB / 482.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.4379, allocations: 60.47 kB / 482.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.4379, allocations: 16 kB / 482.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003051/0.4382, allocations: 271 kB / 482.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4382, allocations: 0 / 482.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001016/0.4393, allocations: 295 kB / 483 MB, free: 12.79 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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.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.0001998/0.4395, allocations: 134.2 kB / 483.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.441, allocations: 1.064 MB / 484.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.441, allocations: 0 / 484.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.4415, allocations: 412.7 kB / 484.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.442, allocations: 76.12 kB / 484.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.4436, allocations: 0.8407 MB / 485.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.4441, allocations: 0.9432 MB / 486.4 MB, free: 9.234 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003341/0.4445, allocations: 96.72 kB / 486.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.4445, allocations: 31.44 kB / 486.6 MB, free: 9.109 MB / 362.7 MB Notification: Performance of SimCode: time 1.613e-06/0.4445, allocations: 0 / 486.6 MB, free: 9.109 MB / 362.7 MB Notification: Performance of Templates: time 0.01496/0.4595, allocations: 9.382 MB / 495.9 MB, free: 15.71 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_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/HalfControlledBridge2Pulse/HalfControlledBridge2Pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches