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.002218/0.002217, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 92.03 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.904e-05, allocations: 0 / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3342, allocations: 47.57 MB / 362.4 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.4693, allocations: 83.96 MB / 446.3 MB, free: 2.32 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.4696, allocations: 84.94 kB / 446.4 MB, free: 2.238 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04176/0.5114, allocations: 9.669 MB / 456.1 MB, free: 8.617 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5114, allocations: 0 / 456.1 MB, free: 8.617 MB / 347.1 MB Notification: Performance of Transformations before backend: time 4.178e-05/0.5115, allocations: 8 kB / 456.1 MB, free: 8.609 MB / 347.1 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.001937/0.5134, allocations: 0.7077 MB / 456.8 MB, free: 7.855 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.5135, allocations: 8.031 kB / 456.8 MB, free: 7.848 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.5137, allocations: 55.34 kB / 456.9 MB, free: 7.793 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008613/0.5146, allocations: 378.8 kB / 457.2 MB, free: 7.387 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.5146, allocations: 12 kB / 457.2 MB, free: 7.375 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.52e-05/0.5147, allocations: 24 kB / 457.3 MB, free: 7.352 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008487/0.5156, allocations: 281.4 kB / 457.5 MB, free: 7.074 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.5166, allocations: 386.2 kB / 457.9 MB, free: 6.684 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.5167, allocations: 0 / 457.9 MB, free: 6.684 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/0.5167, allocations: 3.984 kB / 457.9 MB, free: 6.68 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.5168, allocations: 12 kB / 457.9 MB, free: 6.668 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003989/0.5208, allocations: 1.496 MB / 459.4 MB, free: 5.086 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.5221, allocations: 331.3 kB / 459.7 MB, free: 4.754 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.5223, allocations: 105.3 kB / 459.8 MB, free: 4.648 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.5224, allocations: 4.234 kB / 459.9 MB, free: 4.645 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005495/0.523, allocations: 225.1 kB / 460.1 MB, free: 4.406 MB / 347.1 MB Notification: Performance of pre-optimization done (n=32): time 3.116e-06/0.523, allocations: 0 / 460.1 MB, free: 4.406 MB / 347.1 MB Notification: Performance of matching and sorting (n=32): time 0.0009783/0.524, allocations: 300.6 kB / 460.4 MB, free: 4.105 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.178e-05/0.5241, allocations: 114.8 kB / 460.5 MB, free: 3.969 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/0.5246, allocations: 257 kB / 460.7 MB, free: 3.711 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/0.5247, allocations: 37.69 kB / 460.8 MB, free: 3.668 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.5249, allocations: 282.5 kB / 461 MB, free: 3.387 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.5251, allocations: 90.75 kB / 461.1 MB, free: 3.297 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.5251, allocations: 0 / 461.1 MB, free: 3.297 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5253, allocations: 326.8 kB / 461.4 MB, free: 2.969 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.5255, allocations: 100.8 kB / 461.5 MB, free: 2.871 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.526, allocations: 243.5 kB / 461.8 MB, free: 2.562 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.5263, allocations: 114.2 kB / 461.9 MB, free: 2.453 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.5263, allocations: 0 / 461.9 MB, free: 2.453 MB / 347.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009232/0.5272, allocations: 358.4 kB / 462.2 MB, free: 2.094 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007792/0.528, allocations: 1.656 MB / 463.9 MB, free: 312 kB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.5281, allocations: 7.938 kB / 463.9 MB, free: 304 kB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/0.5284, allocations: 52.86 kB / 464 MB, free: 248 kB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.529, allocations: 79.89 kB / 464 MB, free: 168 kB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.5308, allocations: 1.439 MB / 465.5 MB, free: 14.61 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006531/0.5315, allocations: 63.66 kB / 465.5 MB, free: 14.55 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.5316, allocations: 17.02 kB / 465.6 MB, free: 14.53 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5316, allocations: 4 kB / 465.6 MB, free: 14.53 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008675/0.5325, allocations: 300.4 kB / 465.9 MB, free: 14.23 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.5325, allocations: 4 kB / 465.9 MB, free: 14.23 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/0.5327, allocations: 45.36 kB / 465.9 MB, free: 14.18 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/0.5332, allocations: 79.8 kB / 466 MB, free: 14.1 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.5349, allocations: 1.439 MB / 467.4 MB, free: 12.55 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.5354, allocations: 51.72 kB / 467.5 MB, free: 12.5 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.5355, allocations: 16 kB / 467.5 MB, free: 12.48 MB / 363.1 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.000232/0.5357, allocations: 137.3 kB / 467.6 MB, free: 12.34 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.5358, allocations: 35.58 kB / 467.7 MB, free: 12.3 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.536, allocations: 36.31 kB / 467.7 MB, free: 12.27 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.536, allocations: 4 kB / 467.7 MB, free: 12.27 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.536, allocations: 0 / 467.7 MB, free: 12.27 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.536, allocations: 0 / 467.7 MB, free: 12.27 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.5378, allocations: 0.7808 MB / 468.5 MB, free: 11.44 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5378, allocations: 0 / 468.5 MB, free: 11.44 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.5382, allocations: 43.91 kB / 468.5 MB, free: 11.39 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002077/0.5385, allocations: 32.84 kB / 468.6 MB, free: 11.36 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.5385, allocations: 8 kB / 468.6 MB, free: 11.35 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.5401, allocations: 1.35 MB / 469.9 MB, free: 9.887 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5401, allocations: 0 / 469.9 MB, free: 9.887 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.5414, allocations: 0.5038 MB / 470.4 MB, free: 9.363 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.5416, allocations: 140.6 kB / 470.6 MB, free: 9.207 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-05/0.5417, allocations: 4 kB / 470.6 MB, free: 9.203 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005149/0.5423, allocations: 39.95 kB / 470.6 MB, free: 9.164 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.5424, allocations: 35.95 kB / 470.6 MB, free: 9.129 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.5425, allocations: 12 kB / 470.6 MB, free: 9.117 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0003236/0.5428, allocations: 192.6 kB / 470.8 MB, free: 8.93 MB / 363.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5428, allocations: 0 / 470.8 MB, free: 8.93 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.001169/0.544, allocations: 179.4 kB / 471 MB, free: 8.754 MB / 363.1 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.0002792/0.5443, allocations: 127.7 kB / 471.1 MB, free: 8.625 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.5458, allocations: 0.6553 MB / 471.8 MB, free: 7.953 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5459, allocations: 0 / 471.8 MB, free: 7.953 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004926/0.5464, allocations: 245.6 kB / 472 MB, free: 7.703 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.5469, allocations: 40.67 kB / 472.1 MB, free: 7.668 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.5489, allocations: 0.5882 MB / 472.7 MB, free: 7.051 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/0.5495, allocations: 0.8509 MB / 473.5 MB, free: 6.176 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.5497, allocations: 35.38 kB / 473.5 MB, free: 6.141 MB / 363.1 MB Notification: Performance of SimCode: time 1.303e-06/0.5497, allocations: 0 / 473.5 MB, free: 6.141 MB / 363.1 MB Notification: Performance of Templates: time 0.01537/0.5651, allocations: 6.639 MB / 480.2 MB, free: 15.54 MB / 379.1 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