Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_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.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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008594/0.0008595, allocations: 183.3 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.4 MB / 224.2 MB, free: 9.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007577/0.0007577, allocations: 89.03 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002984, allocations: 8 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1924, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08732/0.2798, allocations: 84.8 MB / 461.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.2802, allocations: 87.94 kB / 461.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03339/0.3136, allocations: 9.777 MB / 471.7 MB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3136, allocations: 4 kB / 471.7 MB, free: 1.848 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.486e-05/0.3137, allocations: 12 kB / 471.7 MB, free: 1.836 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.0017/0.3154, allocations: 0.7468 MB / 472.5 MB, free: 1.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3154, allocations: 12.02 kB / 472.5 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.3156, allocations: 56.28 kB / 472.5 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007336/0.3164, allocations: 388.1 kB / 472.9 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/0.3164, allocations: 33.38 kB / 473 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.3165, allocations: 52.31 kB / 473 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.3178, allocations: 483.5 kB / 473.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.3179, allocations: 192 / 473.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.647e-05/0.3179, allocations: 19.94 kB / 473.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.318, allocations: 8 kB / 473.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.3192, allocations: 379.7 kB / 473.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003647/0.3228, allocations: 1.585 MB / 475.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.3243, allocations: 416.3 kB / 475.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004294/0.3248, allocations: 145.2 kB / 476 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.3248, allocations: 4.234 kB / 476 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006983/0.3255, allocations: 281.1 kB / 476.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.835e-06/0.3255, allocations: 0 / 476.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.002112/0.3277, allocations: 0.6239 MB / 476.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.3278, allocations: 114.8 kB / 477 MB, free: 12.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/0.3283, allocations: 316.4 kB / 477.3 MB, free: 11.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/0.3284, allocations: 37.69 kB / 477.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.3287, allocations: 244.1 kB / 477.6 MB, free: 11.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.3288, allocations: 98.64 kB / 477.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.3288, allocations: 4 kB / 477.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.329, allocations: 350.8 kB / 478 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.3295, allocations: 140.8 kB / 478.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006487/0.3302, allocations: 298.2 kB / 478.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.3313, allocations: 416.5 kB / 478.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3313, allocations: 0 / 478.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001352/0.3326, allocations: 486 kB / 479.4 MB, free: 9.754 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.3328, allocations: 208.5 kB / 479.6 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.3329, allocations: 11.94 kB / 479.6 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.3332, allocations: 44.83 kB / 479.6 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.3336, allocations: 71.91 kB / 479.7 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.3354, allocations: 1.506 MB / 481.2 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.336, allocations: 71.7 kB / 481.3 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.3361, allocations: 16 kB / 481.3 MB, free: 7.633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.3361, allocations: 4 kB / 481.3 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001079/0.3372, allocations: 396.4 kB / 481.7 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3372, allocations: 7.938 kB / 481.7 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/0.3374, allocations: 53.41 kB / 481.7 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.3378, allocations: 67.89 kB / 481.8 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.3394, allocations: 1.495 MB / 483.3 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/0.3399, allocations: 67.59 kB / 483.4 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.34, allocations: 16 kB / 483.4 MB, free: 5.398 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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0004266/0.3404, allocations: 271.3 kB / 483.6 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.533e-05/0.3405, allocations: 35.56 kB / 483.7 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.3406, allocations: 39.95 kB / 483.7 MB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.3406, allocations: 4 kB / 483.7 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3407, allocations: 3.938 kB / 483.7 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.3407, allocations: 3.984 kB / 483.7 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.3427, allocations: 0.9332 MB / 484.7 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3427, allocations: 0 / 484.7 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.343, allocations: 43.91 kB / 484.7 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.3432, allocations: 40.83 kB / 484.7 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.3432, allocations: 11.98 kB / 484.8 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.3448, allocations: 1.421 MB / 486.2 MB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3449, allocations: 8.094 kB / 486.2 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.3465, allocations: 0.6327 MB / 486.8 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.3467, allocations: 140.6 kB / 487 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.775e-05/0.3468, allocations: 8 kB / 487 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/0.3473, allocations: 47.89 kB / 487 MB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.3474, allocations: 35.94 kB / 487 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.3475, allocations: 16 kB / 487.1 MB, free: 1.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003548/0.3478, allocations: 223 kB / 487.3 MB, free: 1.254 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3478, allocations: 0 / 487.3 MB, free: 1.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007554/0.3486, allocations: 195.3 kB / 487.5 MB, free: 1.062 MB / 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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 22 * 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.0001616/0.3488, allocations: 123 kB / 487.6 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.3501, allocations: 0.7965 MB / 488.4 MB, free: 116 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3502, allocations: 4.062 kB / 488.4 MB, free: 112 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006655/0.3508, allocations: 294.5 kB / 488.7 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/0.3515, allocations: 69.42 kB / 488.7 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.3539, allocations: 0.9925 MB / 489.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/0.3545, allocations: 0.8434 MB / 490.6 MB, free: 13.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004209/0.3549, allocations: 62.92 kB / 490.6 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.3551, allocations: 27.44 kB / 490.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of SimCode: time 1.824e-06/0.3551, allocations: 0 / 490.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of Templates: time 0.01443/0.3695, allocations: 4.867 MB / 495.5 MB, free: 8.93 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R_Characteristic/Thyristor1Pulse_R_Characteristic.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches