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.001813/0.001813, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.86/2.86, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.001248/0.001248, allocations: 89.41 kB / 271.9 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004742, allocations: 8 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.5012, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1759/0.6772, allocations: 84.6 MB / 460.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/0.6776, allocations: 83.95 kB / 460.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03701/0.7147, allocations: 9.662 MB / 470.1 MB, free: 2.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.7147, allocations: 7.938 kB / 470.1 MB, free: 2.254 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.598e-05/0.7148, allocations: 12 kB / 470.1 MB, free: 2.242 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.002334/0.7172, allocations: 0.7155 MB / 470.8 MB, free: 1.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/0.7172, allocations: 12.03 kB / 470.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.7175, allocations: 52.28 kB / 470.9 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000888/0.7184, allocations: 384.2 kB / 471.3 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.929e-05/0.7185, allocations: 37.36 kB / 471.3 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.7187, allocations: 44.38 kB / 471.3 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.7199, allocations: 459.5 kB / 471.8 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.72, allocations: 4.094 kB / 471.8 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/0.7201, allocations: 19.94 kB / 471.8 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.7201, allocations: 15.98 kB / 471.8 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009842/0.7211, allocations: 335.8 kB / 472.2 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/0.7253, allocations: 1.558 MB / 473.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/0.7262, allocations: 243.7 kB / 474 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.7265, allocations: 103.2 kB / 474.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.55e-05/0.7266, allocations: 3.859 kB / 474.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006003/0.7272, allocations: 224.9 kB / 474.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.434e-06/0.7272, allocations: 4 kB / 474.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001707/0.7289, allocations: 0.4995 MB / 474.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.7291, allocations: 122.7 kB / 474.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008114/0.7299, allocations: 348.4 kB / 475.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.73, allocations: 41.69 kB / 475.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.7304, allocations: 240.1 kB / 475.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.7305, allocations: 82.89 kB / 475.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.7306, allocations: 12 kB / 475.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.7308, allocations: 346.8 kB / 475.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/0.7312, allocations: 120.8 kB / 476.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.7318, allocations: 274.5 kB / 476.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007796/0.7326, allocations: 357.4 kB / 476.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.7326, allocations: 4 kB / 476.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001261/0.7339, allocations: 453.8 kB / 477.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003328/0.7342, allocations: 214.6 kB / 477.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.7342, allocations: 4 kB / 477.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003685/0.7346, allocations: 52.83 kB / 477.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.735, allocations: 67.84 kB / 477.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.7372, allocations: 1.498 MB / 479 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/0.7378, allocations: 75.72 kB / 479 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.7379, allocations: 16 kB / 479.1 MB, free: 8.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.7379, allocations: 4 kB / 479.1 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001092/0.739, allocations: 372.4 kB / 479.4 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.7391, allocations: 4 kB / 479.4 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/0.7393, allocations: 41.38 kB / 479.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.7396, allocations: 67.84 kB / 479.5 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.7419, allocations: 1.495 MB / 481 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000647/0.7426, allocations: 59.66 kB / 481.1 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.7426, allocations: 16 kB / 481.1 MB, free: 6.469 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.0006924/0.7433, allocations: 283.2 kB / 481.4 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.7435, allocations: 31.62 kB / 481.4 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.7436, allocations: 44.14 kB / 481.4 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.7436, allocations: 4 kB / 481.5 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7436, allocations: 0 / 481.5 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.7437, allocations: 0 / 481.5 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.7458, allocations: 0.8386 MB / 482.3 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.7458, allocations: 0 / 482.3 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.746, allocations: 23.92 kB / 482.3 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000254/0.7463, allocations: 52.77 kB / 482.4 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.7463, allocations: 4 kB / 482.4 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.7481, allocations: 1.413 MB / 483.8 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.7481, allocations: 0 / 483.8 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.7495, allocations: 0.5283 MB / 484.3 MB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/0.7498, allocations: 124.7 kB / 484.4 MB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.7499, allocations: 8 kB / 484.4 MB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004683/0.7504, allocations: 43.95 kB / 484.5 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.7506, allocations: 35.89 kB / 484.5 MB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/0.7507, allocations: 8 kB / 484.5 MB, free: 2.793 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005955/0.7513, allocations: 247 kB / 484.8 MB, free: 2.555 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7513, allocations: 0 / 484.8 MB, free: 2.555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001592/0.7529, allocations: 203.4 kB / 485 MB, free: 2.355 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.0003688/0.7533, allocations: 119.2 kB / 485.1 MB, free: 2.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002188/0.7555, allocations: 0.7174 MB / 485.8 MB, free: 1.488 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.7555, allocations: 0 / 485.8 MB, free: 1.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005842/0.7561, allocations: 258.8 kB / 486.1 MB, free: 1.223 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008513/0.757, allocations: 66.48 kB / 486.1 MB, free: 1.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.7602, allocations: 0.9588 MB / 487.1 MB, free: 168 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008237/0.761, allocations: 0.835 MB / 487.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.7612, allocations: 27.44 kB / 487.9 MB, free: 15.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.155e-06/0.7613, allocations: 3.938 kB / 487.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of Templates: time 0.02141/0.7827, allocations: 6.802 MB / 494.7 MB, free: 8.492 MB / 378.7 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