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_RLV.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,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") [: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.001113/0.001113, allocations: 183.2 kB / 8.481 MB, free: 1.871 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.175/1.175, allocations: 205.2 MB / 214.1 MB, free: 5.152 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.0008994/0.0008993, allocations: 79.39 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.897e-06, allocations: 0 / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07882/0.07885, allocations: 47.57 MB / 362.6 MB, free: 9.953 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.276/0.3549, allocations: 87.35 MB / 449.9 MB, free: 9.973 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.3552, allocations: 81.67 kB / 450 MB, free: 9.961 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03365/0.3889, allocations: 13.84 MB / 463.8 MB, free: 4.707 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.266e-05/0.3889, allocations: 23.09 kB / 463.8 MB, free: 4.699 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00144/0.3904, allocations: 0.9019 MB / 464.7 MB, free: 4.035 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3904, allocations: 9.219 kB / 464.8 MB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.3906, allocations: 92.56 kB / 464.8 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.3914, allocations: 0.5047 MB / 465.4 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.3914, allocations: 25.19 kB / 465.4 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.575e-05/0.3915, allocations: 40.97 kB / 465.4 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008503/0.3924, allocations: 484.6 kB / 465.9 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.3934, allocations: 0.6168 MB / 466.5 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.3934, allocations: 1.5 kB / 466.5 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.056e-05/0.3935, allocations: 5.344 kB / 466.5 MB, free: 3.418 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.3935, allocations: 16.09 kB / 466.5 MB, free: 3.418 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003773/0.3973, allocations: 2.565 MB / 469.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007357/0.3981, allocations: 451.8 kB / 469.5 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008715/0.399, allocations: 393.9 kB / 469.9 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.612e-05/0.399, allocations: 5.781 kB / 469.9 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005841/0.3996, allocations: 305.5 kB / 470.2 MB, free: 1.707 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 5.59e-06/0.3996, allocations: 4 kB / 470.2 MB, free: 1.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.001087/0.4007, allocations: 0.5211 MB / 470.7 MB, free: 1.566 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.4008, allocations: 111.3 kB / 470.9 MB, free: 1.441 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004767/0.4013, allocations: 367.8 kB / 471.2 MB, free: 1.301 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.4013, allocations: 33.67 kB / 471.2 MB, free: 1.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.4015, allocations: 274.1 kB / 471.5 MB, free: 1.062 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.4016, allocations: 169.4 kB / 471.7 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.4016, allocations: 0 / 471.7 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.982e-05/0.4017, allocations: 366.4 kB / 472 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.402, allocations: 176.2 kB / 472.2 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.4024, allocations: 336.4 kB / 472.5 MB, free: 432 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.4028, allocations: 191.9 kB / 472.7 MB, free: 396 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.4028, allocations: 6.031 kB / 472.7 MB, free: 392 kB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009958/0.4038, allocations: 0.6187 MB / 473.4 MB, free: 240 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005142/0.4043, allocations: 1.57 MB / 474.9 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4044, allocations: 4 kB / 474.9 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005405/0.4049, allocations: 160.1 kB / 475.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.4053, allocations: 95.64 kB / 475.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.4086, allocations: 3.3 MB / 478.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000695/0.4093, allocations: 78.88 kB / 478.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.4093, allocations: 23.44 kB / 478.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.4094, allocations: 4 kB / 478.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008778/0.4102, allocations: 0.5266 MB / 479.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4103, allocations: 4 kB / 479.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004399/0.4107, allocations: 165.8 kB / 479.3 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.411, allocations: 91.14 kB / 479.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/0.4141, allocations: 3.29 MB / 482.7 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005405/0.4147, allocations: 63.75 kB / 482.7 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.4147, allocations: 31.38 kB / 482.7 MB, free: 7.719 MB / 330.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 (66): * Single equations (assignments): 64 * 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.0002319/0.415, allocations: 136.6 kB / 482.9 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.4151, allocations: 59.27 kB / 482.9 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.4153, allocations: 62.47 kB / 483 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.4153, allocations: 4 kB / 483 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4153, allocations: 4 kB / 483 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.4153, allocations: 3.984 kB / 483 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.4173, allocations: 1.256 MB / 484.3 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4173, allocations: 3.938 kB / 484.3 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.4176, allocations: 55.22 kB / 484.3 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004091/0.418, allocations: 149.3 kB / 484.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.4181, allocations: 7.312 kB / 484.5 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003014/0.4211, allocations: 3.26 MB / 487.7 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.4211, allocations: 3.906 kB / 487.7 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001282/0.4224, allocations: 0.8739 MB / 488.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.4227, allocations: 179 kB / 488.8 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-05/0.4228, allocations: 11.67 kB / 488.8 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.4232, allocations: 35.97 kB / 488.8 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.4233, allocations: 44.11 kB / 488.9 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.4233, allocations: 15.97 kB / 488.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003124/0.4237, allocations: 280.4 kB / 489.2 MB, free: 2.156 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001197/0.4249, allocations: 306.7 kB / 489.5 MB, free: 1.859 MB / 330.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 (42): * Single equations (assignments): 35 * 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.0002149/0.4251, allocations: 138.5 kB / 489.6 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.4268, allocations: 1.23 MB / 490.8 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4268, allocations: 0.75 kB / 490.8 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000565/0.4274, allocations: 481 kB / 491.3 MB, free: 336 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005381/0.428, allocations: 70.69 kB / 491.4 MB, free: 288 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.4303, allocations: 0.9834 MB / 492.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/0.4309, allocations: 0.981 MB / 493.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of SimCode: time 5.82e-07/0.4309, allocations: 4 kB / 493.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of Templates: time 0.0213/0.4522, allocations: 11.54 MB / 0.493 GB, free: 2.867 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_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_RLV/ThyristorBridge2Pulse_RLV.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches