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.001301/0.001301, allocations: 172.9 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.445/1.445, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0007902/0.0007903, allocations: 90.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.078e-05/2.081e-05, allocations: 0 / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07689/0.07693, allocations: 47.57 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2827/0.3596, allocations: 87.63 MB / 457.7 MB, free: 5.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.3599, allocations: 83.8 kB / 457.7 MB, free: 5.723 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02835/0.3883, allocations: 10.91 MB / 468.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3883, allocations: 0 / 468.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.468e-05/0.3884, allocations: 19.94 kB / 468.7 MB, free: 12.17 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.001446/0.3898, allocations: 0.8764 MB / 469.6 MB, free: 11.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3899, allocations: 8.031 kB / 469.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.39, allocations: 83.06 kB / 469.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/0.3908, allocations: 490 kB / 470.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/0.3909, allocations: 53.3 kB / 470.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.391, allocations: 67.84 kB / 470.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.3921, allocations: 0.6554 MB / 470.9 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.3921, allocations: 3.938 kB / 470.9 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.495e-05/0.3922, allocations: 31.98 kB / 470.9 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.3922, allocations: 12 kB / 470.9 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008022/0.393, allocations: 481.1 kB / 471.4 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003607/0.3967, allocations: 2.588 MB / 474 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.3977, allocations: 0.5644 MB / 474.6 MB, free: 6.023 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005452/0.3983, allocations: 319 kB / 474.9 MB, free: 5.711 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.3983, allocations: 4.438 kB / 474.9 MB, free: 5.703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005296/0.3989, allocations: 329.8 kB / 475.2 MB, free: 5.363 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 2.665e-06/0.3989, allocations: 4 kB / 475.2 MB, free: 5.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.0009237/0.3998, allocations: 0.5031 MB / 475.7 MB, free: 4.844 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.259e-05/0.3999, allocations: 123.3 kB / 475.8 MB, free: 4.699 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.4005, allocations: 423.8 kB / 476.2 MB, free: 4.281 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.4006, allocations: 45.69 kB / 476.3 MB, free: 4.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.4008, allocations: 312.3 kB / 476.6 MB, free: 3.922 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.4009, allocations: 161.8 kB / 476.7 MB, free: 3.762 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.401, allocations: 8 kB / 476.8 MB, free: 3.754 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4011, allocations: 366.8 kB / 477.1 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.4014, allocations: 181.5 kB / 477.3 MB, free: 3.211 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.4018, allocations: 321.5 kB / 477.6 MB, free: 2.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.4022, allocations: 191.2 kB / 477.8 MB, free: 2.648 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4022, allocations: 0 / 477.8 MB, free: 2.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009679/0.4031, allocations: 0.6433 MB / 478.4 MB, free: 1.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000542/0.4037, allocations: 1.571 MB / 480 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.4037, allocations: 4 kB / 480 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000529/0.4042, allocations: 148.8 kB / 480.2 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.4046, allocations: 87.83 kB / 480.2 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.4073, allocations: 2.319 MB / 482.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/0.4078, allocations: 87.48 kB / 482.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.4079, allocations: 20 kB / 482.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.4079, allocations: 4 kB / 482.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009619/0.4089, allocations: 0.5603 MB / 483.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.4089, allocations: 7.938 kB / 483.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003891/0.4093, allocations: 149.1 kB / 483.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.4096, allocations: 83.84 kB / 483.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.4121, allocations: 2.322 MB / 485.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.4127, allocations: 71.7 kB / 485.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.4127, allocations: 20 kB / 485.9 MB, free: 10.16 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: 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.0001894/0.4129, allocations: 152.8 kB / 486 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-05/0.413, allocations: 59.25 kB / 486.1 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.4132, allocations: 69.36 kB / 486.2 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.4132, allocations: 11.94 kB / 486.2 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4132, allocations: 4 kB / 486.2 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4132, allocations: 3.953 kB / 486.2 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.4151, allocations: 1.317 MB / 487.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.4151, allocations: 0 / 487.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.4154, allocations: 43.92 kB / 487.5 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003952/0.4158, allocations: 136.8 kB / 487.7 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.4158, allocations: 15.98 kB / 487.7 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002702/0.4185, allocations: 2.311 MB / 490 MB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4185, allocations: 0 / 490 MB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.4199, allocations: 0.8828 MB / 490.9 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.4203, allocations: 180.3 kB / 491.1 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.69e-05/0.4204, allocations: 15.95 kB / 491.1 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.4208, allocations: 43.95 kB / 491.1 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.421, allocations: 60.36 kB / 491.2 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.421, allocations: 19.98 kB / 491.2 MB, free: 4.594 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004244/0.4214, allocations: 325.6 kB / 491.5 MB, free: 4.277 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.383e-06/0.4214, allocations: 0 / 491.5 MB, free: 4.277 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001091/0.4225, allocations: 331.1 kB / 491.8 MB, free: 3.953 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0002082/0.4228, allocations: 126.1 kB / 492 MB, free: 3.824 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.4246, allocations: 1.146 MB / 493.1 MB, free: 2.652 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4246, allocations: 0 / 493.1 MB, free: 2.652 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006217/0.4253, allocations: 438 kB / 493.5 MB, free: 2.211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.4258, allocations: 104.3 kB / 493.6 MB, free: 2.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.4277, allocations: 0.8789 MB / 494.5 MB, free: 1.195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.4283, allocations: 0.9437 MB / 495.5 MB, free: 232 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004412/0.4287, allocations: 108.8 kB / 495.6 MB, free: 124 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.964e-05/0.4288, allocations: 39.42 kB / 495.6 MB, free: 84 kB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4288, allocations: 0 / 495.6 MB, free: 84 kB / 362.7 MB Notification: Performance of Templates: time 0.01799/0.4468, allocations: 10.54 MB / 0.4943 GB, free: 5.523 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