Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 198.8 kB / 18.07 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 226.5 MB / 245.4 MB, free: 6.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007595/0.0007594, allocations: 100.4 kB / 297.4 MB, free: 6.711 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002145/0.0002145, allocations: 8 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2117, allocations: 51.29 MB / 408.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09721/0.309, allocations: 82.57 MB / 491.2 MB, free: 9.055 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.3092, allocations: 87.94 kB / 491.3 MB, free: 8.969 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01746/0.3267, allocations: 6.612 MB / 497.9 MB, free: 2.324 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3267, allocations: 0 / 497.9 MB, free: 2.324 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.3267, allocations: 12 kB / 498 MB, free: 2.312 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001028/0.3278, allocations: 0.6661 MB / 498.6 MB, free: 1.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3278, allocations: 8.031 kB / 498.6 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.3281, allocations: 72.34 kB / 498.7 MB, free: 1.512 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.3285, allocations: 344.2 kB / 499 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.3285, allocations: 37.36 kB / 499.1 MB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/0.3286, allocations: 36.38 kB / 499.1 MB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006838/0.3293, allocations: 392.4 kB / 499.5 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.3293, allocations: 8.094 kB / 499.5 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.3294, allocations: 19.92 kB / 499.5 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.3294, allocations: 8 kB / 499.5 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.3299, allocations: 271.8 kB / 499.8 MB, free: 380 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.332, allocations: 1.511 MB / 0.4896 GB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.3324, allocations: 249.7 kB / 0.4898 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.3328, allocations: 173.2 kB / 0.49 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.3328, allocations: 4.234 kB / 0.49 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.3332, allocations: 227 kB / 0.4902 GB, free: 14.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.495e-06/0.3332, allocations: 0 / 0.4902 GB, free: 14.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.001492/0.3347, allocations: 0.6009 MB / 0.4908 GB, free: 13.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.3348, allocations: 110.8 kB / 0.4909 GB, free: 13.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.3351, allocations: 300.5 kB / 0.4912 GB, free: 13.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.3352, allocations: 41.72 kB / 0.4912 GB, free: 13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.3353, allocations: 212.4 kB / 0.4914 GB, free: 12.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.901e-05/0.3354, allocations: 102.5 kB / 0.4915 GB, free: 12.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/0.3354, allocations: 8 kB / 0.4915 GB, free: 12.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3356, allocations: 338.8 kB / 0.4918 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.3358, allocations: 95.95 kB / 0.4919 GB, free: 12.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.336, allocations: 219.3 kB / 0.4921 GB, free: 11.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.3365, allocations: 331.5 kB / 0.4924 GB, free: 11.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3365, allocations: 4 kB / 0.4924 GB, free: 11.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006894/0.3372, allocations: 409.5 kB / 0.4928 GB, free: 11.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3372, allocations: 8 kB / 0.4928 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3373, allocations: 4 kB / 0.4928 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003023/0.3376, allocations: 93.2 kB / 0.4929 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.3378, allocations: 55.86 kB / 0.493 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.3397, allocations: 1.807 MB / 0.4948 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.3399, allocations: 35.69 kB / 0.4948 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.3399, allocations: 20.06 kB / 0.4948 GB, free: 9.023 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($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.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002326/0.3402, allocations: 170.2 kB / 0.495 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.3402, allocations: 35.56 kB / 0.495 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.3403, allocations: 39.86 kB / 0.495 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3403, allocations: 4 kB / 0.495 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3404, allocations: 4 kB / 0.4951 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.3404, allocations: 0 / 0.4951 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006289/0.341, allocations: 0.573 MB / 0.4956 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.341, allocations: 4 kB / 0.4956 GB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.3412, allocations: 35.97 kB / 0.4956 GB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002205/0.3414, allocations: 76.75 kB / 0.4957 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.3414, allocations: 8 kB / 0.4957 GB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.3431, allocations: 1.796 MB / 0.4975 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3431, allocations: 4.031 kB / 0.4975 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009666/0.3441, allocations: 0.5156 MB / 0.498 GB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.3443, allocations: 128.7 kB / 0.4981 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.3443, allocations: 15.92 kB / 0.4981 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.3445, allocations: 12 kB / 0.4981 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.3446, allocations: 31.95 kB / 0.4982 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.3446, allocations: 8 kB / 0.4982 GB, free: 5.316 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000215/0.3448, allocations: 215.3 kB / 0.4984 GB, free: 5.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3448, allocations: 0 / 0.4984 GB, free: 5.109 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004779/0.3453, allocations: 119.7 kB / 0.4985 GB, free: 4.992 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001581/0.3455, allocations: 122.5 kB / 0.4986 GB, free: 4.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007328/0.3462, allocations: 427.9 kB / 0.499 GB, free: 4.438 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3462, allocations: 256 / 0.499 GB, free: 4.438 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004125/0.3467, allocations: 286.5 kB / 0.4993 GB, free: 4.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.3471, allocations: 68.23 kB / 0.4994 GB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.3484, allocations: 0.8937 MB / 0.5002 GB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.3488, allocations: 0.807 MB / 0.501 GB, free: 2.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.98e-05/0.3489, allocations: 27.44 kB / 0.501 GB, free: 2.293 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3489, allocations: 3.938 kB / 0.5011 GB, free: 2.289 MB / 378.7 MB Notification: Performance of Templates: time 0.1684/0.5173, allocations: 6.007 MB / 0.5069 GB, free: 94.64 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches