Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.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_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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 197.4 kB / 18.1 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007243/0.0007243, allocations: 92.53 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002246/0.0002247, allocations: 8 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2419, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.3516, allocations: 86.84 MB / 496.2 MB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.3519, allocations: 87.95 kB / 496.3 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02832/0.3803, allocations: 10.69 MB / 0.4951 GB, free: 9.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3803, allocations: 4 kB / 0.4951 GB, free: 9.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.059e-05/0.3804, allocations: 11.94 kB / 0.4951 GB, free: 9.82 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001449/0.3818, allocations: 0.7664 MB / 0.4959 GB, free: 9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3819, allocations: 8.031 kB / 0.4959 GB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.3821, allocations: 80.17 kB / 0.496 GB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.3827, allocations: 396.7 kB / 0.4963 GB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.3827, allocations: 45.36 kB / 0.4964 GB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/0.3828, allocations: 40.38 kB / 0.4964 GB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008839/0.3837, allocations: 0.5198 MB / 0.4969 GB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.3837, allocations: 192 / 0.4969 GB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.3838, allocations: 19.94 kB / 0.497 GB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.3838, allocations: 12 kB / 0.497 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008257/0.3846, allocations: 411.7 kB / 0.4974 GB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.3872, allocations: 1.67 MB / 0.499 GB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009766/0.3882, allocations: 457.1 kB / 0.4994 GB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.3886, allocations: 156.8 kB / 0.4996 GB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.3886, allocations: 4 kB / 0.4996 GB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005157/0.3891, allocations: 288.2 kB / 0.4999 GB, free: 4.762 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.154e-06/0.3891, allocations: 0 / 0.4999 GB, free: 4.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001437/0.3906, allocations: 0.6646 MB / 0.5005 GB, free: 4.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.3907, allocations: 136.5 kB / 0.5006 GB, free: 3.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.391, allocations: 345.5 kB / 0.501 GB, free: 3.555 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.3911, allocations: 41.69 kB / 0.501 GB, free: 3.508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.3913, allocations: 251.9 kB / 0.5012 GB, free: 3.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.595e-05/0.3913, allocations: 90.7 kB / 0.5013 GB, free: 3.168 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.3914, allocations: 12 kB / 0.5013 GB, free: 3.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3915, allocations: 346.8 kB / 0.5017 GB, free: 2.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.3918, allocations: 160.7 kB / 0.5018 GB, free: 2.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.3923, allocations: 315 kB / 0.5021 GB, free: 2.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006875/0.393, allocations: 433.4 kB / 0.5025 GB, free: 1.797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.393, allocations: 0 / 0.5025 GB, free: 1.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009281/0.3939, allocations: 0.5136 MB / 0.503 GB, free: 1.273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.394, allocations: 212.5 kB / 0.5032 GB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3941, allocations: 4 kB / 0.5032 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/0.3943, allocations: 56.84 kB / 0.5033 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.3946, allocations: 87.83 kB / 0.5034 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1912/0.5858, allocations: 1.488 MB / 0.5048 GB, free: 92.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.5864, allocations: 71.66 kB / 0.5049 GB, free: 92.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.5864, allocations: 19.5 kB / 0.5049 GB, free: 92.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.5864, allocations: 4.531 kB / 0.5049 GB, free: 92.59 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009818/0.5874, allocations: 429.3 kB / 0.5053 GB, free: 92.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.5874, allocations: 4 kB / 0.5053 GB, free: 92.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/0.5876, allocations: 46.64 kB / 0.5054 GB, free: 92.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.5879, allocations: 78.97 kB / 0.5055 GB, free: 92.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009886/0.5889, allocations: 1.49 MB / 0.5069 GB, free: 91.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.5893, allocations: 66.38 kB / 0.507 GB, free: 91.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.5893, allocations: 17.28 kB / 0.507 GB, free: 91.25 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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.0003816/0.5897, allocations: 290.6 kB / 0.5073 GB, free: 91.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.5898, allocations: 35.89 kB / 0.5073 GB, free: 91.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.446e-05/0.5899, allocations: 42.34 kB / 0.5073 GB, free: 91.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.5899, allocations: 3.812 kB / 0.5073 GB, free: 91.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.5899, allocations: 0 / 0.5073 GB, free: 91.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.5899, allocations: 4.859 kB / 0.5074 GB, free: 91.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.5915, allocations: 0.9841 MB / 0.5083 GB, free: 90.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5915, allocations: 0 / 0.5083 GB, free: 90.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.5917, allocations: 49.02 kB / 0.5084 GB, free: 90.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.5919, allocations: 42.39 kB / 0.5084 GB, free: 90.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.5919, allocations: 9.125 kB / 0.5084 GB, free: 90.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009783/0.5929, allocations: 1.414 MB / 0.5098 GB, free: 89.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5929, allocations: 0 / 0.5098 GB, free: 89.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.5942, allocations: 0.6872 MB / 0.5105 GB, free: 89.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.5943, allocations: 147.5 kB / 0.5106 GB, free: 89.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.5944, allocations: 8.828 kB / 0.5106 GB, free: 89.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.5948, allocations: 50.38 kB / 0.5107 GB, free: 89.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.5949, allocations: 34.19 kB / 0.5107 GB, free: 89.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.5949, allocations: 12 kB / 0.5107 GB, free: 89.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003527/0.5953, allocations: 232 kB / 0.5109 GB, free: 89.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5953, allocations: 0 / 0.5109 GB, free: 89.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009138/0.5962, allocations: 213.8 kB / 0.5111 GB, free: 89.14 MB / 378.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * 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.5964, allocations: 137.4 kB / 0.5113 GB, free: 89.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.5982, allocations: 0.8357 MB / 0.5121 GB, free: 88.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5982, allocations: 4.281 kB / 0.5121 GB, free: 88.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005784/0.5988, allocations: 316.3 kB / 0.5124 GB, free: 88.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.5993, allocations: 62.78 kB / 0.5124 GB, free: 88.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.601, allocations: 1.069 MB / 0.5135 GB, free: 88.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.6013, allocations: 0.8536 MB / 0.5143 GB, free: 87.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000286/0.6016, allocations: 76.5 kB / 0.5144 GB, free: 87.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.6017, allocations: 38.67 kB / 0.5144 GB, free: 87.44 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6017, allocations: 3.938 kB / 0.5144 GB, free: 87.44 MB / 378.7 MB Notification: Performance of Templates: time 0.01025/0.612, allocations: 5.224 MB / 0.5195 GB, free: 87.22 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R_Characteristic/Thyristor1Pulse_R_Characteristic.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches