Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_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 trunk/package.mo): time 0.001099/0.001099, allocations: 208.6 kB / 8.541 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 225.5 MB / 234.4 MB, free: 3.328 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009396/0.0009395, allocations: 92.66 kB / 286.3 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/5.871e-06, allocations: 0 / 343.2 MB, free: 8.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1075, allocations: 51.48 MB / 394.6 MB, free: 5.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2854/0.393, allocations: 86.06 MB / 480.7 MB, free: 7.152 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.3933, allocations: 81 kB / 480.8 MB, free: 7.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02583/0.4191, allocations: 10.31 MB / 491.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.6e-05/0.4192, allocations: 8 kB / 491.1 MB, free: 14.61 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001358/0.4206, allocations: 0.7374 MB / 491.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.4206, allocations: 8.031 kB / 491.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.4209, allocations: 67.33 kB / 491.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.4215, allocations: 397.5 kB / 492.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.4216, allocations: 16 kB / 492.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/0.4217, allocations: 28 kB / 492.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000562/0.4222, allocations: 311.5 kB / 492.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.4229, allocations: 419.6 kB / 493 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.4229, allocations: 0 / 493 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.423, allocations: 4 kB / 493.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.423, allocations: 11.91 kB / 493.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.4254, allocations: 1.579 MB / 494.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007256/0.4261, allocations: 367.6 kB / 495 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.4263, allocations: 115.9 kB / 495.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.4264, allocations: 4 kB / 495.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/0.4267, allocations: 222.2 kB / 495.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.4267, allocations: 0 / 495.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006438/0.4273, allocations: 316.5 kB / 495.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.4274, allocations: 132.5 kB / 495.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.4277, allocations: 274.2 kB / 496 MB, free: 10.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.4278, allocations: 32.77 kB / 496.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.4279, allocations: 224.8 kB / 496.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.428, allocations: 95 kB / 496.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/0.428, allocations: 0 / 496.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4281, allocations: 347.2 kB / 496.7 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.4283, allocations: 115.5 kB / 496.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.4286, allocations: 267.5 kB / 497.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.4288, allocations: 129.4 kB / 497.2 MB, free: 9.258 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4288, allocations: 0 / 497.2 MB, free: 9.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005846/0.4294, allocations: 399.7 kB / 497.6 MB, free: 8.941 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005689/0.43, allocations: 1.661 MB / 499.3 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.43, allocations: 4 kB / 499.3 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/0.4302, allocations: 40.66 kB / 499.3 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.4305, allocations: 87.58 kB / 499.4 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.4317, allocations: 1.341 MB / 0.489 GB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.4321, allocations: 63.72 kB / 0.4891 GB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.4321, allocations: 23.86 kB / 0.4891 GB, free: 5.598 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.252e-06/0.4321, allocations: 4 kB / 0.4891 GB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004865/0.4326, allocations: 320.7 kB / 0.4894 GB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4326, allocations: 4.188 kB / 0.4894 GB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001178/0.4328, allocations: 48.19 kB / 0.4895 GB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.4331, allocations: 76.19 kB / 0.4895 GB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009991/0.4341, allocations: 1.353 MB / 0.4908 GB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.4344, allocations: 55.78 kB / 0.4909 GB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.4344, allocations: 19.88 kB / 0.4909 GB, free: 3.789 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: 21 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.4346, allocations: 131.2 kB / 0.491 GB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.4346, allocations: 39.53 kB / 0.4911 GB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.25e-05/0.4347, allocations: 40.75 kB / 0.4911 GB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4347, allocations: 4 kB / 0.4911 GB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4347, allocations: 0 / 0.4911 GB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.4348, allocations: 3.984 kB / 0.4911 GB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.4359, allocations: 0.8155 MB / 0.4919 GB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4359, allocations: 0 / 0.4919 GB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.4361, allocations: 43.95 kB / 0.492 GB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.4363, allocations: 48.56 kB / 0.492 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.4363, allocations: 7.984 kB / 0.492 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.4373, allocations: 1.329 MB / 0.4933 GB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4373, allocations: 3.938 kB / 0.4933 GB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006737/0.438, allocations: 0.5388 MB / 0.4938 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.4382, allocations: 138.4 kB / 0.494 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.4383, allocations: 15.36 kB / 0.494 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.4386, allocations: 45.53 kB / 0.494 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.4387, allocations: 27.52 kB / 0.4941 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.4387, allocations: 15.55 kB / 0.4941 GB, free: 0.793 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002022/0.4389, allocations: 205.2 kB / 0.4943 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006693/0.4396, allocations: 183.3 kB / 0.4944 GB, free: 468 kB / 362.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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001787/0.4398, allocations: 128 kB / 0.4946 GB, free: 332 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009259/0.4407, allocations: 0.6885 MB / 0.4952 GB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4407, allocations: 2.062 kB / 0.4952 GB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.4411, allocations: 243.7 kB / 0.4955 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.4415, allocations: 57.05 kB / 0.4955 GB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.443, allocations: 0.6241 MB / 0.4961 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/0.4435, allocations: 0.907 MB / 0.497 GB, free: 14.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4435, allocations: 0 / 0.497 GB, free: 14.02 MB / 378.7 MB Notification: Performance of Templates: time 0.01246/0.456, allocations: 6.421 MB / 0.5033 GB, free: 7.734 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R_Characteristic/Thyristor1Pulse_R_Characteristic.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches