Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.0009907/0.0009908, allocations: 187.4 kB / 8.48 MB, free: 1.867 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.13/1.13, allocations: 205.2 MB / 214.1 MB, free: 5.082 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.0008229/0.0008229, allocations: 98.3 kB / 262.1 MB, free: 5.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.782e-06/6.803e-06, allocations: 0 / 315 MB, free: 41.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06981/0.06983, allocations: 47.58 MB / 362.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2296/0.2994, allocations: 86.88 MB / 449.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.2997, allocations: 83.78 kB / 449.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03235/0.332, allocations: 12.88 MB / 462.4 MB, free: 5.344 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.562e-05/0.3321, allocations: 13.75 kB / 462.4 MB, free: 5.344 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001709/0.3339, allocations: 0.8616 MB / 463.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3339, allocations: 9.625 kB / 463.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.3342, allocations: 78.94 kB / 463.4 MB, free: 4.664 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008492/0.335, allocations: 485.5 kB / 463.8 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/0.3351, allocations: 32.97 kB / 463.9 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.3352, allocations: 35.78 kB / 463.9 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008591/0.3361, allocations: 409 kB / 464.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009579/0.337, allocations: 0.5375 MB / 464.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.3371, allocations: 2.125 kB / 464.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/0.3371, allocations: 5.234 kB / 464.8 MB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.3372, allocations: 14.44 kB / 464.9 MB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/0.3404, allocations: 2.211 MB / 467.1 MB, free: 2.844 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.3411, allocations: 349.1 kB / 467.4 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004729/0.3415, allocations: 236.7 kB / 467.6 MB, free: 2.762 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.3416, allocations: 8.328 kB / 467.7 MB, free: 2.758 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003842/0.342, allocations: 267 kB / 467.9 MB, free: 2.633 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 2.215e-06/0.342, allocations: 0 / 467.9 MB, free: 2.633 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.0007779/0.3428, allocations: 384.3 kB / 468.3 MB, free: 2.531 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.3429, allocations: 144.6 kB / 468.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004802/0.3433, allocations: 359 kB / 468.8 MB, free: 2.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.3434, allocations: 33.36 kB / 468.8 MB, free: 2.199 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.3436, allocations: 265.2 kB / 469.1 MB, free: 2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.931e-05/0.3437, allocations: 134.8 kB / 469.2 MB, free: 1.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.3437, allocations: 0 / 469.2 MB, free: 1.902 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.393e-05/0.3438, allocations: 359.8 kB / 469.6 MB, free: 1.574 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.3441, allocations: 140.2 kB / 469.7 MB, free: 1.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.3444, allocations: 302.5 kB / 470 MB, free: 1.383 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.3447, allocations: 161 kB / 470.1 MB, free: 1.355 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.3447, allocations: 4.969 kB / 470.2 MB, free: 1.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008534/0.3456, allocations: 0.4994 MB / 470.7 MB, free: 1.211 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004323/0.346, allocations: 1.662 MB / 472.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.346, allocations: 4.5 kB / 472.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/0.3464, allocations: 79.78 kB / 472.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.3468, allocations: 102.9 kB / 472.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.3483, allocations: 1.556 MB / 474.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005123/0.3489, allocations: 78.14 kB / 474.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.3489, allocations: 20.66 kB / 474.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.3489, allocations: 3.594 kB / 474.2 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007048/0.3497, allocations: 421.7 kB / 474.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.3497, allocations: 8.062 kB / 474.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/0.3499, allocations: 77.27 kB / 474.6 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.3503, allocations: 92.61 kB / 474.7 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.3516, allocations: 1.546 MB / 476.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.3521, allocations: 67.69 kB / 476.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/0.3521, allocations: 28.27 kB / 476.4 MB, free: 12.66 MB / 330.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 (62): * Single equations (assignments): 61 * 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.0001928/0.3523, allocations: 127.9 kB / 476.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.3524, allocations: 55.03 kB / 476.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.3526, allocations: 57.08 kB / 476.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3526, allocations: 4.594 kB / 476.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3526, allocations: 1.062 kB / 476.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3526, allocations: 1.25 kB / 476.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.3544, allocations: 1.123 MB / 477.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3544, allocations: 3.906 kB / 477.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.3547, allocations: 48.91 kB / 477.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/0.3549, allocations: 72.66 kB / 477.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.3549, allocations: 7.375 kB / 477.9 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.3563, allocations: 1.533 MB / 479.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3563, allocations: 4 kB / 479.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009867/0.3573, allocations: 0.7027 MB / 480.1 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.3575, allocations: 174.9 kB / 480.3 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.563e-05/0.3576, allocations: 0 / 480.3 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.358, allocations: 39.97 kB / 480.3 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3581, allocations: 39.31 kB / 480.4 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.3581, allocations: 19.3 kB / 480.4 MB, free: 9.566 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003064/0.3585, allocations: 265.1 kB / 480.6 MB, free: 9.371 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009795/0.3594, allocations: 263 kB / 480.9 MB, free: 9.113 MB / 330.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 (40): * 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: 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.0002005/0.3597, allocations: 129 kB / 481 MB, free: 8.984 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.361, allocations: 0.8324 MB / 481.9 MB, free: 8.332 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.361, allocations: 0 / 481.9 MB, free: 8.332 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.3614, allocations: 309.1 kB / 482.2 MB, free: 8.086 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.3619, allocations: 62.92 kB / 482.2 MB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.3639, allocations: 0.8524 MB / 483.1 MB, free: 7.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006239/0.3645, allocations: 0.9647 MB / 484 MB, free: 6.266 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3646, allocations: 0 / 484 MB, free: 6.266 MB / 330.7 MB Notification: Performance of Templates: time 0.01549/0.3801, allocations: 8.641 MB / 492.7 MB, free: 13.66 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV/ThyristorCenterTap2Pulse_RLV.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches