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.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_cpp_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_cpp_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.002174/0.002174, allocations: 179.2 kB / 8.363 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.978/1.978, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001129/0.001128, allocations: 95.62 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.206e-05, allocations: 4 kB / 314.8 MB, free: 9.121 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3294, allocations: 47.56 MB / 362.4 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.4652, allocations: 83.77 MB / 446.1 MB, free: 2.512 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.4656, allocations: 81.33 kB / 446.2 MB, free: 2.434 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04159/0.5072, allocations: 9.563 MB / 455.8 MB, free: 8.922 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5073, allocations: 0 / 455.8 MB, free: 8.922 MB / 347.1 MB Notification: Performance of Transformations before backend: time 4.268e-05/0.5073, allocations: 12 kB / 455.8 MB, free: 8.91 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001825/0.5092, allocations: 0.6687 MB / 456.4 MB, free: 8.195 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.5092, allocations: 8.031 kB / 456.5 MB, free: 8.188 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.5094, allocations: 55.42 kB / 456.5 MB, free: 8.133 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008956/0.5104, allocations: 362.9 kB / 456.9 MB, free: 7.742 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.5104, allocations: 28.92 kB / 456.9 MB, free: 7.715 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.895e-05/0.5105, allocations: 27.91 kB / 456.9 MB, free: 7.688 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008861/0.5114, allocations: 273.4 kB / 457.2 MB, free: 7.418 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009909/0.5124, allocations: 374.2 kB / 457.5 MB, free: 7.039 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.5125, allocations: 0 / 457.5 MB, free: 7.039 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-05/0.5126, allocations: 7.984 kB / 457.6 MB, free: 7.031 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.5126, allocations: 12 kB / 457.6 MB, free: 7.02 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003989/0.5166, allocations: 1.469 MB / 459 MB, free: 5.469 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000648/0.5173, allocations: 216.9 kB / 459.2 MB, free: 5.25 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.5176, allocations: 92.83 kB / 459.3 MB, free: 5.156 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.5176, allocations: 6.625 kB / 459.3 MB, free: 5.152 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005079/0.5181, allocations: 207.1 kB / 459.5 MB, free: 4.934 MB / 347.1 MB Notification: Performance of pre-optimization done (n=29): time 2.935e-06/0.5181, allocations: 0 / 459.5 MB, free: 4.934 MB / 347.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009035/0.5191, allocations: 274.9 kB / 459.8 MB, free: 4.656 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/0.5192, allocations: 118.8 kB / 459.9 MB, free: 4.516 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.5197, allocations: 273 kB / 460.2 MB, free: 4.242 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 8.889e-05/0.5199, allocations: 37.69 kB / 460.2 MB, free: 4.199 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.5201, allocations: 282.5 kB / 460.5 MB, free: 3.918 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.5203, allocations: 78.91 kB / 460.6 MB, free: 3.84 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.5203, allocations: 4 kB / 460.6 MB, free: 3.836 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5205, allocations: 330.8 kB / 460.9 MB, free: 3.504 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.5208, allocations: 100.8 kB / 461 MB, free: 3.406 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.5212, allocations: 231.8 kB / 461.2 MB, free: 3.105 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.5215, allocations: 114 kB / 461.4 MB, free: 2.996 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.5215, allocations: 0 / 461.4 MB, free: 2.996 MB / 347.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008994/0.5224, allocations: 348.5 kB / 461.7 MB, free: 2.648 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000772/0.5232, allocations: 1.663 MB / 463.4 MB, free: 0.8555 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.5233, allocations: 4 kB / 463.4 MB, free: 0.8516 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003226/0.5236, allocations: 44.83 kB / 463.4 MB, free: 0.8047 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.5241, allocations: 63.91 kB / 463.5 MB, free: 0.7422 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.526, allocations: 1.452 MB / 464.9 MB, free: 15.18 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/0.5267, allocations: 67.7 kB / 465 MB, free: 15.11 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.5268, allocations: 16.12 kB / 465 MB, free: 15.09 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.5268, allocations: 6.5 kB / 465 MB, free: 15.09 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008322/0.5276, allocations: 300.3 kB / 465.3 MB, free: 14.79 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5277, allocations: 4 kB / 465.3 MB, free: 14.79 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.5279, allocations: 47.39 kB / 465.3 MB, free: 14.74 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.5283, allocations: 71.84 kB / 465.4 MB, free: 14.67 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.53, allocations: 1.435 MB / 466.9 MB, free: 13.12 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.5305, allocations: 43.72 kB / 466.9 MB, free: 13.07 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.5306, allocations: 20 kB / 466.9 MB, free: 13.05 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 (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.0002197/0.5308, allocations: 127.1 kB / 467 MB, free: 12.92 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.531, allocations: 39.64 kB / 467.1 MB, free: 12.88 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.5311, allocations: 36.31 kB / 467.1 MB, free: 12.85 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.5311, allocations: 4.109 kB / 467.1 MB, free: 12.84 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.5311, allocations: 4 kB / 467.1 MB, free: 12.84 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.5311, allocations: 4 kB / 467.1 MB, free: 12.84 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.5329, allocations: 0.7376 MB / 467.9 MB, free: 12.05 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5329, allocations: 96 / 467.9 MB, free: 12.05 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.5332, allocations: 19.98 kB / 467.9 MB, free: 12.03 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002166/0.5334, allocations: 36.83 kB / 467.9 MB, free: 11.99 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.5335, allocations: 11.98 kB / 467.9 MB, free: 11.98 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/0.5353, allocations: 1.351 MB / 469.3 MB, free: 10.52 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.5354, allocations: 0 / 469.3 MB, free: 10.52 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.5366, allocations: 492.3 kB / 469.8 MB, free: 10.02 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.537, allocations: 136.7 kB / 469.9 MB, free: 9.863 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.581e-05/0.5371, allocations: 8 kB / 469.9 MB, free: 9.855 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.5376, allocations: 27.97 kB / 469.9 MB, free: 9.828 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.5378, allocations: 33.5 kB / 470 MB, free: 9.797 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.5378, allocations: 8 kB / 470 MB, free: 9.789 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0003995/0.5383, allocations: 216.6 kB / 470.2 MB, free: 9.578 MB / 363.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5383, allocations: 0 / 470.2 MB, free: 9.578 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.001301/0.5396, allocations: 179.3 kB / 470.4 MB, free: 9.402 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 (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.0002918/0.5399, allocations: 114.9 kB / 470.5 MB, free: 9.281 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.5416, allocations: 0.6385 MB / 471.1 MB, free: 8.625 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.5417, allocations: 0 / 471.1 MB, free: 8.625 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005425/0.5423, allocations: 221.7 kB / 471.3 MB, free: 8.398 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.5429, allocations: 46.03 kB / 471.4 MB, free: 8.359 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.545, allocations: 0.5602 MB / 471.9 MB, free: 7.77 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.5456, allocations: 0.8386 MB / 472.8 MB, free: 6.906 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.5458, allocations: 27.44 kB / 472.8 MB, free: 6.879 MB / 363.1 MB Notification: Performance of SimCode: time 9.71e-07/0.5458, allocations: 0 / 472.8 MB, free: 6.879 MB / 363.1 MB Notification: Performance of Templates: time 0.01544/0.5613, allocations: 6.469 MB / 479.3 MB, free: 444 kB / 363.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_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/Thyristor1Pulse_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches