Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009838/0.0009838, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001026/0.001027, allocations: 100.5 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.912e-05, allocations: 4 kB / 343.7 MB, free: 8.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1393, allocations: 51.49 MB / 395.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3453/0.4847, allocations: 85.94 MB / 481.1 MB, free: 7.281 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.485, allocations: 79.64 kB / 481.2 MB, free: 7.238 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02412/0.5091, allocations: 10.42 MB / 491.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5092, allocations: 4 kB / 491.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.453e-05/0.5092, allocations: 8 kB / 491.6 MB, free: 14.6 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001115/0.5103, allocations: 0.7088 MB / 492.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.5104, allocations: 12.03 kB / 492.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.5106, allocations: 67.33 kB / 492.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.5111, allocations: 389 kB / 492.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.5112, allocations: 23.61 kB / 492.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/0.5112, allocations: 24 kB / 492.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005135/0.5118, allocations: 300.9 kB / 493.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.5124, allocations: 415.2 kB / 493.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5124, allocations: 3.938 kB / 493.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.5124, allocations: 7.984 kB / 493.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.5125, allocations: 8 kB / 493.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.5147, allocations: 1.555 MB / 495.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.5152, allocations: 277.4 kB / 495.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.5154, allocations: 95 kB / 495.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.5154, allocations: 2.312 kB / 495.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003376/0.5158, allocations: 229.7 kB / 495.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/0.5158, allocations: 0 / 495.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.000581/0.5164, allocations: 300.3 kB / 496 MB, free: 10.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.5165, allocations: 140.5 kB / 496.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.5168, allocations: 293.7 kB / 496.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.5168, allocations: 37.58 kB / 496.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.517, allocations: 249.4 kB / 496.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.5171, allocations: 84.81 kB / 496.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.5171, allocations: 0 / 496.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5172, allocations: 345.5 kB / 497.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.5174, allocations: 110.2 kB / 497.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.5177, allocations: 266 kB / 497.5 MB, free: 9.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.5179, allocations: 127.1 kB / 497.6 MB, free: 9.414 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5179, allocations: 0 / 497.6 MB, free: 9.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005737/0.5185, allocations: 393.3 kB / 498 MB, free: 9.109 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006437/0.5191, allocations: 1.655 MB / 499.7 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5191, allocations: 4 kB / 499.7 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.5193, allocations: 47.64 kB / 499.7 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.5196, allocations: 71.66 kB / 499.8 MB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.5208, allocations: 1.448 MB / 0.4895 GB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.5212, allocations: 67.73 kB / 0.4896 GB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.5212, allocations: 14.62 kB / 0.4896 GB, free: 5.691 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.621e-06/0.5212, allocations: 4 kB / 0.4896 GB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005161/0.5217, allocations: 320.9 kB / 0.4899 GB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5217, allocations: 4.188 kB / 0.4899 GB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/0.5219, allocations: 42.33 kB / 0.4899 GB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.5221, allocations: 62.91 kB / 0.49 GB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.5231, allocations: 1.452 MB / 0.4914 GB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.5234, allocations: 55.72 kB / 0.4915 GB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.5234, allocations: 19.44 kB / 0.4915 GB, free: 3.809 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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (48): * Single equations (assignments): 47 * 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.0001385/0.5236, allocations: 128.6 kB / 0.4916 GB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.5237, allocations: 35.62 kB / 0.4916 GB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.25e-05/0.5237, allocations: 33.94 kB / 0.4917 GB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.5238, allocations: 4 kB / 0.4917 GB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.5238, allocations: 4 kB / 0.4917 GB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.5238, allocations: 3.984 kB / 0.4917 GB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.5248, allocations: 0.7988 MB / 0.4925 GB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.5248, allocations: 0 / 0.4925 GB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.525, allocations: 27.92 kB / 0.4925 GB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.5251, allocations: 42.64 kB / 0.4925 GB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.5251, allocations: 4 kB / 0.4925 GB, free: 2.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009627/0.5261, allocations: 1.363 MB / 0.4939 GB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5261, allocations: 0 / 0.4939 GB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.5268, allocations: 0.5092 MB / 0.4944 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.5269, allocations: 141.7 kB / 0.4945 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.527, allocations: 7.984 kB / 0.4945 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.5272, allocations: 43.53 kB / 0.4945 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.5273, allocations: 27.27 kB / 0.4946 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.5274, allocations: 19.36 kB / 0.4946 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002282/0.5276, allocations: 215.1 kB / 0.4948 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5276, allocations: 0 / 0.4948 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007477/0.5284, allocations: 194.3 kB / 0.495 GB, free: 0.5 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (27): * Single equations (assignments): 21 * 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.0001804/0.5286, allocations: 117 kB / 0.4951 GB, free: 388 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009209/0.5295, allocations: 0.6686 MB / 0.4957 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5295, allocations: 8.062 kB / 0.4957 GB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.5298, allocations: 242.1 kB / 0.496 GB, free: 15.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.5301, allocations: 43.47 kB / 0.496 GB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.5312, allocations: 0.5886 MB / 0.4966 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.5316, allocations: 0.8623 MB / 0.4974 GB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002937/0.5319, allocations: 95.47 kB / 0.4975 GB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.532, allocations: 23.44 kB / 0.4976 GB, free: 14.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.532, allocations: 0 / 0.4976 GB, free: 14.07 MB / 378.7 MB Notification: Performance of Templates: time 0.009369/0.5414, allocations: 4.915 MB / 0.5024 GB, free: 9.27 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R/Thyristor1Pulse_R.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches