Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009972/0.0009973, allocations: 183.5 kB / 8.134 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 221.4 MB / 229.9 MB, free: 3.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009083/0.0009083, allocations: 102.3 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.142e-06/6.182e-06, allocations: 0 / 336.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1975, allocations: 50.39 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09384/0.2913, allocations: 85.24 MB / 472.2 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.2916, allocations: 87.22 kB / 472.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02771/0.3194, allocations: 10.17 MB / 482.4 MB, free: 7.324 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.822e-05/0.3194, allocations: 8 kB / 482.4 MB, free: 7.316 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.001208/0.3206, allocations: 0.7198 MB / 483.1 MB, free: 6.551 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3207, allocations: 8.031 kB / 483.2 MB, free: 6.543 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.3208, allocations: 59.25 kB / 483.2 MB, free: 6.484 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005465/0.3213, allocations: 395.7 kB / 483.6 MB, free: 6.059 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.3214, allocations: 12 kB / 483.6 MB, free: 6.047 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/0.3215, allocations: 28 kB / 483.6 MB, free: 6.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005583/0.322, allocations: 317.8 kB / 483.9 MB, free: 5.707 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006878/0.3227, allocations: 417.9 kB / 484.4 MB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3227, allocations: 4.969 kB / 484.4 MB, free: 5.277 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.3228, allocations: 4 kB / 484.4 MB, free: 5.273 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.3228, allocations: 12 kB / 484.4 MB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.3252, allocations: 1.578 MB / 486 MB, free: 3.602 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007634/0.326, allocations: 375 kB / 486.3 MB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.3262, allocations: 108.8 kB / 486.4 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.3262, allocations: 7.984 kB / 486.4 MB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003173/0.3266, allocations: 223.1 kB / 486.7 MB, free: 2.871 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.966e-06/0.3266, allocations: 0 / 486.7 MB, free: 2.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006184/0.3272, allocations: 299.6 kB / 486.9 MB, free: 2.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.3273, allocations: 144.5 kB / 487.1 MB, free: 2.398 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.3276, allocations: 263.5 kB / 487.3 MB, free: 2.133 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.3277, allocations: 33.69 kB / 487.4 MB, free: 2.094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.3278, allocations: 212 kB / 487.6 MB, free: 1.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.11e-05/0.3279, allocations: 98.61 kB / 487.7 MB, free: 1.785 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.3279, allocations: 0 / 487.7 MB, free: 1.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.328, allocations: 346.8 kB / 488 MB, free: 1.438 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.3282, allocations: 112.8 kB / 488.1 MB, free: 1.328 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.3285, allocations: 267 kB / 488.4 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.3287, allocations: 127.9 kB / 488.5 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3287, allocations: 7.938 kB / 488.5 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000598/0.3293, allocations: 385.6 kB / 488.9 MB, free: 488 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005882/0.3299, allocations: 1.659 MB / 490.6 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3299, allocations: 7.672 kB / 490.6 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.3301, allocations: 48.84 kB / 490.6 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.3305, allocations: 75.89 kB / 490.7 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.3316, allocations: 1.346 MB / 492 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.332, allocations: 67.72 kB / 492.1 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.3321, allocations: 24.17 kB / 492.1 MB, free: 13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.3321, allocations: 4 kB / 492.1 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005399/0.3326, allocations: 325.2 kB / 492.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.3327, allocations: 8.078 kB / 492.5 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001323/0.3328, allocations: 48.81 kB / 492.5 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.3331, allocations: 75.84 kB / 492.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.3342, allocations: 1.338 MB / 493.9 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.3345, allocations: 55.78 kB / 494 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.3346, allocations: 20.06 kB / 494 MB, free: 11.02 MB / 378.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.000163/0.3347, allocations: 131.5 kB / 494.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.3348, allocations: 39.53 kB / 494.2 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.3349, allocations: 43.95 kB / 494.2 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3349, allocations: 4 kB / 494.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.3349, allocations: 0 / 494.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3349, allocations: 0 / 494.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.3361, allocations: 0.8158 MB / 495 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3361, allocations: 48 / 495 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.3364, allocations: 55.89 kB / 495.1 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.3365, allocations: 40.83 kB / 495.1 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.3366, allocations: 4 kB / 495.1 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.3376, allocations: 1.322 MB / 496.4 MB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3376, allocations: 3.906 kB / 496.4 MB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007095/0.3383, allocations: 0.5378 MB / 497 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.3385, allocations: 148.6 kB / 497.1 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/0.3386, allocations: 3.938 kB / 497.1 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.3389, allocations: 55.92 kB / 497.2 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.339, allocations: 23.95 kB / 497.2 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.339, allocations: 12 kB / 497.2 MB, free: 7.586 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002021/0.3392, allocations: 207 kB / 497.4 MB, free: 7.387 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006681/0.3399, allocations: 191.2 kB / 497.6 MB, free: 7.199 MB / 378.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.0001747/0.3401, allocations: 128.9 kB / 497.7 MB, free: 7.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009574/0.3411, allocations: 0.6747 MB / 498.4 MB, free: 6.363 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3411, allocations: 0.75 kB / 498.4 MB, free: 6.363 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.3414, allocations: 250.2 kB / 498.7 MB, free: 6.109 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.3417, allocations: 46.52 kB / 498.7 MB, free: 6.066 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.3433, allocations: 0.6207 MB / 499.3 MB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005327/0.3438, allocations: 0.8926 MB / 0.4885 GB, free: 4.504 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3439, allocations: 0 / 0.4885 GB, free: 4.504 MB / 378.7 MB Notification: Performance of Templates: time 0.118/0.4619, allocations: 6.344 MB / 0.4947 GB, free: 135.4 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches