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_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_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_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.0009565/0.0009568, allocations: 179.2 kB / 8.477 MB, free: 1.879 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.218/1.218, allocations: 205.2 MB / 214.1 MB, free: 1.883 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.001223/0.001223, allocations: 79.42 kB / 262.1 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.802e-06/6.832e-06, allocations: 0 / 315 MB, free: 23.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08112/0.08115, allocations: 47.59 MB / 362.6 MB, free: 7.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2456/0.3268, allocations: 88.08 MB / 450.7 MB, free: 7.469 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.3272, allocations: 87.02 kB / 450.7 MB, free: 7.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0457/0.3729, allocations: 14.07 MB / 464.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.303e-05/0.373, allocations: 15.98 kB / 464.8 MB, free: 11.73 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001526/0.3745, allocations: 0.9441 MB / 465.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3745, allocations: 8.031 kB / 465.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.3747, allocations: 90.97 kB / 465.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007927/0.3755, allocations: 0.5008 MB / 466.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.3755, allocations: 27.06 kB / 466.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.3757, allocations: 47.91 kB / 466.4 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008301/0.3765, allocations: 489.9 kB / 466.9 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009606/0.3775, allocations: 0.6173 MB / 467.5 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.3775, allocations: 3.938 kB / 467.5 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.3776, allocations: 7.984 kB / 467.5 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.3776, allocations: 23.94 kB / 467.6 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003407/0.381, allocations: 2.555 MB / 470.1 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.382, allocations: 0.5575 MB / 470.7 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006509/0.3827, allocations: 405.6 kB / 471.1 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/0.3827, allocations: 4.5 kB / 471.1 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004527/0.3832, allocations: 319.4 kB / 471.4 MB, free: 6.281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=61): time 2.525e-06/0.3832, allocations: 0 / 471.4 MB, free: 6.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.00107/0.3843, allocations: 0.5459 MB / 471.9 MB, free: 5.871 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/0.3844, allocations: 123.3 kB / 472.1 MB, free: 5.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.3848, allocations: 344.8 kB / 472.4 MB, free: 5.461 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/0.3848, allocations: 36.88 kB / 472.4 MB, free: 5.422 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.385, allocations: 266.2 kB / 472.7 MB, free: 5.184 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.3851, allocations: 176.4 kB / 472.9 MB, free: 5.031 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.3852, allocations: 4 kB / 472.9 MB, free: 5.027 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3853, allocations: 369.4 kB / 473.2 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.3856, allocations: 183.9 kB / 473.4 MB, free: 4.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.386, allocations: 336.6 kB / 473.7 MB, free: 4.285 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.3863, allocations: 201.5 kB / 473.9 MB, free: 4.156 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3863, allocations: 0 / 473.9 MB, free: 4.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009318/0.3873, allocations: 0.6206 MB / 474.6 MB, free: 3.688 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005755/0.3878, allocations: 1.566 MB / 476.1 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.3879, allocations: 7.984 kB / 476.1 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004737/0.3883, allocations: 164.3 kB / 476.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.3888, allocations: 111.4 kB / 476.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/0.3918, allocations: 3.294 MB / 479.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.3923, allocations: 71.62 kB / 479.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.3923, allocations: 26.31 kB / 479.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.3924, allocations: 4 kB / 479.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008376/0.3932, allocations: 0.5353 MB / 480.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3932, allocations: 4 kB / 480.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003879/0.3936, allocations: 153.5 kB / 480.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.394, allocations: 107.4 kB / 480.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/0.3968, allocations: 3.287 MB / 483.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.3972, allocations: 59.62 kB / 483.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.3973, allocations: 26.62 kB / 484 MB, free: 10.73 MB / 362.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.0002001/0.3975, allocations: 136.4 kB / 484.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.801e-05/0.3976, allocations: 59.62 kB / 484.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.3978, allocations: 60.34 kB / 484.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.3978, allocations: 8 kB / 484.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3978, allocations: 0 / 484.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3978, allocations: 7.922 kB / 484.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.3998, allocations: 1.284 MB / 485.5 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3998, allocations: 0 / 485.5 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/0.4001, allocations: 79.88 kB / 485.6 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004181/0.4006, allocations: 146.3 kB / 485.7 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.4006, allocations: 2.875 kB / 485.7 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003064/0.4037, allocations: 3.267 MB / 489 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4037, allocations: 0 / 489 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001233/0.405, allocations: 0.8965 MB / 489.9 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.4052, allocations: 192.2 kB / 490.1 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.763e-05/0.4053, allocations: 4 kB / 490.1 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.4057, allocations: 43.97 kB / 490.1 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.4058, allocations: 48.41 kB / 490.2 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.4059, allocations: 16 kB / 490.2 MB, free: 4.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003125/0.4062, allocations: 267.2 kB / 490.5 MB, free: 4.621 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001083/0.4073, allocations: 315 kB / 490.8 MB, free: 4.312 MB / 362.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.0002117/0.4075, allocations: 129.1 kB / 490.9 MB, free: 4.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001916/0.4094, allocations: 1.25 MB / 492.1 MB, free: 2.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4094, allocations: 4.078 kB / 492.1 MB, free: 2.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006221/0.4101, allocations: 0.4908 MB / 492.6 MB, free: 2.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.4106, allocations: 69.88 kB / 492.7 MB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.413, allocations: 1.013 MB / 493.7 MB, free: 1.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006043/0.4137, allocations: 0.9895 MB / 494.7 MB, free: 248 kB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4137, allocations: 0 / 494.7 MB, free: 248 kB / 362.7 MB Notification: Performance of Templates: time 0.01995/0.4336, allocations: 11.9 MB / 0.4947 GB, free: 4.324 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_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_Characteristic/ThyristorBridge2Pulse_RLV_Characteristic.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches