Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002138/0.002138, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.923/1.923, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001061/0.001061, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.499e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09307, allocations: 47.58 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4124/0.5055, allocations: 84.62 MB / 453.7 MB, free: 8.633 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.5059, allocations: 84.45 kB / 453.8 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04352/0.5495, allocations: 9.755 MB / 463.6 MB, free: 312 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5495, allocations: 4 kB / 463.6 MB, free: 308 kB / 330.7 MB Notification: Performance of Transformations before backend: time 5.011e-05/0.5496, allocations: 12 kB / 463.6 MB, free: 296 kB / 330.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.001987/0.5516, allocations: 0.6981 MB / 464.3 MB, free: 15.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.5517, allocations: 11.97 kB / 464.3 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.5519, allocations: 55.34 kB / 464.3 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009139/0.5528, allocations: 379.2 kB / 464.7 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.193e-05/0.5529, allocations: 40.09 kB / 464.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.553, allocations: 46.94 kB / 464.8 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5542, allocations: 433 kB / 465.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.5542, allocations: 0 / 465.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.831e-05/0.5543, allocations: 15.62 kB / 465.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.5544, allocations: 12 kB / 465.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008283/0.5552, allocations: 298.5 kB / 465.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004065/0.5593, allocations: 1.578 MB / 467.1 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.5606, allocations: 355.5 kB / 467.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.561, allocations: 106.2 kB / 467.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.561, allocations: 4.234 kB / 467.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000593/0.5616, allocations: 245.1 kB / 467.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.645e-06/0.5616, allocations: 0 / 467.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001039/0.5627, allocations: 306 kB / 468.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.5628, allocations: 114.8 kB / 468.2 MB, free: 11.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/0.5633, allocations: 282.6 kB / 468.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.071e-05/0.5634, allocations: 37.7 kB / 468.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.5637, allocations: 294.5 kB / 468.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.5638, allocations: 94.73 kB / 468.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.5638, allocations: 12 kB / 468.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.564, allocations: 322.8 kB / 469.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.5643, allocations: 100.9 kB / 469.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.5648, allocations: 258.9 kB / 469.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.5652, allocations: 124.4 kB / 469.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.5652, allocations: 0 / 469.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001005/0.5662, allocations: 398.1 kB / 470.1 MB, free: 9.844 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007492/0.567, allocations: 1.654 MB / 471.8 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.567, allocations: 4 kB / 471.8 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.5674, allocations: 52.77 kB / 471.8 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/0.5679, allocations: 83.83 kB / 471.9 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.5698, allocations: 1.491 MB / 473.4 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006492/0.5705, allocations: 71.72 kB / 473.5 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.5705, allocations: 19.98 kB / 473.5 MB, free: 6.203 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5706, allocations: 7.953 kB / 473.5 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009166/0.5715, allocations: 344.5 kB / 473.8 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5715, allocations: 7.938 kB / 473.8 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/0.5717, allocations: 48.81 kB / 473.9 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.5722, allocations: 72.36 kB / 473.9 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.5739, allocations: 1.487 MB / 475.4 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.5744, allocations: 67.72 kB / 475.5 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.5745, allocations: 16 kB / 475.5 MB, free: 4.027 MB / 346.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 () * 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.0002331/0.5747, allocations: 143 kB / 475.7 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.5749, allocations: 35.62 kB / 475.7 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.575, allocations: 44.08 kB / 475.7 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.575, allocations: 4 kB / 475.7 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.5751, allocations: 0 / 475.7 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5751, allocations: 0 / 475.7 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.577, allocations: 0.8464 MB / 476.6 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.577, allocations: 0 / 476.6 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.5774, allocations: 47.91 kB / 476.6 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002155/0.5777, allocations: 36.83 kB / 476.7 MB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.5777, allocations: 8 kB / 476.7 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.5794, allocations: 1.425 MB / 478.1 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5794, allocations: 0 / 478.1 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.5807, allocations: 0.5314 MB / 478.6 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.581, allocations: 132.8 kB / 478.8 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.548e-05/0.5811, allocations: 15.98 kB / 478.8 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/0.5816, allocations: 39.97 kB / 478.8 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.5818, allocations: 35.94 kB / 478.8 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.5818, allocations: 8 kB / 478.9 MB, free: 448 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003623/0.5822, allocations: 222.2 kB / 479.1 MB, free: 228 kB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5822, allocations: 3.938 kB / 479.1 MB, free: 224 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.00104/0.5833, allocations: 199.2 kB / 479.3 MB, free: 24 kB / 346.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) * 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.0002586/0.5836, allocations: 119 kB / 479.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.5852, allocations: 0.7028 MB / 480.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5853, allocations: 0.8125 kB / 480.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005323/0.5858, allocations: 258.4 kB / 480.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.5864, allocations: 53.19 kB / 480.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.5883, allocations: 0.61 MB / 481 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.5889, allocations: 0.8437 MB / 481.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.5891, allocations: 35.44 kB / 481.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of SimCode: time 9.71e-07/0.5891, allocations: 0 / 481.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of Templates: time 0.01478/0.6039, allocations: 6.746 MB / 488.6 MB, free: 6.559 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches