Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001686/0.001686, allocations: 175.1 kB / 8.149 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.2 MB / 213.7 MB, free: 13.88 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.002355/0.002355, allocations: 92 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.04e-05/1.051e-05, allocations: 0 / 314.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2417, allocations: 47.56 MB / 361.9 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.3756, allocations: 87.1 MB / 449 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/0.376, allocations: 93.98 kB / 449 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0598/0.4358, allocations: 13.57 MB / 462.6 MB, free: 1.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.527e-05/0.4359, allocations: 19.98 kB / 462.6 MB, free: 1.301 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.00253/0.4384, allocations: 0.8916 MB / 463.5 MB, free: 364 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.4385, allocations: 12.03 kB / 463.5 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002861/0.4388, allocations: 82.97 kB / 463.6 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.4402, allocations: 0.4979 MB / 464.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/0.4402, allocations: 24 kB / 464.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.4404, allocations: 43.98 kB / 464.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001605/0.442, allocations: 470.4 kB / 464.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.4437, allocations: 0.6019 MB / 465.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.4437, allocations: 0 / 465.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.905e-05/0.4438, allocations: 4 kB / 465.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.4439, allocations: 16 kB / 465.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006525/0.4504, allocations: 2.521 MB / 467.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.4517, allocations: 452.5 kB / 468.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.4528, allocations: 342.9 kB / 468.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/0.4529, allocations: 8.438 kB / 468.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008263/0.4538, allocations: 299.9 kB / 468.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 9.237e-06/0.4538, allocations: 0 / 468.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001751/0.4555, allocations: 0.517 MB / 469.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/0.4557, allocations: 115.3 kB / 469.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007763/0.4564, allocations: 365 kB / 469.9 MB, free: 9.785 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.4566, allocations: 33.69 kB / 469.9 MB, free: 9.746 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.4568, allocations: 306.5 kB / 470.2 MB, free: 9.445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.4571, allocations: 169.6 kB / 470.3 MB, free: 9.277 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.4571, allocations: 0 / 470.3 MB, free: 9.277 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4573, allocations: 330.8 kB / 470.7 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000554/0.4579, allocations: 185.3 kB / 470.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006866/0.4586, allocations: 326.8 kB / 471.2 MB, free: 8.387 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.4592, allocations: 193.4 kB / 471.4 MB, free: 8.195 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.4592, allocations: 4 kB / 471.4 MB, free: 8.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001725/0.4609, allocations: 0.5842 MB / 471.9 MB, free: 7.594 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007219/0.4617, allocations: 1.57 MB / 473.5 MB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.4617, allocations: 4 kB / 473.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008166/0.4625, allocations: 161.6 kB / 473.7 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/0.4633, allocations: 91.83 kB / 473.8 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005122/0.4684, allocations: 3.286 MB / 477.1 MB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007563/0.4692, allocations: 67.62 kB / 477.1 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/0.4693, allocations: 23.98 kB / 477.1 MB, free: 2.035 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.4693, allocations: 4 kB / 477.2 MB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001554/0.4709, allocations: 0.5238 MB / 477.7 MB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4709, allocations: 4 kB / 477.7 MB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006943/0.4716, allocations: 150.2 kB / 477.8 MB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.4723, allocations: 95.83 kB / 477.9 MB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005106/0.4774, allocations: 3.274 MB / 481.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/0.4782, allocations: 59.64 kB / 481.3 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.4782, allocations: 27.98 kB / 481.3 MB, free: 13.66 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 () * 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.0002644/0.4785, allocations: 61.59 kB / 481.3 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.4787, allocations: 51.34 kB / 481.4 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.479, allocations: 61.27 kB / 481.4 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.479, allocations: 12 kB / 481.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.479, allocations: 4.281 kB / 481.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.479, allocations: 0 / 481.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003479/0.4825, allocations: 1.259 MB / 482.7 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.4826, allocations: 0 / 482.7 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/0.4831, allocations: 55.84 kB / 482.8 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000733/0.4838, allocations: 153.6 kB / 482.9 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.4839, allocations: 4 kB / 482.9 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005177/0.4891, allocations: 3.262 MB / 486.2 MB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.4892, allocations: 4.062 kB / 486.2 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002534/0.4917, allocations: 0.8645 MB / 487.1 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/0.4922, allocations: 188.2 kB / 487.2 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.4923, allocations: 4 kB / 487.2 MB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007074/0.493, allocations: 35.97 kB / 487.3 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.4932, allocations: 44.42 kB / 487.3 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.904e-05/0.4933, allocations: 23.98 kB / 487.4 MB, free: 7.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005529/0.4939, allocations: 267.2 kB / 487.6 MB, free: 6.988 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001581/0.4955, allocations: 295 kB / 487.9 MB, free: 6.699 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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_n1.off,rectifier.thyristor_n2.off,rectifier.thyristor_p2.off,rectifier.thyristor_p1.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.0003035/0.4958, allocations: 129.3 kB / 488 MB, free: 6.562 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003072/0.4989, allocations: 1.206 MB / 489.2 MB, free: 5.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.4989, allocations: 256 / 489.2 MB, free: 5.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.5001, allocations: 481.1 kB / 489.7 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009013/0.501, allocations: 84.88 kB / 489.8 MB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/0.5048, allocations: 0.9619 MB / 490.7 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/0.5059, allocations: 0.9888 MB / 491.7 MB, free: 2.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/0.5059, allocations: 0 / 491.7 MB, free: 2.73 MB / 378.7 MB Notification: Performance of Templates: time 0.02626/0.5322, allocations: 13.39 MB / 0.4933 GB, free: 5.348 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches