Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000945/0.0009451, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.3 MB / 241.4 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007693/0.0007693, allocations: 93.72 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003359, allocations: 8 kB / 352.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2079, allocations: 50.41 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.3339, allocations: 86.12 MB / 488.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003633/0.3343, allocations: 87.94 kB / 489 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03874/0.3731, allocations: 10.53 MB / 499.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.3732, allocations: 0 / 499.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.766e-05/0.3733, allocations: 12 kB / 499.5 MB, free: 15.55 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.002216/0.3755, allocations: 0.77 MB / 0.4886 GB, free: 14.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.3755, allocations: 8.031 kB / 0.4886 GB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.3758, allocations: 60.28 kB / 0.4886 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008853/0.3767, allocations: 396.8 kB / 0.489 GB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.401e-05/0.3768, allocations: 29.38 kB / 0.489 GB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.3769, allocations: 52.36 kB / 0.4891 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.3783, allocations: 0.5159 MB / 0.4896 GB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.3784, allocations: 192 / 0.4896 GB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.3785, allocations: 23.88 kB / 0.4896 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.3785, allocations: 8 kB / 0.4896 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.3798, allocations: 403.8 kB / 0.49 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/0.3841, allocations: 1.681 MB / 0.4916 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.3856, allocations: 453.9 kB / 0.4921 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000456/0.386, allocations: 152.8 kB / 0.4922 GB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.3861, allocations: 8 kB / 0.4922 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007797/0.3869, allocations: 296.1 kB / 0.4925 GB, free: 10.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 4.168e-06/0.3869, allocations: 0 / 0.4925 GB, free: 10.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002157/0.3891, allocations: 0.6564 MB / 0.4932 GB, free: 9.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.3892, allocations: 136.5 kB / 0.4933 GB, free: 9.664 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005899/0.3898, allocations: 320.5 kB / 0.4936 GB, free: 9.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.767e-05/0.3899, allocations: 45.69 kB / 0.4936 GB, free: 9.289 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.3902, allocations: 248 kB / 0.4939 GB, free: 9.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.3903, allocations: 98.61 kB / 0.494 GB, free: 8.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.3903, allocations: 12 kB / 0.494 GB, free: 8.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.3906, allocations: 346.8 kB / 0.4943 GB, free: 8.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.3911, allocations: 156.8 kB / 0.4945 GB, free: 8.434 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006509/0.3917, allocations: 311 kB / 0.4947 GB, free: 8.059 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.3928, allocations: 441.4 kB / 0.4952 GB, free: 7.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3928, allocations: 3.938 kB / 0.4952 GB, free: 7.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001418/0.3943, allocations: 0.5058 MB / 0.4957 GB, free: 7.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002086/0.3945, allocations: 204.4 kB / 0.4959 GB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.3945, allocations: 8 kB / 0.4959 GB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003081/0.3948, allocations: 44.83 kB / 0.4959 GB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.3953, allocations: 79.89 kB / 0.496 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.3972, allocations: 1.51 MB / 0.4975 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.3978, allocations: 71.72 kB / 0.4975 GB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.3979, allocations: 23.98 kB / 0.4976 GB, free: 4.914 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3979, allocations: 6.969 kB / 0.4976 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001184/0.3991, allocations: 425 kB / 0.498 GB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.3991, allocations: 4 kB / 0.498 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001758/0.3993, allocations: 48.77 kB / 0.498 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.3997, allocations: 71.91 kB / 0.4981 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.4014, allocations: 1.494 MB / 0.4995 GB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.4019, allocations: 67.72 kB / 0.4996 GB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.402, allocations: 20.12 kB / 0.4996 GB, free: 2.656 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.0005125/0.4025, allocations: 279.9 kB / 0.4999 GB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.4026, allocations: 35.62 kB / 0.4999 GB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.4028, allocations: 51.97 kB / 0.5 GB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.4028, allocations: 4 kB / 0.5 GB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4028, allocations: 0 / 0.5 GB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.4028, allocations: 3.984 kB / 0.5 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.4051, allocations: 0.9723 MB / 0.5009 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4052, allocations: 0 / 0.5009 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.4055, allocations: 55.89 kB / 0.501 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001908/0.4057, allocations: 36.84 kB / 0.501 GB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.4057, allocations: 11.98 kB / 0.501 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2653/0.6711, allocations: 1.404 MB / 0.5024 GB, free: 96.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6711, allocations: 0.6562 kB / 0.5024 GB, free: 96.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/0.6732, allocations: 0.6861 MB / 0.5031 GB, free: 96.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.6735, allocations: 143.3 kB / 0.5032 GB, free: 96.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-05/0.6736, allocations: 9.578 kB / 0.5032 GB, free: 96.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.674, allocations: 45.86 kB / 0.5033 GB, free: 96.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.6742, allocations: 42.23 kB / 0.5033 GB, free: 96.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.6743, allocations: 10.73 kB / 0.5033 GB, free: 96.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004335/0.6747, allocations: 226.5 kB / 0.5035 GB, free: 96.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6747, allocations: 0.7188 kB / 0.5035 GB, free: 96.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001416/0.6761, allocations: 213.3 kB / 0.5037 GB, free: 96.51 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.0002192/0.6764, allocations: 129.2 kB / 0.5039 GB, free: 96.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.6785, allocations: 0.8344 MB / 0.5047 GB, free: 96.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.6785, allocations: 0 / 0.5047 GB, free: 96.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006221/0.6791, allocations: 309.2 kB / 0.505 GB, free: 96.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/0.6798, allocations: 63.7 kB / 0.505 GB, free: 96.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.6824, allocations: 1.056 MB / 0.5061 GB, free: 95.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.6829, allocations: 0.8525 MB / 0.5069 GB, free: 94.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004425/0.6833, allocations: 75.52 kB / 0.507 GB, free: 94.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.6835, allocations: 28.56 kB / 0.507 GB, free: 94.88 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6835, allocations: 3.969 kB / 0.507 GB, free: 94.88 MB / 378.7 MB Notification: Performance of Templates: time 0.01323/0.6967, allocations: 5.151 MB / 0.512 GB, free: 94.74 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches