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.001083/0.001083, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.546/1.546, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0009581/0.000958, allocations: 93.64 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002828, allocations: 4 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2982, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.4382, allocations: 84.72 MB / 460.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004133/0.4387, allocations: 83.95 kB / 460.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03655/0.4752, allocations: 9.773 MB / 470.4 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4753, allocations: 0 / 470.4 MB, free: 2.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.385e-05/0.4754, allocations: 12 kB / 470.4 MB, free: 2.043 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.002081/0.4775, allocations: 0.7505 MB / 471.2 MB, free: 1.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.977e-05/0.4776, allocations: 8.031 kB / 471.2 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.4778, allocations: 59.33 kB / 471.2 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.4789, allocations: 383 kB / 471.6 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-05/0.479, allocations: 33 kB / 471.6 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.4791, allocations: 44 kB / 471.7 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.4806, allocations: 478.9 kB / 472.1 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.4806, allocations: 3.906 kB / 472.1 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.371e-05/0.4807, allocations: 16 kB / 472.2 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.4808, allocations: 12 kB / 472.2 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.4823, allocations: 379.7 kB / 472.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004821/0.4871, allocations: 1.577 MB / 474.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.4888, allocations: 413.6 kB / 474.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.576e-05/0.4889, allocations: 4.234 kB / 474.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009168/0.4898, allocations: 289 kB / 474.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 4.929e-06/0.4898, allocations: 0 / 474.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.002365/0.4922, allocations: 0.6199 MB / 475.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.4924, allocations: 114.8 kB / 475.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005794/0.493, allocations: 287.6 kB / 475.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.874e-05/0.493, allocations: 41.69 kB / 475.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.4934, allocations: 232.2 kB / 476.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.4935, allocations: 94.64 kB / 476.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.4936, allocations: 8 kB / 476.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003261/0.4939, allocations: 350.8 kB / 476.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005144/0.4944, allocations: 144.8 kB / 476.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007677/0.4952, allocations: 294.8 kB / 477 MB, free: 11.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005442/0.4958, allocations: 151.9 kB / 477.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.4958, allocations: 0 / 477.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001523/0.4973, allocations: 498.3 kB / 477.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001293/0.4986, allocations: 1.667 MB / 479.3 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.4987, allocations: 7.938 kB / 479.3 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003778/0.499, allocations: 44.83 kB / 479.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.4995, allocations: 79.89 kB / 479.4 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.5018, allocations: 1.502 MB / 480.9 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006035/0.5024, allocations: 67.66 kB / 481 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.5025, allocations: 24.06 kB / 481 MB, free: 6.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.5025, allocations: 4 kB / 481 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001145/0.5037, allocations: 408.4 kB / 481.4 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.5037, allocations: 4 kB / 481.4 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.5039, allocations: 44.83 kB / 481.4 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.5042, allocations: 76.28 kB / 481.5 MB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.5061, allocations: 1.502 MB / 483 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005272/0.5066, allocations: 59.75 kB / 483.1 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.5067, allocations: 16 kB / 483.1 MB, free: 4.57 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.000536/0.5072, allocations: 283.6 kB / 483.4 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.882e-05/0.5073, allocations: 35.53 kB / 483.4 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.5075, allocations: 39.95 kB / 483.4 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.5075, allocations: 4 kB / 483.4 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5075, allocations: 0 / 483.4 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.5075, allocations: 0 / 483.4 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.5098, allocations: 0.9333 MB / 484.4 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.5098, allocations: 4 kB / 484.4 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.5101, allocations: 35.97 kB / 484.4 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002068/0.5103, allocations: 44.83 kB / 484.5 MB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.5104, allocations: 4 kB / 484.5 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.5121, allocations: 1.425 MB / 485.9 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5121, allocations: 0 / 485.9 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.5139, allocations: 0.6479 MB / 486.5 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.5142, allocations: 128.8 kB / 486.7 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.5143, allocations: 11.98 kB / 486.7 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.5147, allocations: 44.34 kB / 486.7 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.5149, allocations: 39.92 kB / 486.8 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.5149, allocations: 12 kB / 486.8 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003753/0.5153, allocations: 219.1 kB / 487 MB, free: 448 kB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5153, allocations: 4 kB / 487 MB, free: 444 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001358/0.5167, allocations: 203.2 kB / 487.2 MB, free: 240 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,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.0002967/0.517, allocations: 127.2 kB / 487.3 MB, free: 104 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.5192, allocations: 0.7925 MB / 488.1 MB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.5193, allocations: 3.938 kB / 488.1 MB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000684/0.52, allocations: 299.3 kB / 488.4 MB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006061/0.5206, allocations: 52.38 kB / 488.5 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.5231, allocations: 0.9912 MB / 489.4 MB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/0.5237, allocations: 0.8551 MB / 490.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003932/0.5241, allocations: 62.92 kB / 490.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.5242, allocations: 27.44 kB / 490.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.5242, allocations: 0 / 490.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of Templates: time 0.0147/0.5389, allocations: 4.826 MB / 495.2 MB, free: 8.141 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/jenkins/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