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_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_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_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.001061/0.001061, allocations: 183.2 kB / 8.481 MB, free: 1.883 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.149/1.149, allocations: 205.2 MB / 214.1 MB, free: 5.465 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.0009176/0.0009178, allocations: 87.38 kB / 262.1 MB, free: 5.52 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.535e-06/7.555e-06, allocations: 4 kB / 315 MB, free: 41.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07817/0.07819, allocations: 47.58 MB / 362.6 MB, free: 10 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.3101, allocations: 87.09 MB / 449.7 MB, free: 9.957 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.3103, allocations: 88.94 kB / 449.7 MB, free: 9.941 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03372/0.3441, allocations: 13.57 MB / 463.3 MB, free: 4.781 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.258e-05/0.3442, allocations: 25.89 kB / 463.3 MB, free: 4.777 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002111/0.3463, allocations: 0.8898 MB / 464.2 MB, free: 4.121 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3464, allocations: 8.906 kB / 464.2 MB, free: 4.121 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003331/0.3467, allocations: 89.84 kB / 464.3 MB, free: 4.074 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.3478, allocations: 0.4933 MB / 464.8 MB, free: 3.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/0.3479, allocations: 25.09 kB / 464.8 MB, free: 3.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.3481, allocations: 38.72 kB / 464.9 MB, free: 3.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001088/0.3491, allocations: 468.6 kB / 465.3 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.3503, allocations: 0.5974 MB / 465.9 MB, free: 3.523 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.3504, allocations: 1.281 kB / 465.9 MB, free: 3.523 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/0.3504, allocations: 5.078 kB / 465.9 MB, free: 3.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.3504, allocations: 15.69 kB / 466 MB, free: 3.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003652/0.3541, allocations: 2.533 MB / 468.5 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/0.3549, allocations: 445.5 kB / 468.9 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006057/0.3555, allocations: 347.4 kB / 469.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.165e-05/0.3555, allocations: 4.812 kB / 469.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004412/0.356, allocations: 304.9 kB / 469.6 MB, free: 1.832 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 2.906e-06/0.356, allocations: 0 / 469.6 MB, free: 1.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.0009891/0.357, allocations: 0.5079 MB / 470.1 MB, free: 1.699 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3571, allocations: 118.4 kB / 470.2 MB, free: 1.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/0.3575, allocations: 365.4 kB / 470.5 MB, free: 1.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.3576, allocations: 32.98 kB / 470.6 MB, free: 1.398 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.3577, allocations: 265.8 kB / 470.8 MB, free: 1.199 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.3578, allocations: 171.6 kB / 471 MB, free: 1.078 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.3579, allocations: 0 / 471 MB, free: 1.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.358, allocations: 359.8 kB / 471.4 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.3583, allocations: 182.2 kB / 471.5 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.3587, allocations: 331.1 kB / 471.9 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.359, allocations: 193.1 kB / 472 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.359, allocations: 1.156 kB / 472 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001038/0.3601, allocations: 0.6086 MB / 472.7 MB, free: 388 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000539/0.3606, allocations: 1.573 MB / 474.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.3607, allocations: 8.188 kB / 474.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000495/0.3612, allocations: 155.1 kB / 474.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.3615, allocations: 94.23 kB / 474.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/0.3649, allocations: 3.302 MB / 477.8 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/0.3655, allocations: 70.91 kB / 477.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.884e-05/0.3655, allocations: 27.06 kB / 477.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/0.3655, allocations: 4 kB / 477.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008683/0.3664, allocations: 0.5209 MB / 478.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3664, allocations: 4.5 kB / 478.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004015/0.3668, allocations: 171.7 kB / 478.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.3672, allocations: 83.03 kB / 478.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.3701, allocations: 3.293 MB / 481.9 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.3706, allocations: 67.56 kB / 482 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.3707, allocations: 23.25 kB / 482 MB, free: 8.125 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 (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.000242/0.3709, allocations: 132.6 kB / 482.2 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.3711, allocations: 55.34 kB / 482.2 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.3713, allocations: 66.3 kB / 482.3 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3713, allocations: 4.375 kB / 482.3 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3713, allocations: 0 / 482.3 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3713, allocations: 4 kB / 482.3 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.3734, allocations: 1.259 MB / 483.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3734, allocations: 3.938 kB / 483.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.3737, allocations: 51.03 kB / 483.6 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003916/0.3741, allocations: 152.9 kB / 483.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.3741, allocations: 3.188 kB / 483.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003019/0.3771, allocations: 3.261 MB / 487 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3772, allocations: 0 / 487 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001388/0.3786, allocations: 0.8687 MB / 487.9 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.3789, allocations: 182.4 kB / 488.1 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.379, allocations: 15.84 kB / 488.1 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.3794, allocations: 27.97 kB / 488.1 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.3795, allocations: 47.73 kB / 488.2 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.3796, allocations: 19.48 kB / 488.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003458/0.3799, allocations: 268 kB / 488.4 MB, free: 2.574 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001277/0.3812, allocations: 299.1 kB / 488.7 MB, free: 2.281 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_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.0002385/0.3815, allocations: 130.2 kB / 488.9 MB, free: 2.148 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.3834, allocations: 1.223 MB / 490.1 MB, free: 1.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3835, allocations: 4.062 kB / 490.1 MB, free: 1.156 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005793/0.384, allocations: 473.3 kB / 490.5 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.3846, allocations: 85.33 kB / 490.6 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.3873, allocations: 0.954 MB / 491.6 MB, free: 15.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/0.388, allocations: 0.9815 MB / 492.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of SimCode: time 5.2e-07/0.388, allocations: 0 / 492.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of Templates: time 0.02031/0.4083, allocations: 11.46 MB / 0.4922 GB, free: 3.395 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_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_RL/ThyristorBridge2Pulse_RL.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches