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.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,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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009024/0.0009028, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001066, allocations: 82.72 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.137e-05/2.139e-05, allocations: 4 kB / 315.5 MB, free: 22.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 47.58 MB / 363.1 MB, free: 7.043 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3516/0.4639, allocations: 83.98 MB / 447.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.4642, allocations: 90.8 kB / 447.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02494/0.4891, allocations: 9.554 MB / 456.7 MB, free: 3.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4892, allocations: 0 / 456.7 MB, free: 3.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.868e-05/0.4892, allocations: 8 kB / 456.7 MB, free: 3.648 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001103/0.4903, allocations: 0.6739 MB / 457.4 MB, free: 2.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.4904, allocations: 12.03 kB / 457.4 MB, free: 2.945 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.4905, allocations: 55.38 kB / 457.5 MB, free: 2.891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.491, allocations: 373.9 kB / 457.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.491, allocations: 23.92 kB / 457.9 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.4911, allocations: 31.91 kB / 457.9 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004733/0.4916, allocations: 269.9 kB / 458.1 MB, free: 2.324 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.4922, allocations: 368 kB / 458.5 MB, free: 2.051 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.4922, allocations: 4 kB / 458.5 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.4922, allocations: 7.484 kB / 458.5 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.4923, allocations: 8 kB / 458.5 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.4945, allocations: 1.47 MB / 460 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.4949, allocations: 219.1 kB / 460.2 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.4951, allocations: 88.69 kB / 460.3 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.4951, allocations: 0 / 460.3 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003142/0.4954, allocations: 216.9 kB / 460.5 MB, free: 380 kB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.423e-06/0.4954, allocations: 7.938 kB / 460.5 MB, free: 372 kB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005955/0.496, allocations: 268.5 kB / 460.8 MB, free: 148 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.4961, allocations: 106.8 kB / 460.9 MB, free: 16 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.4965, allocations: 285 kB / 461.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.4965, allocations: 29.7 kB / 461.2 MB, free: 15.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.4967, allocations: 246.1 kB / 461.4 MB, free: 15.56 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/0.4968, allocations: 84.59 kB / 461.5 MB, free: 15.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/0.4968, allocations: 0 / 461.5 MB, free: 15.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4969, allocations: 348.7 kB / 461.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.4971, allocations: 90.67 kB / 461.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.4973, allocations: 239.1 kB / 462.2 MB, free: 14.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.4975, allocations: 108.3 kB / 462.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4975, allocations: 0 / 462.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005197/0.498, allocations: 370.3 kB / 462.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006286/0.4987, allocations: 1.662 MB / 464.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4987, allocations: 7.984 kB / 464.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/0.4989, allocations: 42.09 kB / 464.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.4991, allocations: 70.97 kB / 464.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.5004, allocations: 1.448 MB / 465.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.5007, allocations: 59.66 kB / 465.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.5008, allocations: 19.94 kB / 465.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.5008, allocations: 4 kB / 466 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004321/0.5012, allocations: 289.1 kB / 466.2 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5012, allocations: 4 kB / 466.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001119/0.5013, allocations: 51.33 kB / 466.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.5015, allocations: 66.91 kB / 466.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.5026, allocations: 1.45 MB / 467.8 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.5029, allocations: 43.73 kB / 467.8 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.5029, allocations: 23.86 kB / 467.9 MB, free: 9.199 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 (46): * Single equations (assignments): 45 * 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.0001367/0.5031, allocations: 126.2 kB / 468 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.5031, allocations: 35.58 kB / 468 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.678e-05/0.5032, allocations: 34.31 kB / 468.1 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5032, allocations: 7.938 kB / 468.1 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.5032, allocations: 0 / 468.1 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.5032, allocations: 3.984 kB / 468.1 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009786/0.5042, allocations: 0.7356 MB / 468.8 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5042, allocations: 0 / 468.8 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.5044, allocations: 26.17 kB / 468.8 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001147/0.5045, allocations: 35.16 kB / 468.9 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.5045, allocations: 7.984 kB / 468.9 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009336/0.5055, allocations: 1.362 MB / 470.2 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5055, allocations: 0 / 470.2 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005937/0.5061, allocations: 490.6 kB / 470.7 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.5062, allocations: 138.2 kB / 470.9 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.5063, allocations: 0 / 470.9 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.5065, allocations: 35.95 kB / 470.9 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.5066, allocations: 35.16 kB / 470.9 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.5067, allocations: 8 kB / 470.9 MB, free: 6.324 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001969/0.5069, allocations: 212.9 kB / 471.1 MB, free: 6.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5069, allocations: 0 / 471.1 MB, free: 6.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007765/0.5077, allocations: 178 kB / 471.3 MB, free: 5.988 MB / 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 (25): * Single equations (assignments): 19 * 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.000177/0.5078, allocations: 117.9 kB / 471.4 MB, free: 5.867 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008923/0.5087, allocations: 0.6368 MB / 472.1 MB, free: 5.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.5088, allocations: 4 kB / 472.1 MB, free: 5.336 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.509, allocations: 220.6 kB / 472.3 MB, free: 5.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.5094, allocations: 37.8 kB / 472.3 MB, free: 5.125 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.5108, allocations: 0.5488 MB / 472.9 MB, free: 4.613 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.5113, allocations: 0.8418 MB / 473.7 MB, free: 3.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003312/0.5116, allocations: 79.48 kB / 473.8 MB, free: 3.672 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.5117, allocations: 34.86 kB / 473.8 MB, free: 3.641 MB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5117, allocations: 0 / 473.8 MB, free: 3.641 MB / 346.7 MB Notification: Performance of Templates: time 0.008695/0.5204, allocations: 4.566 MB / 478.4 MB, free: 15.09 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_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/Thyristor1Pulse_R.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches