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.001546/0.001546, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009635/0.0009634, allocations: 88.48 kB / 292.1 MB, free: 6.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.462e-05, allocations: 4 kB / 350.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09772, allocations: 51.49 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3155/0.4133, allocations: 86.79 MB / 488.8 MB, free: 2.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.4135, allocations: 94.98 kB / 488.9 MB, free: 2.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02649/0.44, allocations: 10.65 MB / 499.6 MB, free: 9.719 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4401, allocations: 0 / 499.6 MB, free: 9.719 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.872e-05/0.4401, allocations: 12 kB / 499.6 MB, free: 9.707 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001278/0.4414, allocations: 0.7301 MB / 0.4886 GB, free: 8.938 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4414, allocations: 12.03 kB / 0.4886 GB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.4417, allocations: 67.33 kB / 0.4887 GB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005657/0.4423, allocations: 385.4 kB / 0.489 GB, free: 8.445 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.751e-05/0.4423, allocations: 40.61 kB / 0.4891 GB, free: 8.406 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.4424, allocations: 51.98 kB / 0.4891 GB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007899/0.4432, allocations: 479.8 kB / 0.4896 GB, free: 7.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.4432, allocations: 7.891 kB / 0.4896 GB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.759e-05/0.4433, allocations: 16 kB / 0.4896 GB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.4433, allocations: 15.98 kB / 0.4896 GB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005443/0.4439, allocations: 319.9 kB / 0.4899 GB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.4464, allocations: 1.674 MB / 0.4916 GB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008577/0.4473, allocations: 387 kB / 0.4919 GB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.4475, allocations: 116.8 kB / 0.492 GB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.4475, allocations: 6.5 kB / 0.492 GB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003923/0.4479, allocations: 259.9 kB / 0.4923 GB, free: 4.973 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.523e-06/0.4479, allocations: 0 / 0.4923 GB, free: 4.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006644/0.4486, allocations: 339.2 kB / 0.4926 GB, free: 4.633 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.4487, allocations: 136.5 kB / 0.4927 GB, free: 4.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.449, allocations: 307.5 kB / 0.493 GB, free: 4.164 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.4491, allocations: 33.7 kB / 0.4931 GB, free: 4.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.4493, allocations: 252 kB / 0.4933 GB, free: 3.871 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.4494, allocations: 98.64 kB / 0.4934 GB, free: 3.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.4494, allocations: 12 kB / 0.4934 GB, free: 3.762 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4495, allocations: 346.8 kB / 0.4938 GB, free: 3.414 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.4497, allocations: 114.6 kB / 0.4939 GB, free: 3.305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.45, allocations: 278.3 kB / 0.4941 GB, free: 2.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.4503, allocations: 131.9 kB / 0.4943 GB, free: 2.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.4503, allocations: 4 kB / 0.4943 GB, free: 2.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006665/0.451, allocations: 449.5 kB / 0.4947 GB, free: 2.383 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006109/0.4516, allocations: 1.662 MB / 0.4963 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.4516, allocations: 4 kB / 0.4963 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/0.4518, allocations: 44.84 kB / 0.4964 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.4521, allocations: 79.89 kB / 0.4964 GB, free: 476 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.4534, allocations: 1.503 MB / 0.4979 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/0.4537, allocations: 71.62 kB / 0.498 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.4538, allocations: 20 kB / 0.498 GB, free: 14.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/0.4538, allocations: 4 kB / 0.498 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005567/0.4544, allocations: 376.3 kB / 0.4983 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4544, allocations: 5.25 kB / 0.4984 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001242/0.4545, allocations: 45.36 kB / 0.4984 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.4548, allocations: 71.91 kB / 0.4985 GB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.456, allocations: 1.503 MB / 0.4999 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.4563, allocations: 59.72 kB / 0.5 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.4563, allocations: 17.12 kB / 0.5 GB, free: 12.54 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 () * 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.0001532/0.4565, allocations: 152.2 kB / 0.5001 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.4565, allocations: 35.53 kB / 0.5002 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.098e-05/0.4566, allocations: 40.19 kB / 0.5002 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4566, allocations: 4 kB / 0.5002 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4566, allocations: 0 / 0.5002 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4567, allocations: 15.88 kB / 0.5002 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.4579, allocations: 0.9052 MB / 0.5011 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4579, allocations: 128 / 0.5011 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.4582, allocations: 51.89 kB / 0.5012 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.4583, allocations: 40.84 kB / 0.5012 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.4583, allocations: 15.94 kB / 0.5012 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.4595, allocations: 1.403 MB / 0.5026 GB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4595, allocations: 3.938 kB / 0.5026 GB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007734/0.4603, allocations: 0.5731 MB / 0.5032 GB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.4605, allocations: 152.5 kB / 0.5033 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.4605, allocations: 7.953 kB / 0.5033 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.4608, allocations: 51.95 kB / 0.5034 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.071e-05/0.4609, allocations: 31.95 kB / 0.5034 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.4609, allocations: 12.17 kB / 0.5034 GB, free: 8.805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002274/0.4612, allocations: 226.2 kB / 0.5036 GB, free: 8.582 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4612, allocations: 0 / 0.5036 GB, free: 8.582 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007021/0.4619, allocations: 220.9 kB / 0.5038 GB, free: 8.367 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) * 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.0002184/0.4621, allocations: 137 kB / 0.504 GB, free: 8.227 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.4632, allocations: 0.7395 MB / 0.5047 GB, free: 7.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4632, allocations: 4.062 kB / 0.5047 GB, free: 7.461 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.4635, allocations: 263 kB / 0.5049 GB, free: 7.191 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.4639, allocations: 58.92 kB / 0.505 GB, free: 7.137 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4651, allocations: 0.6422 MB / 0.5056 GB, free: 6.473 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.4655, allocations: 0.8631 MB / 0.5065 GB, free: 5.578 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003099/0.4659, allocations: 99.91 kB / 0.5066 GB, free: 5.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.4659, allocations: 27.44 kB / 0.5066 GB, free: 5.457 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4659, allocations: 0 / 0.5066 GB, free: 5.457 MB / 378.7 MB Notification: Performance of Templates: time 0.01114/0.4771, allocations: 5.628 MB / 0.5121 GB, free: 15.95 MB / 394.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/jenkins/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