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.001521/0.001521, 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.535/1.535, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.001125/0.001126, allocations: 88.11 kB / 271.5 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003197, allocations: 4 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3429, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.4543, allocations: 84.51 MB / 460.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.4547, allocations: 87.95 kB / 460.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02624/0.481, allocations: 9.662 MB / 470.1 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.481, allocations: 0 / 470.1 MB, free: 2.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.766e-05/0.4811, allocations: 8 kB / 470.1 MB, free: 2.359 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001341/0.4824, allocations: 0.7193 MB / 470.8 MB, free: 1.594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.144e-05/0.4825, allocations: 8.031 kB / 470.8 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.4826, allocations: 59.33 kB / 470.9 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/0.4832, allocations: 375.1 kB / 471.2 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.098e-05/0.4833, allocations: 32.98 kB / 471.3 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.634e-05/0.4834, allocations: 44 kB / 471.3 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/0.4842, allocations: 458.9 kB / 471.8 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.4842, allocations: 0 / 471.8 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.4843, allocations: 16 kB / 471.8 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.4843, allocations: 8 kB / 471.8 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006333/0.4849, allocations: 343.8 kB / 472.1 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/0.4874, allocations: 1.562 MB / 473.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.4879, allocations: 245.4 kB / 473.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.4879, allocations: 0 / 473.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003778/0.4883, allocations: 225 kB / 474.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.373e-06/0.4883, allocations: 0 / 474.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001077/0.4894, allocations: 0.5034 MB / 474.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.4895, allocations: 110.8 kB / 474.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.4899, allocations: 331.4 kB / 475.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.49, allocations: 41.62 kB / 475.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.4902, allocations: 236.2 kB / 475.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.782e-05/0.4903, allocations: 90.8 kB / 475.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.4903, allocations: 11.94 kB / 475.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4904, allocations: 342.8 kB / 475.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.4907, allocations: 128.8 kB / 475.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.491, allocations: 267.1 kB / 476.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.4913, allocations: 145.1 kB / 476.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4913, allocations: 0 / 476.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007175/0.492, allocations: 448.2 kB / 476.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00068/0.4927, allocations: 1.665 MB / 478.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.4928, allocations: 4 kB / 478.4 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/0.493, allocations: 44.83 kB / 478.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.4932, allocations: 71.84 kB / 478.5 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.4946, allocations: 1.506 MB / 480 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.4949, allocations: 79.55 kB / 480.1 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.495, allocations: 16 kB / 480.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.094e-06/0.495, allocations: 4.016 kB / 480.1 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005765/0.4956, allocations: 365 kB / 480.5 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4956, allocations: 8 kB / 480.5 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001215/0.4957, allocations: 44.83 kB / 480.6 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.4959, allocations: 63.84 kB / 480.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.4971, allocations: 1.503 MB / 482.1 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.4974, allocations: 51.77 kB / 482.2 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.4974, allocations: 20.05 kB / 482.2 MB, free: 5.477 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 (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.000312/0.4977, allocations: 279.1 kB / 482.5 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.4978, allocations: 35.53 kB / 482.5 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.773e-05/0.4979, allocations: 44.05 kB / 482.5 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.4979, allocations: 4 kB / 482.5 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.4979, allocations: 0 / 482.5 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4979, allocations: 0 / 482.5 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.4991, allocations: 0.8386 MB / 483.4 MB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4992, allocations: 0 / 483.4 MB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.4993, allocations: 28.05 kB / 483.4 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.4994, allocations: 40.83 kB / 483.4 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.4995, allocations: 15.89 kB / 483.5 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.5006, allocations: 1.429 MB / 484.9 MB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5006, allocations: 4.062 kB / 484.9 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007527/0.5013, allocations: 0.5166 MB / 485.4 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.5015, allocations: 136.6 kB / 485.5 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.5016, allocations: 12 kB / 485.6 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.5018, allocations: 31.97 kB / 485.6 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-05/0.5019, allocations: 35.95 kB / 485.6 MB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.5019, allocations: 8.359 kB / 485.6 MB, free: 1.789 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003049/0.5022, allocations: 251 kB / 485.9 MB, free: 1.547 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5022, allocations: 3.938 kB / 485.9 MB, free: 1.543 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007796/0.503, allocations: 199.4 kB / 486.1 MB, free: 1.348 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 (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.0001958/0.5032, allocations: 119.2 kB / 486.2 MB, free: 1.223 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.5044, allocations: 0.7256 MB / 486.9 MB, free: 484 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5044, allocations: 4 kB / 486.9 MB, free: 480 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.5048, allocations: 250.5 kB / 487.2 MB, free: 216 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.5051, allocations: 51.8 kB / 487.2 MB, free: 168 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.5068, allocations: 0.9346 MB / 488.2 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.5072, allocations: 0.851 MB / 489 MB, free: 14.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002209/0.5074, allocations: 67.5 kB / 489.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.666e-05/0.5075, allocations: 27.44 kB / 489.1 MB, free: 14.22 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5075, allocations: 3.938 kB / 489.1 MB, free: 14.22 MB / 378.7 MB Notification: Performance of Templates: time 0.009062/0.5166, allocations: 4.646 MB / 493.7 MB, free: 9.605 MB / 378.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