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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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") [: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.001063/0.001063, allocations: 181.8 kB / 8.134 MB, free: 2.207 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.213/1.213, allocations: 221.4 MB / 229.9 MB, free: 2.977 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.0009697/0.0009697, allocations: 104.9 kB / 280.8 MB, free: 1.215 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.56e-06/5.601e-06, allocations: 0 / 336.5 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1924, allocations: 50.39 MB / 386.9 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08913/0.2816, allocations: 85.05 MB / 472 MB, free: 1.781 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.2819, allocations: 85.72 kB / 472.1 MB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02782/0.3097, allocations: 10.02 MB / 482.1 MB, free: 7.691 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.924e-05/0.3098, allocations: 16 kB / 482.1 MB, free: 7.676 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001173/0.311, allocations: 0.7033 MB / 482.8 MB, free: 6.926 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.311, allocations: 8.031 kB / 482.8 MB, free: 6.918 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.3111, allocations: 59.28 kB / 482.9 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/0.3117, allocations: 375.7 kB / 483.2 MB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.3117, allocations: 20.94 kB / 483.3 MB, free: 6.434 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.3118, allocations: 24 kB / 483.3 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005486/0.3123, allocations: 301.9 kB / 483.6 MB, free: 6.113 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006516/0.313, allocations: 421.8 kB / 484 MB, free: 5.684 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.313, allocations: 0 / 484 MB, free: 5.684 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.3131, allocations: 4 kB / 484 MB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.3131, allocations: 15.91 kB / 484 MB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.3155, allocations: 1.551 MB / 485.6 MB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/0.316, allocations: 265.5 kB / 485.8 MB, free: 3.766 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.3161, allocations: 96.84 kB / 485.9 MB, free: 3.668 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.3162, allocations: 3.938 kB / 485.9 MB, free: 3.664 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003603/0.3165, allocations: 208.9 kB / 486.1 MB, free: 3.441 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.3165, allocations: 0 / 486.1 MB, free: 3.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005703/0.3171, allocations: 270.5 kB / 486.4 MB, free: 3.168 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/0.3172, allocations: 152.3 kB / 486.5 MB, free: 2.988 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.3175, allocations: 279.5 kB / 486.8 MB, free: 2.711 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.3176, allocations: 37.69 kB / 486.8 MB, free: 2.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.3177, allocations: 211.9 kB / 487.1 MB, free: 2.457 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.809e-05/0.3178, allocations: 86.81 kB / 487.1 MB, free: 2.371 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/0.3178, allocations: 0 / 487.1 MB, free: 2.371 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3179, allocations: 346.8 kB / 487.5 MB, free: 2.023 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.3181, allocations: 100.9 kB / 487.6 MB, free: 1.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.3184, allocations: 259 kB / 487.8 MB, free: 1.605 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.3186, allocations: 131.9 kB / 488 MB, free: 1.477 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3186, allocations: 4 kB / 488 MB, free: 1.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005992/0.3192, allocations: 390.6 kB / 488.3 MB, free: 1.082 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005485/0.3198, allocations: 1.655 MB / 490 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3198, allocations: 8 kB / 490 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.32, allocations: 48.92 kB / 490.1 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.3203, allocations: 79.83 kB / 490.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.3215, allocations: 1.346 MB / 491.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.3219, allocations: 71.7 kB / 491.5 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.3219, allocations: 16.06 kB / 491.6 MB, free: 13.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-06/0.3219, allocations: 8 kB / 491.6 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004889/0.3224, allocations: 304.4 kB / 491.9 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3224, allocations: 4.531 kB / 491.9 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001287/0.3226, allocations: 52.83 kB / 491.9 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.3228, allocations: 67.84 kB / 492 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.3239, allocations: 1.35 MB / 493.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.3242, allocations: 51.73 kB / 493.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.3243, allocations: 19.98 kB / 493.4 MB, free: 11.64 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 (48): * Single equations (assignments): 47 * 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.0001691/0.3245, allocations: 119.6 kB / 493.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/0.3246, allocations: 35.62 kB / 493.6 MB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.3247, allocations: 39.86 kB / 493.6 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3247, allocations: 8 kB / 493.6 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3247, allocations: 0 / 493.6 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3247, allocations: 3.984 kB / 493.6 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.326, allocations: 0.7768 MB / 494.4 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.326, allocations: 4 kB / 494.4 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.3262, allocations: 31.92 kB / 494.4 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/0.3264, allocations: 40.89 kB / 494.5 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.3264, allocations: 8 kB / 494.5 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.3276, allocations: 1.335 MB / 495.8 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3276, allocations: 0 / 495.8 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008901/0.3285, allocations: 0.5162 MB / 496.3 MB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.3287, allocations: 136.6 kB / 496.5 MB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.799e-05/0.3288, allocations: 4 kB / 496.5 MB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.3292, allocations: 39.97 kB / 496.5 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-05/0.3293, allocations: 23.88 kB / 496.5 MB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.3293, allocations: 11.98 kB / 496.5 MB, free: 8.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002236/0.3296, allocations: 215.1 kB / 496.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006621/0.3302, allocations: 187.2 kB / 496.9 MB, free: 7.918 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 (27): * Single equations (assignments): 21 * 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.0001731/0.3304, allocations: 124.9 kB / 497 MB, free: 7.781 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008908/0.3313, allocations: 0.6559 MB / 497.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3313, allocations: 0.75 kB / 497.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.3316, allocations: 237.6 kB / 497.9 MB, free: 6.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.3319, allocations: 39.86 kB / 498 MB, free: 6.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.3332, allocations: 0.5926 MB / 498.6 MB, free: 6.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/0.3337, allocations: 0.8871 MB / 499.5 MB, free: 5.297 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3337, allocations: 0 / 499.5 MB, free: 5.297 MB / 378.7 MB Notification: Performance of Templates: time 0.1076/0.4413, allocations: 6.049 MB / 0.4937 GB, free: 136.6 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_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/Thyristor1Pulse_R.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches