Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.002556/0.002555, allocations: 175.9 kB / 8.152 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.691/1.691, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.00125/0.00125, allocations: 96.61 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.696e-06, allocations: 0 / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2408, allocations: 47.56 MB / 361.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.3741, allocations: 87.12 MB / 449 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/0.3745, allocations: 91.94 kB / 449.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0565/0.431, allocations: 13 MB / 462.1 MB, free: 1.871 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.988e-05/0.4311, allocations: 16 kB / 462.1 MB, free: 1.855 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002519/0.4337, allocations: 0.8915 MB / 463 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.4337, allocations: 8.031 kB / 463 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002873/0.434, allocations: 83.06 kB / 463.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.4353, allocations: 489.9 kB / 463.5 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.4354, allocations: 20 kB / 463.5 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.4356, allocations: 44 kB / 463.6 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001425/0.437, allocations: 411.4 kB / 464 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.4387, allocations: 0.5495 MB / 464.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/0.4388, allocations: 3.906 kB / 464.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.4389, allocations: 3.984 kB / 464.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.4389, allocations: 16 kB / 464.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00575/0.4447, allocations: 2.211 MB / 466.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.4463, allocations: 472.6 kB / 467.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008213/0.4472, allocations: 258.4 kB / 467.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/0.4472, allocations: 8.359 kB / 467.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006782/0.4479, allocations: 279.8 kB / 467.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 3.066e-06/0.4479, allocations: 4 kB / 467.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.001256/0.4492, allocations: 407.4 kB / 468.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.215e-05/0.4493, allocations: 141 kB / 468.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006561/0.45, allocations: 341 kB / 468.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.495e-05/0.4501, allocations: 33.7 kB / 468.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.4503, allocations: 298.6 kB / 469 MB, free: 10.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.4505, allocations: 147.1 kB / 469.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.4506, allocations: 4.031 kB / 469.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4507, allocations: 330.8 kB / 469.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006639/0.4514, allocations: 153.3 kB / 469.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.4525, allocations: 300.2 kB / 469.9 MB, free: 9.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/0.4531, allocations: 160.7 kB / 470 MB, free: 9.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.4531, allocations: 0 / 470 MB, free: 9.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001414/0.4545, allocations: 487.5 kB / 470.5 MB, free: 9.012 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006973/0.4552, allocations: 1.657 MB / 472.2 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.4553, allocations: 4 kB / 472.2 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000464/0.4558, allocations: 76.83 kB / 472.3 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/0.4566, allocations: 107.8 kB / 472.4 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.459, allocations: 1.546 MB / 473.9 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.4597, allocations: 75.7 kB / 474 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.4598, allocations: 20 kB / 474 MB, free: 5.285 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.4598, allocations: 4 kB / 474 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001259/0.4611, allocations: 430.3 kB / 474.4 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.4611, allocations: 5.219 kB / 474.4 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003756/0.4615, allocations: 77.78 kB / 474.5 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/0.4623, allocations: 104 kB / 474.6 MB, free: 4.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.4645, allocations: 1.551 MB / 476.2 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/0.4653, allocations: 63.72 kB / 476.2 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.4653, allocations: 20 kB / 476.2 MB, free: 2.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (63): * Single equations (assignments): 62 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002451/0.4656, allocations: 60.62 kB / 476.3 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.4658, allocations: 51.34 kB / 476.3 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.466, allocations: 52.97 kB / 476.4 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.466, allocations: 8 kB / 476.4 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.466, allocations: 0 / 476.4 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.4661, allocations: 4.641 kB / 476.4 MB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.4689, allocations: 1.163 MB / 477.6 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.469, allocations: 0 / 477.6 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006763/0.4697, allocations: 79.92 kB / 477.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/0.4701, allocations: 64.83 kB / 477.7 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.4701, allocations: 8.062 kB / 477.7 MB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.4724, allocations: 1.547 MB / 479.3 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.4724, allocations: 0 / 479.3 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001955/0.4744, allocations: 0.7359 MB / 480 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004944/0.4749, allocations: 172.3 kB / 480.2 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.4751, allocations: 8 kB / 480.2 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/0.4761, allocations: 47.95 kB / 480.2 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.4763, allocations: 44.31 kB / 480.3 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/0.4764, allocations: 11.98 kB / 480.3 MB, free: 14.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005396/0.4769, allocations: 259.2 kB / 480.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001495/0.4785, allocations: 259 kB / 480.8 MB, free: 14.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (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_p.off,rectifier.thyristor_n.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_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 37 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003126/0.4788, allocations: 117.2 kB / 480.9 MB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.4811, allocations: 0.8492 MB / 481.8 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.4811, allocations: 0 / 481.8 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007751/0.4819, allocations: 327.4 kB / 482.1 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008339/0.4827, allocations: 69.78 kB / 482.1 MB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.486, allocations: 0.8955 MB / 483 MB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009442/0.487, allocations: 0.9698 MB / 484 MB, free: 10.83 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/0.487, allocations: 4 kB / 484 MB, free: 10.82 MB / 378.7 MB Notification: Performance of Templates: time 0.02127/0.5083, allocations: 9.819 MB / 493.8 MB, free: 1.012 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV_Characteristic/ThyristorCenterTap2Pulse_RLV_Characteristic.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches