Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") [: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.001571/0.001571, allocations: 178.9 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.151/1.151, allocations: 205.2 MB / 214.1 MB, free: 5.172 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.0008937/0.0008938, allocations: 93.91 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: 4 kB / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0693/0.06933, allocations: 47.58 MB / 362.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2656/0.3349, allocations: 86.88 MB / 449.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.3352, allocations: 89.12 kB / 449.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02448/0.3597, allocations: 10.54 MB / 460.1 MB, free: 6.109 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.785e-05/0.3597, allocations: 18 kB / 460.1 MB, free: 6.105 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001271/0.361, allocations: 0.871 MB / 461 MB, free: 5.457 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3611, allocations: 9.969 kB / 461 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.3612, allocations: 83.84 kB / 461.1 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007585/0.362, allocations: 499.1 kB / 461.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.483e-05/0.3621, allocations: 23.78 kB / 461.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.181e-05/0.3622, allocations: 38.06 kB / 461.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007959/0.363, allocations: 452.6 kB / 462.1 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009035/0.3639, allocations: 0.5737 MB / 462.6 MB, free: 4.871 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.3639, allocations: 5.094 kB / 462.6 MB, free: 4.867 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/0.364, allocations: 9.109 kB / 462.6 MB, free: 4.863 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.364, allocations: 14.94 kB / 462.7 MB, free: 4.863 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.3669, allocations: 2.454 MB / 465.1 MB, free: 3.434 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.3676, allocations: 434.1 kB / 465.5 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.3679, allocations: 242.4 kB / 465.8 MB, free: 3.355 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.368, allocations: 13.36 kB / 465.8 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/0.3684, allocations: 287.9 kB / 466.1 MB, free: 3.238 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 1.823e-06/0.3684, allocations: 0 / 466.1 MB, free: 3.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.0007524/0.3691, allocations: 471.1 kB / 466.5 MB, free: 3.125 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.3692, allocations: 111.2 kB / 466.6 MB, free: 3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.3695, allocations: 362.7 kB / 467 MB, free: 2.859 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.3696, allocations: 34.27 kB / 467 MB, free: 2.828 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.3697, allocations: 254.2 kB / 467.3 MB, free: 2.633 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.163e-05/0.3698, allocations: 160.7 kB / 467.4 MB, free: 2.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.3699, allocations: 0 / 467.4 MB, free: 2.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.37, allocations: 360.5 kB / 467.8 MB, free: 2.191 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.3702, allocations: 167 kB / 467.9 MB, free: 2.184 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.3705, allocations: 314.2 kB / 468.2 MB, free: 2.004 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.3708, allocations: 179.6 kB / 468.4 MB, free: 1.969 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3708, allocations: 1.25 kB / 468.4 MB, free: 1.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008411/0.3717, allocations: 0.5687 MB / 469 MB, free: 1.832 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002166/0.3719, allocations: 1.574 MB / 470.6 MB, free: 184 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3719, allocations: 4.656 kB / 470.6 MB, free: 184 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004362/0.3723, allocations: 150.3 kB / 470.7 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.3727, allocations: 87.27 kB / 470.8 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.375, allocations: 2.064 MB / 472.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004385/0.3754, allocations: 71.83 kB / 472.9 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.3755, allocations: 21.44 kB / 473 MB, free: 14.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.3755, allocations: 7.875 kB / 473 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000751/0.3763, allocations: 493.6 kB / 473.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3763, allocations: 3.969 kB / 473.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000366/0.3767, allocations: 141.2 kB / 473.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.377, allocations: 79.38 kB / 473.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.3791, allocations: 2.07 MB / 475.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.3795, allocations: 58 kB / 475.8 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.3795, allocations: 28.88 kB / 475.8 MB, free: 13.2 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: 27 ($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,rectifier.diode_n1.off,rectifier.diode_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 (59): * Single equations (assignments): 58 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.3797, allocations: 138.9 kB / 476 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/0.3798, allocations: 56.98 kB / 476 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.3799, allocations: 55 kB / 476.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.3799, allocations: 5.094 kB / 476.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3799, allocations: 3.938 kB / 476.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.38, allocations: 5.328 kB / 476.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.3816, allocations: 1.167 MB / 477.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3816, allocations: 0 / 477.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.3818, allocations: 52.03 kB / 477.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003528/0.3822, allocations: 140.2 kB / 477.4 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.3822, allocations: 0 / 477.4 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/0.3843, allocations: 2.036 MB / 479.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3843, allocations: 3.984 kB / 479.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001027/0.3854, allocations: 0.8186 MB / 480.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.3856, allocations: 179.1 kB / 480.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.23e-05/0.3857, allocations: 7.812 kB / 480.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.386, allocations: 31.97 kB / 480.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/0.3861, allocations: 40.19 kB / 480.5 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.3861, allocations: 19.86 kB / 480.6 MB, free: 9.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002599/0.3864, allocations: 264.5 kB / 480.8 MB, free: 9.781 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008029/0.3872, allocations: 295 kB / 481.1 MB, free: 9.496 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001644/0.3874, allocations: 125 kB / 481.2 MB, free: 9.363 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.3888, allocations: 0.9968 MB / 482.2 MB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3888, allocations: 0 / 482.2 MB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004602/0.3892, allocations: 372.6 kB / 482.6 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.3897, allocations: 82.14 kB / 482.7 MB, free: 8.254 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.3915, allocations: 0.8663 MB / 483.5 MB, free: 7.473 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/0.392, allocations: 0.9642 MB / 484.5 MB, free: 6.488 MB / 330.7 MB Notification: Performance of SimCode: time 3e-07/0.392, allocations: 0 / 484.5 MB, free: 6.488 MB / 330.7 MB Notification: Performance of Templates: time 0.01675/0.4088, allocations: 11.03 MB / 495.5 MB, free: 11.48 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_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/HalfControlledBridge2Pulse/HalfControlledBridge2Pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches