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_RLV_Characteristic.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_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_RLV_Characteristic") [: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.002432/0.002436, allocations: 176.2 kB / 8.151 MB, free: 2.207 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.628/1.628, allocations: 205.2 MB / 213.8 MB, free: 13.85 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.001211/0.00121, allocations: 90.41 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.1e-05/1.115e-05, allocations: 4 kB / 314.3 MB, free: 9.008 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2397, allocations: 47.55 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1842/0.4239, allocations: 87.81 MB / 449.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/0.4243, allocations: 87.94 kB / 449.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.06131/0.4856, allocations: 14.07 MB / 463.8 MB, free: 84 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.886e-05/0.4858, allocations: 16 kB / 463.8 MB, free: 68 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002762/0.4885, allocations: 0.9467 MB / 464.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4886, allocations: 8.031 kB / 464.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003145/0.4889, allocations: 94.97 kB / 464.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.4903, allocations: 0.5024 MB / 465.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.764e-05/0.4904, allocations: 27.98 kB / 465.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.4906, allocations: 43.91 kB / 465.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001617/0.4922, allocations: 479.9 kB / 465.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.494, allocations: 0.6344 MB / 466.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.4941, allocations: 0 / 466.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/0.4942, allocations: 4.75 kB / 466.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.4942, allocations: 16 kB / 466.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006616/0.5008, allocations: 2.559 MB / 469.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.5028, allocations: 0.5617 MB / 469.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.5041, allocations: 391.6 kB / 470.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.604e-05/0.5041, allocations: 4.5 kB / 470.1 MB, free: 9.574 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008099/0.505, allocations: 327.9 kB / 470.4 MB, free: 9.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=61): time 3.256e-06/0.505, allocations: 0 / 470.4 MB, free: 9.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.001874/0.5069, allocations: 0.5412 MB / 470.9 MB, free: 8.684 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.507, allocations: 115.3 kB / 471.1 MB, free: 8.547 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007004/0.5077, allocations: 357.1 kB / 471.4 MB, free: 8.191 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.79e-05/0.5078, allocations: 33.69 kB / 471.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.5081, allocations: 306.6 kB / 471.7 MB, free: 7.848 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.5083, allocations: 177.5 kB / 471.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.5083, allocations: 0 / 471.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5085, allocations: 338.7 kB / 472.2 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/0.5091, allocations: 187.1 kB / 472.4 MB, free: 7.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007112/0.5098, allocations: 339.8 kB / 472.8 MB, free: 6.762 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005848/0.5104, allocations: 201.4 kB / 473 MB, free: 6.559 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.5104, allocations: 0 / 473 MB, free: 6.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001807/0.5122, allocations: 0.5881 MB / 473.5 MB, free: 5.957 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006703/0.5129, allocations: 1.574 MB / 475.1 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.513, allocations: 4 kB / 475.1 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008824/0.5139, allocations: 157.6 kB / 475.3 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008976/0.5148, allocations: 111.8 kB / 475.4 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005142/0.52, allocations: 3.269 MB / 478.7 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007606/0.5208, allocations: 67.7 kB / 478.7 MB, free: 432 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-05/0.5209, allocations: 20 kB / 478.7 MB, free: 412 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.627e-06/0.5209, allocations: 8 kB / 478.7 MB, free: 404 kB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001638/0.5225, allocations: 0.5361 MB / 479.3 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.5226, allocations: 4.5 kB / 479.3 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007094/0.5233, allocations: 162.9 kB / 479.4 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000761/0.5241, allocations: 103.9 kB / 479.5 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004917/0.529, allocations: 3.267 MB / 482.8 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/0.5298, allocations: 67.56 kB / 482.9 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.5299, allocations: 24 kB / 482.9 MB, free: 11.99 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 (67): * Single equations (assignments): 65 * 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.0002584/0.5302, allocations: 73.7 kB / 483 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.5303, allocations: 51.34 kB / 483 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.5306, allocations: 65.27 kB / 483.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.5306, allocations: 4 kB / 483.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.5306, allocations: 0 / 483.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.5307, allocations: 7.922 kB / 483.1 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.5339, allocations: 1.278 MB / 484.4 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.5339, allocations: 0 / 484.4 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/0.5347, allocations: 79.88 kB / 484.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007122/0.5354, allocations: 145.6 kB / 484.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/0.5355, allocations: 8 kB / 484.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004828/0.5403, allocations: 3.267 MB / 487.9 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5404, allocations: 0 / 487.9 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002449/0.5428, allocations: 0.8926 MB / 488.8 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/0.5433, allocations: 196.2 kB / 489 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.5434, allocations: 4 kB / 489 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/0.5442, allocations: 44.05 kB / 489 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.5444, allocations: 56.36 kB / 489.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/0.5445, allocations: 16 kB / 489.1 MB, free: 5.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004932/0.545, allocations: 263.2 kB / 489.3 MB, free: 5.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001501/0.5465, allocations: 306.9 kB / 489.6 MB, free: 4.926 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_p1.off,rectifier.thyristor_p2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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.0002773/0.5468, allocations: 129.2 kB / 489.8 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003009/0.5498, allocations: 1.24 MB / 491 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.5498, allocations: 0 / 491 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.5509, allocations: 490.3 kB / 491.5 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008572/0.5518, allocations: 84.48 kB / 491.6 MB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/0.5557, allocations: 1.021 MB / 492.6 MB, free: 1.879 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009454/0.5567, allocations: 1.004 MB / 493.6 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5567, allocations: 4 kB / 493.6 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of Templates: time 0.02633/0.583, allocations: 13.9 MB / 0.4956 GB, free: 2.938 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_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_RLV_Characteristic/ThyristorBridge2Pulse_RLV_Characteristic.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches