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.001543/0.001543, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.632/1.632, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.0007795/0.0007795, allocations: 86.66 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002571/0.0002571, allocations: 4 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3153, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.4511, allocations: 87.63 MB / 463.5 MB, free: 9.031 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.4515, allocations: 87.95 kB / 463.5 MB, free: 8.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04038/0.4919, allocations: 13.63 MB / 477.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.228e-06/0.492, allocations: 4 kB / 477.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.44e-05/0.492, allocations: 16 kB / 477.2 MB, free: 11.22 MB / 362.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.002415/0.4945, allocations: 0.9301 MB / 478.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.378e-05/0.4946, allocations: 12.02 kB / 478.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.4948, allocations: 86.97 kB / 478.2 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009964/0.4958, allocations: 0.494 MB / 478.7 MB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.939e-05/0.4959, allocations: 45.31 kB / 478.8 MB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.496, allocations: 64 kB / 478.8 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.4975, allocations: 0.6981 MB / 479.5 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.4975, allocations: 0 / 479.5 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.328e-05/0.4976, allocations: 28 kB / 479.5 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.4976, allocations: 12 kB / 479.6 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.4987, allocations: 0.5282 MB / 480.1 MB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005366/0.5041, allocations: 2.608 MB / 482.7 MB, free: 5.477 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.5056, allocations: 0.5866 MB / 483.3 MB, free: 4.879 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.604e-05/0.5057, allocations: 12.86 kB / 483.3 MB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007766/0.5065, allocations: 341.7 kB / 483.6 MB, free: 4.516 MB / 362.7 MB Notification: Performance of pre-optimization done (n=55): time 4.949e-06/0.5065, allocations: 3.938 kB / 483.6 MB, free: 4.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.003067/0.5096, allocations: 0.9808 MB / 484.6 MB, free: 3.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/0.5098, allocations: 115.4 kB / 484.7 MB, free: 3.367 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009447/0.5107, allocations: 448.9 kB / 485.2 MB, free: 2.922 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.281e-05/0.5108, allocations: 45.7 kB / 485.2 MB, free: 2.871 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004367/0.5113, allocations: 312.4 kB / 485.5 MB, free: 2.562 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.5115, allocations: 161.7 kB / 485.7 MB, free: 2.402 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.5115, allocations: 16 kB / 485.7 MB, free: 2.387 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003124/0.5119, allocations: 362.8 kB / 486 MB, free: 2.023 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.5124, allocations: 205.2 kB / 486.2 MB, free: 1.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/0.513, allocations: 364.2 kB / 486.6 MB, free: 1.406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.5135, allocations: 214.1 kB / 486.8 MB, free: 1.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.5135, allocations: 4 kB / 486.8 MB, free: 1.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00143/0.5149, allocations: 0.7023 MB / 487.5 MB, free: 492 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008803/0.5158, allocations: 1.57 MB / 489.1 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.5158, allocations: 4 kB / 489.1 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005572/0.5164, allocations: 155 kB / 489.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.5168, allocations: 83.84 kB / 489.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003439/0.5202, allocations: 2.399 MB / 491.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006207/0.5209, allocations: 91.53 kB / 491.8 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.5209, allocations: 27.94 kB / 491.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.521, allocations: 4.781 kB / 491.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00108/0.522, allocations: 0.5879 MB / 492.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.5221, allocations: 4 kB / 492.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004616/0.5225, allocations: 164.6 kB / 492.6 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.5228, allocations: 71.91 kB / 492.7 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.5263, allocations: 2.392 MB / 495.1 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.527, allocations: 71.56 kB / 495.1 MB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.5271, allocations: 28 kB / 495.2 MB, free: 8.434 MB / 378.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 () * Number of clocked 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.0007636/0.5278, allocations: 319.5 kB / 495.5 MB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.528, allocations: 55.34 kB / 495.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.5281, allocations: 61.52 kB / 495.6 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5281, allocations: 8 kB / 495.6 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.5281, allocations: 7.953 kB / 495.6 MB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.5281, allocations: 7.922 kB / 495.6 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.5304, allocations: 1.358 MB / 497 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.5304, allocations: 4 kB / 497 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.5307, allocations: 43.97 kB / 497 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/0.5311, allocations: 142.6 kB / 497.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.5312, allocations: 11.98 kB / 497.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002906/0.5341, allocations: 2.311 MB / 499.5 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5341, allocations: 4 kB / 499.5 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.5357, allocations: 0.913 MB / 0.4887 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.536, allocations: 188.4 kB / 0.4888 GB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.515e-05/0.5361, allocations: 12 kB / 0.4889 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.5364, allocations: 39.97 kB / 0.4889 GB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.5366, allocations: 80.44 kB / 0.489 GB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.5367, allocations: 12 kB / 0.489 GB, free: 2.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005242/0.5372, allocations: 342.9 kB / 0.4893 GB, free: 2.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5372, allocations: 0 / 0.4893 GB, free: 2.309 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00136/0.5386, allocations: 339.1 kB / 0.4896 GB, free: 1.977 MB / 378.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) * Number of clocked states: 0 () * 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.0002534/0.5389, allocations: 129.4 kB / 0.4898 GB, free: 1.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.5411, allocations: 1.201 MB / 0.4909 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5411, allocations: 8.062 kB / 0.4909 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006764/0.5418, allocations: 450 kB / 0.4914 GB, free: 160 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.5424, allocations: 112.2 kB / 0.4915 GB, free: 52 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2414/0.7838, allocations: 1.416 MB / 0.4929 GB, free: 105.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009152/0.7848, allocations: 0.9424 MB / 0.4938 GB, free: 104.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000579/0.7854, allocations: 87.95 kB / 0.4939 GB, free: 104.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.7856, allocations: 38.5 kB / 0.4939 GB, free: 104.8 MB / 378.7 MB Notification: Performance of SimCode: time 3.426e-06/0.7856, allocations: 0 / 0.4939 GB, free: 104.8 MB / 378.7 MB Notification: Performance of Templates: time 0.02001/0.8056, allocations: 10.08 MB / 0.5037 GB, free: 104.3 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