Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001242, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008272/0.0008272, allocations: 97.81 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.611e-05/1.614e-05, allocations: 4 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08452/0.08455, allocations: 50.42 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2867/0.3713, allocations: 84.39 MB / 471.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.3716, allocations: 83.94 kB / 472 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05417/0.4258, allocations: 21.4 MB / 493.4 MB, free: 4.773 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4258, allocations: 0 / 493.4 MB, free: 4.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.306e-05/0.4259, allocations: 39.92 kB / 493.4 MB, free: 4.734 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002914/0.4289, allocations: 1.378 MB / 494.8 MB, free: 3.305 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.4289, allocations: 8.031 kB / 494.8 MB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.4293, allocations: 150.2 kB / 494.9 MB, free: 3.148 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.4309, allocations: 0.9532 MB / 495.9 MB, free: 2.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.4309, allocations: 40 kB / 495.9 MB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.4311, allocations: 60 kB / 496 MB, free: 2.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00188/0.433, allocations: 1.211 MB / 497.2 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.435, allocations: 1.33 MB / 498.5 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.435, allocations: 3.906 kB / 498.5 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.101e-05/0.4351, allocations: 4 kB / 498.5 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.757e-05/0.4352, allocations: 42.03 kB / 498.6 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006569/0.4417, allocations: 4.79 MB / 0.4916 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.4431, allocations: 1.385 MB / 0.4929 GB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009505/0.4441, allocations: 0.6653 MB / 0.4936 GB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-05/0.4441, allocations: 12.55 kB / 0.4936 GB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008386/0.445, allocations: 0.5579 MB / 0.4941 GB, free: 7.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 3.246e-06/0.445, allocations: 0 / 0.4941 GB, free: 7.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.001918/0.4469, allocations: 1.137 MB / 0.4952 GB, free: 6.516 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.447, allocations: 85.89 kB / 0.4953 GB, free: 6.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.4482, allocations: 0.7539 MB / 0.4961 GB, free: 5.656 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.91e-05/0.4483, allocations: 33.69 kB / 0.4961 GB, free: 5.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005452/0.4489, allocations: 0.5152 MB / 0.4966 GB, free: 5.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.4491, allocations: 220.7 kB / 0.4968 GB, free: 4.871 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.4492, allocations: 4 kB / 0.4968 GB, free: 4.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4493, allocations: 337.9 kB / 0.4971 GB, free: 4.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.4498, allocations: 361.4 kB / 0.4975 GB, free: 4.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.4504, allocations: 497.1 kB / 0.4979 GB, free: 3.641 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000562/0.451, allocations: 394 kB / 0.4983 GB, free: 3.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.451, allocations: 7.953 kB / 0.4983 GB, free: 3.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001726/0.4527, allocations: 1.14 MB / 0.4994 GB, free: 2.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4528, allocations: 4 kB / 0.4994 GB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.4528, allocations: 4 kB / 0.4994 GB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008839/0.4537, allocations: 399.1 kB / 0.4998 GB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/0.4542, allocations: 111.9 kB / 0.4999 GB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004788/0.459, allocations: 4.008 MB / 0.5038 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/0.4597, allocations: 67.48 kB / 0.5039 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/0.4597, allocations: 32.05 kB / 0.5039 GB, free: 13.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001966/0.4599, allocations: 130.5 kB / 0.5041 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.4601, allocations: 90.88 kB / 0.5042 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.4604, allocations: 112.5 kB / 0.5043 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4604, allocations: 4 kB / 0.5043 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4605, allocations: 4 kB / 0.5043 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.4605, allocations: 3.984 kB / 0.5043 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.4641, allocations: 2.32 MB / 0.5065 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4641, allocations: 4 kB / 0.5065 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/0.4645, allocations: 91.88 kB / 0.5066 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008069/0.4653, allocations: 384.7 kB / 0.507 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/0.4654, allocations: 3.984 kB / 0.507 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004571/0.47, allocations: 3.969 MB / 0.5109 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.47, allocations: 4 kB / 0.5109 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.4723, allocations: 1.787 MB / 0.5126 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005155/0.4729, allocations: 279.9 kB / 0.5129 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.473, allocations: 0 / 0.5129 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.4735, allocations: 39.95 kB / 0.5129 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.4737, allocations: 76.66 kB / 0.513 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.4738, allocations: 20 kB / 0.513 GB, free: 3.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000809/0.4746, allocations: 0.5968 MB / 0.5136 GB, free: 3.246 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4746, allocations: 0 / 0.5136 GB, free: 3.246 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009939/0.4756, allocations: 322.8 kB / 0.5139 GB, free: 2.93 MB / 394.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001953/0.4758, allocations: 133.2 kB / 0.514 GB, free: 2.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.4775, allocations: 1.149 MB / 0.5152 GB, free: 1.625 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.4775, allocations: 3.984 kB / 0.5152 GB, free: 1.621 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009987/0.4785, allocations: 0.731 MB / 0.5159 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009179/0.4795, allocations: 207.3 kB / 0.5161 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.4829, allocations: 1.871 MB / 0.5179 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.484, allocations: 1.403 MB / 0.5193 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005152/0.4845, allocations: 162.9 kB / 0.5194 GB, free: 13.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.4847, allocations: 59.42 kB / 0.5195 GB, free: 13.13 MB / 410.7 MB Notification: Performance of SimCode: time 6.62e-07/0.4847, allocations: 0 / 0.5195 GB, free: 13.13 MB / 410.7 MB Notification: Performance of Templates: time 0.02356/0.5083, allocations: 14.44 MB / 0.5336 GB, free: 14.89 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches